cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy generation terminated: WSDL error

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos
"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.

Former Member
0 Kudos

the element <s:element ref="s:schema" /> is not defined into wsdl file.

But if I call web services with XML SPY it work correctly, however with SAP I can't create the proxy.

Former Member
0 Kudos

Hi,

Can you look at this thread similar to your problem?

Regards,

Div

Former Member
0 Kudos

This is the file Service1.asmx

[url] http://torchiara.altervista.org/Service1.asmx [url]

Former Member
0 Kudos

The wsdl version 2.0 is not work?

Is my wsdl version 2.0???