You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/05/24 17:41:16 UTC
[jira] Resolved: (AXIS2-2346) Second part of two-part message is
ignored by WSDL2Java
[ https://issues.apache.org/jira/browse/AXIS2-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas resolved AXIS2-2346.
-------------------------------------
Resolution: Won't Fix
Here's the error thrown by latest svn:
C:\axis2-SNAPSHOT\axis2-2346>..\bin\WSDL2Java -p pkgname -uri a.wsdl -s -wv 1.1 -pn FloogleSoap
Using AXIS2_HOME: C:\axis2-SNAPSHOT
Using JAVA_HOME: C:\JDK15
May 24, 2007 11:38:41 AM org.apache.axis2.description.WSDL11ToAxisServiceBuilder populateService
SEVERE: org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException: More than one part for message GetEmailMessagesSinceTimeSoapIn
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:137)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: org.apache.axis2.AxisFault: More than one part for message GetEmailMessagesSinceTimeSoapIn
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:377)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:287)
at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:100)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:131)
... 2 more
Caused by: org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException: More than one part for message GetEmailMessagesSinceTimeSoapIn
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WSDL11ToAxisServiceBuilder.java:863)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WSDL11ToAxisServiceBuilder.java:787)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(WSDL11ToAxisServiceBuilder.java:473)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(WSDL11ToAxisServiceBuilder.java:369)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:333)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:279)
... 4 more
thanks,
dims
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org