[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1665) incorrect wsdl generation

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Jun 21 12:10:52 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBWS-1665?page=comments#action_12366339 ] 
            
Thomas Diesler commented on JBWS-1665:
--------------------------------------

<definitions name='TrackingServiceBeanService' targetNamespace='http://fleetworks.acunia.com/fleet/service' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://jaxb.dev.java.net/array' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://fleetworks.acunia.com/fleet/service' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
 <types>
  <xs:schema targetNamespace='http://fleetworks.acunia.com/fleet/service' version='1.0' xmlns:tns='http://fleetworks.acunia.com/fleet/service' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
   <xs:element name='NullPointerException' type='tns:NullPointerException'/>
   <xs:complexType name='TracePollData'>
    <xs:sequence>
     <xs:element maxOccurs='unbounded' name='traces' nillable='true' type='tns:TraceData'/>
     <xs:element name='mark' nillable='true' type='xs:string'/>
     <xs:element name='more' type='xs:boolean'/>

    </xs:sequence>
   </xs:complexType>
   <xs:complexType name='TraceData'>
    <xs:sequence>
     <xs:element name='type' type='xs:short'/>
     <xs:element name='source' type='xs:string'/>
     <xs:element name='time' type='xs:dateTime'/>
     <xs:element minOccurs='0' name='coordinate' type='tns:coordinateData'/>
     <xs:element minOccurs='0' name='mileage' type='xs:int'/>

     <xs:element minOccurs='0' name='heading' type='xs:short'/>
     <xs:element minOccurs='0' name='speed' type='xs:short'/>
     <xs:element maxOccurs='unbounded' minOccurs='0' name='property' nillable='true' type='tns:propertyData'/>
    </xs:sequence>
   </xs:complexType>
   <xs:complexType name='coordinateData'>
    <xs:sequence>
     <xs:element minOccurs='0' name='latitude' type='xs:decimal'/>
     <xs:element minOccurs='0' name='longitude' type='xs:decimal'/>

    </xs:sequence>
   </xs:complexType>
   <xs:complexType name='propertyData'>
    <xs:sequence>
     <xs:element minOccurs='0' name='key' type='xs:string'/>
     <xs:element minOccurs='0' name='value' type='xs:string'/>
    </xs:sequence>
   </xs:complexType>
   <xs:complexType name='NullPointerException'>

    <xs:sequence>
     <xs:element minOccurs='0' name='message' type='xs:string'/>
    </xs:sequence>
   </xs:complexType>
  </xs:schema>
  <xs:schema targetNamespace='http://jaxb.dev.java.net/array' version='1.0' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
   <xs:complexType final='#all' name='stringArray'>
    <xs:sequence>
     <xs:element maxOccurs='unbounded' minOccurs='0' name='item' nillable='true' type='xs:string'/>

    </xs:sequence>
   </xs:complexType>
  </xs:schema>
 </types>
 <message name='TrackingService_pollTracesResponse'>
  <part name='parameters' type='tns:TracePollData'></part>
 </message>
 <message name='TrackingService_requestTraceResponse'></message>
 <message name='NullPointerException'>

  <part element='tns:NullPointerException' name='NullPointerException'></part>
 </message>
 <message name='TrackingService_requestTrace'>
  <part name='parameters' type='ns1:stringArray'></part>
 </message>
 <message name='TrackingService_pollTraces'>
  <part name='parameters' type='xsd:string'></part>
 </message>
 <portType name='TrackingService'>

  <operation name='pollTraces' parameterOrder='parameters'>
   <input message='tns:TrackingService_pollTraces'></input>
   <output message='tns:TrackingService_pollTracesResponse'></output>
   <fault message='tns:NullPointerException' name='NullPointerException'></fault>
  </operation>
  <operation name='requestTrace' parameterOrder='parameters'>
   <input message='tns:TrackingService_requestTrace'></input>
   <output message='tns:TrackingService_requestTraceResponse'></output>
   <fault message='tns:NullPointerException' name='NullPointerException'></fault>

  </operation>
 </portType>
 <binding name='TrackingServiceBinding' type='tns:TrackingService'>
  <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
  <operation name='pollTraces'>
   <soap:operation soapAction=''/>
   <input>
    <soap:body namespace='http://fleetworks.acunia.com/fleet/service' use='literal'/>
   </input>

   <output>
    <soap:body namespace='http://fleetworks.acunia.com/fleet/service' use='literal'/>
   </output>
   <fault name='NullPointerException'>
    <soap:fault name='NullPointerException' use='literal'/>
   </fault>
  </operation>
  <operation name='requestTrace'>
   <soap:operation soapAction=''/>

   <input>
    <soap:body namespace='http://fleetworks.acunia.com/fleet/service' use='literal'/>
   </input>
   <output>
    <soap:body namespace='http://fleetworks.acunia.com/fleet/service' use='literal'/>
   </output>
   <fault name='NullPointerException'>
    <soap:fault name='NullPointerException' use='literal'/>
   </fault>

  </operation>
 </binding>
 <service name='TrackingServiceBeanService'>
  <port binding='tns:TrackingServiceBinding' name='TrackingServicePort'>
   <soap:address location='http://127.0.0.1:8080/jaxws-jbws1665/TrackingServiceBean'/>
  </port>
 </service>
</definitions>

> incorrect wsdl generation
> -------------------------
>
>                 Key: JBWS-1665
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1665
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: tools-jaxrpc
>    Affects Versions: jbossws-1.2.1
>            Reporter: David Boeren
>         Assigned To: Thomas Diesler
>             Fix For: jbossws-2.0.0
>
>
> An EJB3 based webservice is deployed, but the wsdl produced has several blank fields including soapaction, soapfaults, and a wholly-unpopulated <message> element.

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

        



More information about the jbossws-issues mailing list