on 11-12-2007 11:52 PM
Hi,
I am trying to create a proxy from SE80 using the following WSDL. It is giving the error "Cannot generate proxy (object schema missing in WSDL, see long text)".
Message no. SPRX084.
<?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="xyz.CD.Services.WebServices.ServiceInfo" 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="xyz.CD.Services.WebServices.ServiceInfo" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="xyz.CD.Services.WebServices.ServiceInfo">
<s:element name="GetPhoneAndAddressForRouteToRegion">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="iCompanyNumber" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="iRouteNumber" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetPhoneAndAddressForRouteToRegionResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetPhoneAndAddressForRouteToRegionResult">
<s:complexType>
<s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetPhoneAndAddressForDepotToRegion">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="iCompanyNumber" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="iDepotNumber" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetPhoneAndAddressForDepotToRegionResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetPhoneAndAddressForDepotToRegionResult">
<s:complexType>
<s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetQuickServiceInfo">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="sOCrp" type="s:short" />
<s:element minOccurs="1" maxOccurs="1" name="iOCus" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="sOCusAdr" type="s:short" />
<s:element minOccurs="0" maxOccurs="1" name="szZipCode" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetQuickServiceInfoResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetQuickServiceInfoResult">
<s:complexType>
<s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetQuickServiceInfoXML">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="sOCrp" type="s:short" />
<s:element minOccurs="1" maxOccurs="1" name="iOCus" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="sOCusAdr" type="s:short" />
<s:element minOccurs="0" maxOccurs="1" name="szZipCode" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetQuickServiceInfoXMLResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetQuickServiceInfoXMLResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DataSet" nillable="true">
<s:complexType>
<s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="string" nillable="true" type="s:string" />
</s:schema>
</wsdl:types>
<wsdl:message name="GetPhoneAndAddressForRouteToRegionSoapIn">
<wsdl:part name="parameters" element="tns:GetPhoneAndAddressForRouteToRegion" />
</wsdl:message>
<wsdl:message name="GetPhoneAndAddressForRouteToRegionSoapOut">
<wsdl:part name="parameters" element="tns:GetPhoneAndAddressForRouteToRegionResponse" />
</wsdl:message>
<wsdl:message name="GetPhoneAndAddressForDepotToRegionSoapIn">
<wsdl:part name="parameters" element="tns:GetPhoneAndAddressForDepotToRegion" />
</wsdl:message>
<wsdl:message name="GetPhoneAndAddressForDepotToRegionSoapOut">
<wsdl:part name="parameters" element="tns:GetPhoneAndAddressForDepotToRegionResponse" />
</wsdl:message>
<wsdl:message name="GetQuickServiceInfoSoapIn">
<wsdl:part name="parameters" element="tns:GetQuickServiceInfo" />
</wsdl:message>
<wsdl:message name="GetQuickServiceInfoSoapOut">
<wsdl:part name="parameters" element="tns:GetQuickServiceInfoResponse" />
</wsdl:message>
<wsdl:message name="GetQuickServiceInfoXMLSoapIn">
<wsdl:part name="parameters" element="tns:GetQuickServiceInfoXML" />
</wsdl:message>
<wsdl:message name="GetQuickServiceInfoXMLSoapOut">
<wsdl:part name="parameters" element="tns:GetQuickServiceInfoXMLResponse" />
</wsdl:message>
<wsdl:message name="GetPhoneAndAddressForRouteToRegionHttpGetIn">
<wsdl:part name="iCompanyNumber" type="s:string" />
<wsdl:part name="iRouteNumber" type="s:string" />
</wsdl:message>
<wsdl:message name="GetPhoneAndAddressForRouteToRegionHttpGetOut">
<wsdl:part name="Body" element="tns:DataSet" />
</wsdl:message>
<wsdl:message name="GetPhoneAndAddressForDepotToRegionHttpGetIn">
<wsdl:part name="iCompanyNumber" type="s:string" />
<wsdl:part name="iDepotNumber" type="s:string" />
</wsdl:message>
<wsdl:message name="GetPhoneAndAddressForDepotToRegionHttpGetOut">
<wsdl:part name="Body" element="tns:DataSet" />
</wsdl:message>
<wsdl:message name="GetQuickServiceInfoHttpGetIn">
<wsdl:part name="sOCrp" type="s:string" />
<wsdl:part name="iOCus" type="s:string" />
<wsdl:part name="sOCusAdr" type="s:string" />
<wsdl:part name="szZipCode" type="s:string" />
</wsdl:message>
<wsdl:message name="GetQuickServiceInfoHttpGetOut">
<wsdl:part name="Body" element="tns:DataSet" />
</wsdl:message>
<wsdl:message name="GetQuickServiceInfoXMLHttpGetIn">
<wsdl:part name="sOCrp" type="s:string" />
<wsdl:part name="iOCus" type="s:string" />
<wsdl:part name="sOCusAdr" type="s:string" />
<wsdl:part name="szZipCode" type="s:string" />
</wsdl:message>
<wsdl:message name="GetQuickServiceInfoXMLHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetPhoneAndAddressForRouteToRegionHttpPostIn">
<wsdl:part name="iCompanyNumber" type="s:string" />
<wsdl:part name="iRouteNumber" type="s:string" />
</wsdl:message>
<wsdl:message name="GetPhoneAndAddressForRouteToRegionHttpPostOut">
<wsdl:part name="Body" element="tns:DataSet" />
</wsdl:message>
<wsdl:message name="GetPhoneAndAddressForDepotToRegionHttpPostIn">
<wsdl:part name="iCompanyNumber" type="s:string" />
<wsdl:part name="iDepotNumber" type="s:string" />
</wsdl:message>
<wsdl:message name="GetPhoneAndAddressForDepotToRegionHttpPostOut">
<wsdl:part name="Body" element="tns:DataSet" />
</wsdl:message>
<wsdl:message name="GetQuickServiceInfoHttpPostIn">
<wsdl:part name="sOCrp" type="s:string" />
<wsdl:part name="iOCus" type="s:string" />
<wsdl:part name="sOCusAdr" type="s:string" />
<wsdl:part name="szZipCode" type="s:string" />
</wsdl:message>
<wsdl:message name="GetQuickServiceInfoHttpPostOut">
<wsdl:part name="Body" element="tns:DataSet" />
</wsdl:message>
<wsdl:message name="GetQuickServiceInfoXMLHttpPostIn">
<wsdl:part name="sOCrp" type="s:string" />
<wsdl:part name="iOCus" type="s:string" />
<wsdl:part name="sOCusAdr" type="s:string" />
<wsdl:part name="szZipCode" type="s:string" />
</wsdl:message>
<wsdl:message name="GetQuickServiceInfoXMLHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:portType name="ServiceInfoSoap">
<wsdl:operation name="GetPhoneAndAddressForRouteToRegion">
<wsdl:input message="tns:GetPhoneAndAddressForRouteToRegionSoapIn" />
<wsdl:output message="tns:GetPhoneAndAddressForRouteToRegionSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetPhoneAndAddressForDepotToRegion">
<wsdl:input message="tns:GetPhoneAndAddressForDepotToRegionSoapIn" />
<wsdl:output message="tns:GetPhoneAndAddressForDepotToRegionSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfo">
<wsdl:input message="tns:GetQuickServiceInfoSoapIn" />
<wsdl:output message="tns:GetQuickServiceInfoSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfoXML">
<wsdl:input message="tns:GetQuickServiceInfoXMLSoapIn" />
<wsdl:output message="tns:GetQuickServiceInfoXMLSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="ServiceInfoHttpGet">
<wsdl:operation name="GetPhoneAndAddressForRouteToRegion">
<wsdl:input message="tns:GetPhoneAndAddressForRouteToRegionHttpGetIn" />
<wsdl:output message="tns:GetPhoneAndAddressForRouteToRegionHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="GetPhoneAndAddressForDepotToRegion">
<wsdl:input message="tns:GetPhoneAndAddressForDepotToRegionHttpGetIn" />
<wsdl:output message="tns:GetPhoneAndAddressForDepotToRegionHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfo">
<wsdl:input message="tns:GetQuickServiceInfoHttpGetIn" />
<wsdl:output message="tns:GetQuickServiceInfoHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfoXML">
<wsdl:input message="tns:GetQuickServiceInfoXMLHttpGetIn" />
<wsdl:output message="tns:GetQuickServiceInfoXMLHttpGetOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="ServiceInfoHttpPost">
<wsdl:operation name="GetPhoneAndAddressForRouteToRegion">
<wsdl:input message="tns:GetPhoneAndAddressForRouteToRegionHttpPostIn" />
<wsdl:output message="tns:GetPhoneAndAddressForRouteToRegionHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="GetPhoneAndAddressForDepotToRegion">
<wsdl:input message="tns:GetPhoneAndAddressForDepotToRegionHttpPostIn" />
<wsdl:output message="tns:GetPhoneAndAddressForDepotToRegionHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfo">
<wsdl:input message="tns:GetQuickServiceInfoHttpPostIn" />
<wsdl:output message="tns:GetQuickServiceInfoHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfoXML">
<wsdl:input message="tns:GetQuickServiceInfoXMLHttpPostIn" />
<wsdl:output message="tns:GetQuickServiceInfoXMLHttpPostOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ServiceInfoSoap" type="tns:ServiceInfoSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetPhoneAndAddressForRouteToRegion">
<soap:operation soapAction="xyz.CD.Services.WebServices.ServiceInfo/GetPhoneAndAddressForRouteToRegion"
style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetPhoneAndAddressForDepotToRegion">
<soap:operation soapAction="xyz.CD.Services.WebServices.ServiceInfo/GetPhoneAndAddressForDepotToRegion"
style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfo">
<soap:operation soapAction="xyz.CD.Services.WebServices.ServiceInfo/GetQuickServiceInfo" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfoXML">
<soap:operation soapAction="xyz.CD.Services.WebServices.ServiceInfo/GetQuickServiceInfoXML" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ServiceInfoSoap12" type="tns:ServiceInfoSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetPhoneAndAddressForRouteToRegion">
<soap12:operation soapAction="xyz.CD.Services.WebServices.ServiceInfo/GetPhoneAndAddressForRouteToRegion"
style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetPhoneAndAddressForDepotToRegion">
<soap12:operation soapAction="xyz.CD.Services.WebServices.ServiceInfo/GetPhoneAndAddressForDepotToRegion"
style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfo">
<soap12:operation soapAction="xyz.CD.Services.WebServices.ServiceInfo/GetQuickServiceInfo" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfoXML">
<soap12:operation soapAction="xyz.CD.Services.WebServices.ServiceInfo/GetQuickServiceInfoXML" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ServiceInfoHttpGet" type="tns:ServiceInfoHttpGet">
<http:binding verb="GET" />
<wsdl:operation name="GetPhoneAndAddressForRouteToRegion">
<http:operation location="/GetPhoneAndAddressForRouteToRegion" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetPhoneAndAddressForDepotToRegion">
<http:operation location="/GetPhoneAndAddressForDepotToRegion" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfo">
<http:operation location="/GetQuickServiceInfo" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfoXML">
<http:operation location="/GetQuickServiceInfoXML" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ServiceInfoHttpPost" type="tns:ServiceInfoHttpPost">
<http:binding verb="POST" />
<wsdl:operation name="GetPhoneAndAddressForRouteToRegion">
<http:operation location="/GetPhoneAndAddressForRouteToRegion" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetPhoneAndAddressForDepotToRegion">
<http:operation location="/GetPhoneAndAddressForDepotToRegion" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfo">
<http:operation location="/GetQuickServiceInfo" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetQuickServiceInfoXML">
<http:operation location="/GetQuickServiceInfoXML" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ServiceInfo">
<wsdl:port name="ServiceInfoSoap" binding="tns:ServiceInfoSoap">
<soap:address
location="http://mrs3app01/consumer%20direct%20dotnet/CDXX0165WS.xyz.CD.Services.WebServices.ServiceInfo.asmx" />
</wsdl:port>
<wsdl:port name="ServiceInfoSoap12" binding="tns:ServiceInfoSoap12">
<soap12:address
location="http://mrs3app01/consumer%20direct%20dotnet/CDXX0165WS.xyz.CD.Services.WebServices.ServiceInfo.asmx" />
</wsdl:port>
<wsdl:port name="ServiceInfoHttpGet" binding="tns:ServiceInfoHttpGet">
<http:address
location="http://mrs3app01/consumer%20direct%20dotnet/CDXX0165WS.xyz.CD.Services.WebServices.ServiceInfo.asmx" />
</wsdl:port>
<wsdl:port name="ServiceInfoHttpPost" binding="tns:ServiceInfoHttpPost">
<http:address
location="http://mrs3app01/consumer%20direct%20dotnet/CDXX0165WS.xyz.CD.Services.WebServices.ServiceInfo.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
i got the reason.
<s:element ref="s:schema" /> is not allowed in ABAP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.