[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2475) Problem with version mismatches

Joseph Mango (JIRA) jira-events at lists.jboss.org
Mon Jan 19 10:30:04 EST 2009


    [ https://jira.jboss.org/jira/browse/JBWS-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12448558#action_12448558 ] 

Joseph Mango commented on JBWS-2475:
------------------------------------

Thanks for your reply.  I had created a web project in Net Beans 6.5 and attemted to create a web service from a WSDL.  Here is the WSDL:

<?xml version="1.0" encoding="UTF-8"?>
<definitions name="CycleServices" targetNamespace="http://ast.forscom.army.mil/wsdl/CycleServices"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://ast.forscom.army.mil/wsdl/CycleServices" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types/>
    <message name="CycleServicesOperationRequest">
        <part name="UserName" type="xsd:string"/>
    </message>
    <message name="CycleServicesOperationResponse">
        <part name="Cycle" type="xsd:string"/>
        <part name="Uic" type="xsd:string"/>
        <part name="UicName" type="xsd:string"/>
        <part name="CycleDate" type="xsd:date"/>
    </message>
    <portType name="CycleServicesPortType">
        <operation name="CycleServicesOperation">
            <input name="UserSecurity" message="tns:CycleServicesOperationRequest"/>
            <output name="CycleList" message="tns:CycleServicesOperationResponse"/>
        </operation>
    </portType>
    <binding name="CycleServicesBinding" type="tns:CycleServicesPortType">
        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="CycleServicesOperation">
            <soap:operation/>
            <input name="UserSecurity">
                <soap:body use="literal" namespace="http://ast.forscom.army.mil/wsdl/CycleServices"/>
            </input>
            <output name="CycleList">
                <soap:body use="literal" namespace="http://ast.forscom.army.mil/wsdl/CycleServices"/>
            </output>
        </operation>
    </binding>
    <service name="CycleServicesService">
        <port name="CycleServicesPort" binding="tns:CycleServicesBinding">
            <soap:address location="http://localhost:${HttpDefaultPort}/CycleServicesService/CycleServicesPort"/>
        </port>
    </service>
    <plnk:partnerLinkType name="CycleServices">
        <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes. 
In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type.
A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.-->
        <plnk:role name="CycleServicesPortTypeRole" portType="tns:CycleServicesPortType"/>
    </plnk:partnerLinkType>
</definitions>


> Problem with version mismatches
> -------------------------------
>
>                 Key: JBWS-2475
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2475
>             Project: JBoss Web Services
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: tools-jaxws
>         Environment: Window XP Professional 64Bit
>            Reporter: Joseph Mango
>            Priority: Optional
>
> I'm having a problem similar, I happen to be quite new to JAX-WS and am not sure of the correct configs. I created a WSDL and was attempting to create services from that WSDL. 
> JRE 1.5.0_17-b04 
> JBOSS 4.2.3.GA 
> C:\Documents and Settings\jmango\My Documents\NetBeansProjects\AstCycle\nbproject\jaxws-build.xml:24: You are loading JAX-WS 2.0 API from jar:file:/E:/jboss-4.2.3.GA/client/jboss-jaxws.jar!/javax/xml/ws/Service.class but this tool requires JAX-WS 2.1 API. 
> BUILD FAILED (total time: 0 seconds) 
> Thanks In Advance, 
> Joe 
> [ Show » ] Joseph Mango - 19/Jan/09 12:51 AM I'm having a problem similar, I happen to be quite new to JAX-WS and am not sure of the correct configs. I created a WSDL and was attempting to create services from that WSDL. JRE 1.5.0_17-b04 JBOSS 4.2.3.GA C:\Documents and Settings\jmango\My Documents\NetBeansProjects\AstCycle\nbproject\jaxws-build.xml:24: You are loading JAX-WS 2.0 API from jar:file:/E:/jboss-4.2.3.GA/client/jboss-jaxws.jar!/javax/xml/ws/Service.class but this tool requires JAX-WS 2.1 API. BUILD FAILED (total time: 0 seconds) Thanks In Advance, Joe 
> [Always show]Add Comment 
> Comment:    
> Viewable By:   All Users  jira-users   
>   
>    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the jbossws-issues mailing list