on 06-10-2009 1:37 PM
I try to generating a proxy from wsdl, but I have this error:
"Cannot generate proxy (object schema missing in WSDL, see long text)"
This is the file Service1.asmx
<s:element name="GetDatiSIPAM">
<s:complexType />
</s:element>
<s:element name="GetDatiSIPAMResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetDatiSIPAMResult">
<s:complexType>
<s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="GetDatiSIPAMSoapIn">
<wsdl:part name="parameters" element="tns:GetDatiSIPAM" />
</wsdl:message>
<wsdl:message name="GetDatiSIPAMSoapOut">
<wsdl:part name="parameters" element="tns:GetDatiSIPAMResponse" />
</wsdl:message>
<wsdl:portType name="Service1Soap">
<wsdl:operation name="GetDatiSIPAM">
<wsdl:input message="tns:GetDatiSIPAMSoapIn" />
<wsdl:output message="tns:GetDatiSIPAMSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="Service1Soap" type="tns:Service1Soap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="GetDatiSIPAM">
<soap:operation soapAction="http://tempuri.org/GetDatiSIPAM" 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="Service1">
<wsdl:port name="Service1Soap" binding="tns:Service1Soap">
<soap:address location="http://XX.XXX.XX.XX/gdf_sap/Service1.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
The error seems to be this: <s:element ref="s:schema" />
Help me please....
Thanks
Alfonso.
Edited by: Alfonso Manzo on Jun 10, 2009 2:48 PM
"Cannot generate proxy (object schema missing in WSDL, see long text)"
<s:element ref="s:schema" />
</s:schema>
I think the wsdl is referring something called as schema......however in whole of your wsdl i could not find schema anywhere other than the one mentioned above...neither it seems to be included in the ED from where the reference can be taken...please check your wsdl.....the schema has an ending tag but where is the start tag??
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the file Service1.asmx
[url] http://torchiara.altervista.org/Service1.asmx [url]
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.