Published WSDL not usable by SAP

0
I generated a Published Webservice and send the WSDL to a SAP-team. They are not able to use the WSDL, because when they try to read it in SAP Enterprise Services Builder, the WSDL is not correctly recognized. The Request-parameters are not visible. Does anyone know what's going wrong? The SAP Tool is able to read the file when following changed: a. ComplexType to Element <wsdl:types> <xsd:schema targetNamespace="http://www.example.com/"> <xsd:element name="Contracten"> <xsd:complexType> <xsd:sequence>... And b. 'type=' to 'element=' <wsdl:message name="ContractenRequest"> <wsdl:part name="request_header" element="tns:authentication"/> <wsdl:part name="parameters" element="tns:Contracten"/> </wsdl:message> Example WSDL "Contracten.wsdl" generated by Mendix Business Modeler: <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions name="Contracten" targetNamespace="http://www.example.com/" 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:tns="http://www.example.com/"> <wsdl:types> <xsd:schema targetNamespace="http://www.example.com/"> <xsd:element name="Contracten"> <xsd:complexType> <xsd:sequence> <xsd:element name="ContractList" minOccurs="0" maxOccurs="1"> <xsd:complexType> <xsd:sequence> <xsd:element name="Contract" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="Personeelsnummer" type="xsd:string" minOccurs="1"/> <xsd:element name="Persoonsnummer" type="xsd:string" minOccurs="1"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="ContractenResponse"> <xsd:complexType> <xsd:sequence/> </xsd:complexType> </xsd:element> <xsd:element name="authentication"> <xsd:complexType> <xsd:sequence> <xsd:element name="username" type="xsd:string"/> <xsd:element name="password" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> </wsdl:types> <wsdl:message name="ContractenRequest"> <wsdl:part name="request_header" element="tns:authentication"/> <wsdl:part name="parameters" element="tns:Contracten"/> </wsdl:message> <wsdl:message name="ContractenResponse"> <wsdl:part name="result" element="tns:ContractenResponse"/> </wsdl:message> <wsdl:portType name="ContractenPortType"> <wsdl:operation name="Contracten"> <wsdl:documentation> </wsdl:documentation> <wsdl:input message="tns:ContractenRequest"/> <wsdl:output message="tns:ContractenResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="ContractenSoap" type="tns:ContractenPortType"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="Contracten"> <soap:operation soapAction="http://www.example.com/Contracten"/> <wsdl:input> <soap:header message="tns:ContractenRequest" part="request_header" use="literal"/> <soap:body parts="parameters" use="literal"/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="Contracten"> <wsdl:port name="ContractenPort" binding="tns:ContractenSoap"> <soap:address location="http://localhost:8080/ws/Contracten/"/> </wsdl:port> </wsdl:service> </wsdl:definitions>
asked
0 answers