Skip to Content
0
Former Member
Mar 29, 2011 at 02:21 PM

Problem creating .Net client proxy class from published WSDL.

283 Views

Our SAP developers have created a web service to expose some SAP functionality to our .Net clients on the plant floor, and the wsdl utility is unable to create the client proxy class from the published WSDL. Also, when I try to add a .Net 2.0 web service reference I can see most of the information about the service, but not the actual web service call itself. Is there anything missing from this WSDL?

<?xml version="1.0" encoding="utf-8"?><wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:n1="urn:sap-com:document:sap:rfc:functions"><wsdl:documentation><sidl:sidl xmlns:sidl="http://www.sap.com/2007/03/sidl"/></wsdl:documentation><wsp:UsingPolicy wsdl:required="true"/><wsp:Policy wsu:Id="BN_BN_ZWS_PCNF"><saptrnbnd:OptimizedXMLTransfer uri="http://xml.sap.com/2006/11/esi/esp/binxml" xmlns:saptrnbnd="http://www.sap.com/webas/710/soap/features/transportbinding/" wsp:Optional="true"/><saptrnbnd:OptimizedXMLTransfer uri="http://www.w3.org/2004/08/soap/features/http-optimization" xmlns:saptrnbnd="http://www.sap.com/webas/710/soap/features/transportbinding/" wsp:Optional="true"/><wsp:ExactlyOne xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:sapsp="http://www.sap.com/webas/630/soap/features/security/policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"><wsp:All><sp:TransportBinding><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken><wsp:Policy><sp:HttpBasicAuthentication/></wsp:Policy></sp:HttpsToken></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:TripleDesRsa15/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="IF_IF_ZWS_PCNF"><sapsession:Session xmlns:sapsession="http://www.sap.com/webas/630/soap/features/session/"><sapsession:enableSession>false</sapsession:enableSession></sapsession:Session><sapcentraladmin:CentralAdministration xmlns:sapcentraladmin="http://www.sap.com/webas/700/soap/features/CentralAdministration/" wsp:Optional="true"/></wsp:Policy><wsp:Policy wsu:Id="OP_IF_OP_ZBapiRepmanconf1Create"><sapcomhnd:enableCommit xmlns:sapcomhnd="http://www.sap.com/NW05/soap/features/commit/">false</sapcomhnd:enableCommit><sapblock:enableBlocking xmlns:sapblock="http://www.sap.com/NW05/soap/features/blocking/">true</sapblock:enableBlocking><saptrhnw05:required xmlns:saptrhnw05="http://www.sap.com/NW05/soap/features/transaction/">no</saptrhnw05:required><saprmnw05:enableWSRM xmlns:saprmnw05="http://www.sap.com/NW05/soap/features/wsrm/">false</saprmnw05:enableWSRM></wsp:Policy><wsdl:types><xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:rfc:functions"><xsd:simpleType name="char1"><xsd:restriction base="xsd:string"><xsd:maxLength value="1"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="char10"><xsd:restriction base="xsd:string"><xsd:maxLength value="10"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="char18"><xsd:restriction base="xsd:string"><xsd:maxLength value="18"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="char20"><xsd:restriction base="xsd:string"><xsd:maxLength value="20"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="char220"><xsd:restriction base="xsd:string"><xsd:maxLength value="220"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="char25"><xsd:restriction base="xsd:string"><xsd:maxLength value="25"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="char30"><xsd:restriction base="xsd:string"><xsd:maxLength value="30"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="char32"><xsd:restriction base="xsd:string"><xsd:maxLength value="32"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="char4"><xsd:restriction base="xsd:string"><xsd:maxLength value="4"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="char50"><xsd:restriction base="xsd:string"><xsd:maxLength value="50"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="date"><xsd:restriction base="xsd:string"><xsd:maxLength value="10"/><xsd:pattern value="\d\d\d\d-\d\d-\d\d"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="numeric10"><xsd:restriction base="xsd:string"><xsd:maxLength value="10"/><xsd:pattern value="\d"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="numeric3"><xsd:restriction base="xsd:string"><xsd:maxLength value="3"/><xsd:pattern value="\d"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="numeric6"><xsd:restriction base="xsd:string"><xsd:maxLength value="6"/><xsd:pattern value="\d*"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="quantum13.3"><xsd:restriction base="xsd:decimal"><xsd:totalDigits value="13"/><xsd:fractionDigits value="3"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="unit3"><xsd:restriction base="xsd:string"><xsd:maxLength value="3"/></xsd:restriction></xsd:simpleType></xsd:schema><xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:n0="urn:sap-com:document:sap:rfc:functions"><xsd:import namespace="urn:sap-com:document:sap:rfc:functions"/><xsd:complexType name="Werks"><xsd:sequence><xsd:element name="Werks" type="n0:char4"/></xsd:sequence></xsd:complexType><xsd:complexType name="Bapiret2"><xsd:sequence><xsd:element name="Type" type="n0:char1"/><xsd:element name="Id" type="n0:char20"/><xsd:element name="Number" type="n0:numeric3"/><xsd:element name="Message" type="n0:char220"/><xsd:element name="LogNo" type="n0:char20"/><xsd:element name="LogMsgNo" type="n0:numeric6"/><xsd:element name="MessageV1" type="n0:char50"/><xsd:element name="MessageV2" type="n0:char50"/><xsd:element name="MessageV3" type="n0:char50"/><xsd:element name="MessageV4" type="n0:char50"/><xsd:element name="Parameter" type="n0:char32"/><xsd:element name="Row" type="xsd:int"/><xsd:element name="Field" type="n0:char30"/><xsd:element name="System" type="n0:char10"/></xsd:sequence></xsd:complexType><xsd:element name="ZBapiRepmanconf1Create"><xsd:complexType><xsd:sequence><xsd:element name="IBudat" type="n0:date"/><xsd:element name="IHdrtxt" type="n0:char25"/><xsd:element name="IMatnr" type="n0:char18"/><xsd:element name="IQty" type="n0:quantum13.3"/><xsd:element name="IUom" type="n0:unit3"/><xsd:element name="IVerid" type="n0:char4"/><xsd:element name="IWerks" type="tns:Werks" minOccurs="0"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="ZBapiRepmanconf1CreateResponse"><xsd:complexType><xsd:sequence><xsd:element name="Confirmation" type="n0:numeric10"/><xsd:element name="Return" type="tns:Bapiret2"/></xsd:sequence></xsd:complexType></xsd:element></xsd:schema></wsdl:types><wsdl:message name="ZBapiRepmanconf1Create"><wsdl:part name="parameters" element="tns:ZBapiRepmanconf1Create"/></wsdl:message><wsdl:message name="ZBapiRepmanconf1CreateResponse"><wsdl:part name="parameter" element="tns:ZBapiRepmanconf1CreateResponse"/></wsdl:message><wsdl:portType name="ZWS_PCNF"><wsp:Policy><wsp:PolicyReference URI="#IF_IF_ZWS_PCNF"/></wsp:Policy><wsdl:operation name="ZBapiRepmanconf1Create"><wsp:Policy><wsp:PolicyReference URI="#OP_IF_OP_ZBapiRepmanconf1Create"/></wsp:Policy><wsdl:input message="tns:ZBapiRepmanconf1Create"/><wsdl:output message="tns:ZBapiRepmanconf1CreateResponse"/></wsdl:operation></wsdl:portType><wsdl:binding name="ZWS_PCNF" type="tns:ZWS_PCNF"><wsp:Policy><wsp:PolicyReference URI="#BN_BN_ZWS_PCNF"/></wsp:Policy><soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/><wsdl:operation name="ZBapiRepmanconf1Create"><soap:operation soapAction="" 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="ZWS_PCNFService"><wsdl:port name="ZWS_PCNF" binding="tns:ZWS_PCNF"><soap:address location="http://de2.phifersap/sap/bc/srt/rfc/sap/zws_pcnf/200/zws_pcnf/zws_pcnf"/></wsdl:port></wsdl:service></wsdl:definitions>