Skip to Content
0
Former Member
Jun 10, 2009 at 12:37 PM

Proxy generation terminated: WSDL error

444 Views

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">

http://schemas.xmlsoap.org/soap/http" style="document" />

<wsdl:operation name="GetDatiSIPAM">

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