clynrey / android-soap-enabler

Automatically exported from code.google.com/p/android-soap-enabler
Other
0 stars 0 forks source link

Does not generate proxy classes for my wsdl #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use the WSDL below
2. execute creation of proxy classes
Seems that the soap enabler is not for complexer wsdls.

What is the expected output? What do you see instead?
Get proxy classes

What version of the product are you using? On what operating system?
actual version 3/12/13

Please provide any additional information below.

Here is the WSDL (some details are obscurred):

This XML file does not appear to have any style information associated with it. 
The document tree is shown below.
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" 
xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" 
xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" 
xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" 
xmlns:i0="http://tempuri.org/" 
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-ut
ility-1.0.xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:tns="http://www.wd.org/cotopaxi/teamrepository" 
xmlns:wsa10="http://www.w3.org/2005/08/addressing" 
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" 
name="WcfUserRepositoryService" 
targetNamespace="http://www.wd.org/cotopaxi/teamrepository">
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" 
elementFormDefault="qualified" 
targetNamespace="http://www.wd.org/cotopaxi/teamrepository">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
<xs:import 
namespace="http://schemas.datacontract.org/2004/07/Whiteduck.Cotopaxi.TeamReposi
tory.RemoteFacade.Contracts.Security"/>
<xs:import 
namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<xs:element name="GetAll">
<xs:complexType>
<xs:sequence/>
</xs:complexType>
</xs:element>
<xs:element name="GetAllResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q1="http://www.wd.org/cotopaxi/teamrepository" minOccurs="0" 
name="GetAllResult" nillable="true" type="q1:ArrayOfIdentityDto"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="ArrayOfIdentityDto">
<xs:sequence>
<xs:element xmlns:q2="http://www.wd.org/cotopaxi/teamrepository" minOccurs="0" 
maxOccurs="unbounded" name="IdentityDto" nillable="true" type="q2:IdentityDto"/>
</xs:sequence>
</xs:complexType>
<xs:element xmlns:q3="http://www.wd.org/cotopaxi/teamrepository" 
name="ArrayOfIdentityDto" nillable="true" type="q3:ArrayOfIdentityDto"/>
<xs:complexType name="IdentityDto">
<xs:sequence>
<xs:element minOccurs="0" name="AccountName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="Clsid" type="ser:guid"/>
<xs:element minOccurs="0" name="Description" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="DisplayName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="Id" type="ser:guid"/>
<xs:element 
xmlns:q4="http://schemas.datacontract.org/2004/07/Whiteduck.Cotopaxi.TeamReposit
ory.RemoteFacade.Contracts.Security" minOccurs="0" name="IdentityType" 
type="q4:IdentityType"/>
<xs:element minOccurs="0" name="IsGroup" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
<xs:element xmlns:q5="http://www.wd.org/cotopaxi/teamrepository" 
name="IdentityDto" nillable="true" type="q5:IdentityDto"/>
<xs:element name="Get">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="aId" type="ser:guid"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q6="http://www.wd.org/cotopaxi/teamrepository" minOccurs="0" 
name="GetResult" nillable="true" type="q6:IdentityDto"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Delete">
<xs:complexType>
<xs:sequence>
<xs:element 
xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays" 
minOccurs="0" name="aIds" nillable="true" type="q7:ArrayOfguid"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DeleteResponse">
<xs:complexType>
<xs:sequence/>
</xs:complexType>
</xs:element>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" 
attributeFormDefault="qualified" elementFormDefault="qualified" 
targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/">
<xs:element name="anyType" nillable="true" type="xs:anyType"/>
<xs:element name="anyURI" nillable="true" type="xs:anyURI"/>
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/>
<xs:element name="boolean" nillable="true" type="xs:boolean"/>
<xs:element name="byte" nillable="true" type="xs:byte"/>
<xs:element name="dateTime" nillable="true" type="xs:dateTime"/>
<xs:element name="decimal" nillable="true" type="xs:decimal"/>
<xs:element name="double" nillable="true" type="xs:double"/>
<xs:element name="float" nillable="true" type="xs:float"/>
<xs:element name="int" nillable="true" type="xs:int"/>
<xs:element name="long" nillable="true" type="xs:long"/>
<xs:element name="QName" nillable="true" type="xs:QName"/>
<xs:element name="short" nillable="true" type="xs:short"/>
<xs:element name="string" nillable="true" type="xs:string"/>
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/>
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/>
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/>
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/>
<xs:element name="char" nillable="true" type="tns:char"/>
<xs:simpleType name="char">
<xs:restriction base="xs:int"/>
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration"/>
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/>
<xs:minInclusive value="-P10675199DT2H48M5.4775808S"/>
<xs:maxInclusive value="P10675199DT2H48M5.4775807S"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid"/>
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern 
value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/>
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName"/>
<xs:attribute name="Id" type="xs:ID"/>
<xs:attribute name="Ref" type="xs:IDREF"/>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:tns="http://schemas.datacontract.org/2004/07/Whiteduck.Cotopaxi.TeamReposi
tory.RemoteFacade.Contracts.Security" elementFormDefault="qualified" 
targetNamespace="http://schemas.datacontract.org/2004/07/Whiteduck.Cotopaxi.Team
Repository.RemoteFacade.Contracts.Security">
<xs:simpleType name="IdentityType">
<xs:restriction base="xs:string">
<xs:enumeration value="WindowsIdentity"/>
<xs:enumeration value="TeamRepositoryIdentity"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="IdentityType" nillable="true" type="tns:IdentityType"/>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:tns="http://schemas.datacontract.org/2004/07/Whiteduck.Deflib.ApplicationM
odel.RemoteFacade" elementFormDefault="qualified" 
targetNamespace="http://schemas.datacontract.org/2004/07/Whiteduck.Deflib.Applic
ationModel.RemoteFacade">
<xs:complexType name="RemoteApplicationException">
<xs:sequence>
<xs:element minOccurs="0" name="Message" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="StackTrace" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="Type" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="RemoteApplicationException" nillable="true" 
type="tns:RemoteApplicationException"/>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" 
xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" 
elementFormDefault="qualified" 
targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
<xs:complexType name="ArrayOfguid">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="guid" type="ser:guid"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfguid" nillable="true" type="tns:ArrayOfguid"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="IUserRepositoryService_GetAll_InputMessage">
<wsdl:part name="parameters" element="tns:GetAll"/>
</wsdl:message>
<wsdl:message name="IUserRepositoryService_GetAll_OutputMessage">
<wsdl:part name="parameters" element="tns:GetAllResponse"/>
</wsdl:message>
<wsdl:message name="IUserRepositoryService_Get_InputMessage">
<wsdl:part name="parameters" element="tns:Get"/>
</wsdl:message>
<wsdl:message name="IUserRepositoryService_Get_OutputMessage">
<wsdl:part name="parameters" element="tns:GetResponse"/>
</wsdl:message>
<wsdl:message 
name="IUserRepositoryService_Get_RemoteApplicationExceptionFault_FaultMessage">
<wsdl:part 
xmlns:q1="http://schemas.datacontract.org/2004/07/Whiteduck.Deflib.ApplicationMo
del.RemoteFacade" name="detail" element="q1:RemoteApplicationException"/>
</wsdl:message>
<wsdl:message name="IUserRepositoryService_Delete_InputMessage">
<wsdl:part name="parameters" element="tns:Delete"/>
</wsdl:message>
<wsdl:message name="IUserRepositoryService_Delete_OutputMessage">
<wsdl:part name="parameters" element="tns:DeleteResponse"/>
</wsdl:message>
<wsdl:message 
name="IUserRepositoryService_Delete_RemoteApplicationExceptionFault_FaultMessage
">
<wsdl:part 
xmlns:q2="http://schemas.datacontract.org/2004/07/Whiteduck.Deflib.ApplicationMo
del.RemoteFacade" name="detail" element="q2:RemoteApplicationException"/>
</wsdl:message>
<wsdl:portType name="IUserRepositoryService">
<wsdl:operation name="GetAll">
<wsdl:input 
wsaw:Action="http://www.wd.org/cotopaxi/teamrepository/IUserRepositoryService/Ge
tAll" message="tns:IUserRepositoryService_GetAll_InputMessage"/>
<wsdl:output 
wsaw:Action="http://www.wd.org/cotopaxi/teamrepository/IUserRepositoryService/Ge
tAllResponse" message="tns:IUserRepositoryService_GetAll_OutputMessage"/>
</wsdl:operation>
<wsdl:operation name="Get">
<wsdl:input 
wsaw:Action="http://www.wd.org/cotopaxi/teamrepository/IUserRepositoryService/Ge
t" message="tns:IUserRepositoryService_Get_InputMessage"/>
<wsdl:output 
wsaw:Action="http://www.wd.org/cotopaxi/teamrepository/IUserRepositoryService/Ge
tResponse" message="tns:IUserRepositoryService_Get_OutputMessage"/>
<wsdl:fault 
wsaw:Action="http://www.wd.org/cotopaxi/teamrepository/IUserRepositoryService/Ge
tRemoteApplicationExceptionFault" name="RemoteApplicationExceptionFault" 
message="tns:IUserRepositoryService_Get_RemoteApplicationExceptionFault_FaultMes
sage"/>
</wsdl:operation>
<wsdl:operation name="Delete">
<wsdl:input 
wsaw:Action="http://www.wd.org/cotopaxi/teamrepository/IUserRepositoryService/De
lete" message="tns:IUserRepositoryService_Delete_InputMessage"/>
<wsdl:output 
wsaw:Action="http://www.wd.org/cotopaxi/teamrepository/IUserRepositoryService/De
leteResponse" message="tns:IUserRepositoryService_Delete_OutputMessage"/>
<wsdl:fault 
wsaw:Action="http://www.wd.org/cotopaxi/teamrepository/IUserRepositoryService/De
leteRemoteApplicationExceptionFault" name="RemoteApplicationExceptionFault" 
message="tns:IUserRepositoryService_Delete_RemoteApplicationExceptionFault_Fault
Message"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="BasicHttpBinding_IUserRepositoryService" 
type="tns:IUserRepositoryService">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetAll">
<soap:operation 
soapAction="http://www.wd.org/cotopaxi/teamrepository/IUserRepositoryService/Get
All" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Get">
<soap:operation 
soapAction="http://www.wd.org/cotopaxi/teamrepository/IUserRepositoryService/Get
" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="RemoteApplicationExceptionFault">
<soap:fault use="literal" name="RemoteApplicationExceptionFault" namespace=""/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="Delete">
<soap:operation 
soapAction="http://www.wd.org/cotopaxi/teamrepository/IUserRepositoryService/Del
ete" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="RemoteApplicationExceptionFault">
<soap:fault use="literal" name="RemoteApplicationExceptionFault" namespace=""/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WcfUserRepositoryService">
<wsdl:port name="BasicHttpBinding_IUserRepositoryService" 
binding="tns:BasicHttpBinding_IUserRepositoryService">
<soap:address 
location="http://endpoint/Cotopaxi/TeamRepository/WcfUserRepositoryService.svc"/
>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

Original issue reported on code.google.com by weird.dr...@gmail.com on 12 Mar 2013 at 3:32

GoogleCodeExporter commented 9 years ago
You're right, Android SOAP Enabler was built for handwritten WSDL files which 
is not your case.
Can you simplify your service definition file ?

Original comment by wallet.g...@gmail.com on 4 Jun 2013 at 9:30