[ 
https://issues.apache.org/jira/browse/AXIS2-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482380
 ] 

Rich Adili commented on AXIS2-2346:
-----------------------------------

Hate to fuss but here's a quote from
http://www.w3.org/TR/wsdl#_soap:body

The optional parts attribute of type nmtokens indicates which parts
appear somewhere within the SOAP Body portion of the message (other
parts of a message may appear in other portions of the message such as
when SOAP is used in conjunction with the multipart/related MIME
binding). If the parts attribute is omitted, then all parts defined by
the message are assumed to be included in the SOAP Body portion.



> Second part of two-part message is ignored by WSDL2Java
> -------------------------------------------------------
>
>                 Key: AXIS2-2346
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2346
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: Windows XP, axis 2, v1.1.1
>            Reporter: Rich Adili
>         Attachments: Floogle.wsdl, FloogleStub.java
>
>
> Cmd Line: WSDL2Java  -p  pkgname  -uri  address  -s -wv 1.1 -pn FloogleSoap
> WSDL appears below. The LastPollDateTime parameter is not code-generated.
> <?xml version="1.0" encoding="utf-8"?>
> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
>                   xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
>                   xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
>                   xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
>                   xmlns:tns="http://www.xatanet.net/XataNetWebService/Floogle";
>                   
> xmlns:s1="http://www.xatanet.net/XataNetWebService/VehicleLocation.xsd";
>                   xmlns:s="http://www.w3.org/2001/XMLSchema";
>                   xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
>                   xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
>                   
> targetNamespace="http://www.xatanet.net/XataNetWebService/Floogle";
>                   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
>       <wsdl:types>
>               <s:schema elementFormDefault="qualified"
>                         
> targetNamespace="http://www.xatanet.net/XataNetWebService/Floogle";>
>                       <s:element name="truckname" type="s:string"/>
>                       <s:element name="LastPollDateTime" type="s:string"/>
>               </s:schema>
>       </wsdl:types>
>       <wsdl:message name="GetEmailMessagesSinceTimeSoapIn">
>               <wsdl:part name="truckname" element="tns:truckname"/>
>               <wsdl:part name="LastPollDateTime" 
> element="tns:LastPollDateTime"/>
>       </wsdl:message>
>       <wsdl:message name="GetEmailMessagesSinceTimeSoapOut">
>               <wsdl:part name="GetEmailMessagesSinceTimeResult"
>                          element="tns:GetEmailMessagesSinceTimeResult"/>
>               <wsdl:part name="LastPollDateTime" 
> element="tns:LastPollDateTime"/>
>       </wsdl:message>
>       <wsdl:portType name="FloogleSoap">
>               <wsdl:operation name="GetEmailMessagesSinceTime">
>                       <wsdl:input 
> message="tns:GetEmailMessagesSinceTimeSoapIn"/>
>                       <wsdl:output 
> message="tns:GetEmailMessagesSinceTimeSoapOut"/>
>               </wsdl:operation>
>       </wsdl:portType>
>       <wsdl:binding name="FloogleSoap" type="tns:FloogleSoap">
>               <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
>               <wsdl:operation name="GetEmailMessagesSinceTime">
>                       <soap:operation
>                                       
> soapAction="http://www.xatanet.net/XataNetWebService/Floogle/GetEmailMessagesSinceTime";
>                                       style="document"/>
>                       <wsdl:input>
>                               <soap:body use="literal"/>
>                       </wsdl:input>
>                       <wsdl:output>
>                               <soap:body use="literal"/>
>                       </wsdl:output>
>               </wsdl:operation>
>       </wsdl:binding>
>       <wsdl:service name="Floogle">
>               <wsdl:port name="FloogleSoap" binding="tns:FloogleSoap">
>                       <soap:address 
> location="http://www.xatanet.net/xatanetwebservice/Floogle.asmx"/>
>               </wsdl:port>
>               <wsdl:port name="FloogleSoap12" binding="tns:FloogleSoap12">
>                       <soap12:address 
> location="http://www.xatanet.net/xatanetwebservice/Floogle.asmx"/>
>               </wsdl:port>
>       </wsdl:service>
> </wsdl:definitions>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to