Hallo Leute,
habe folgende wsdl:
Der Datenaustausch funktioniert vom Prinzip her, leider hat es noch einen Fehler den ich nicht finde. Die Rückgabe sieht wie folgt aus:
Da wird leider die Definition für die wsdl:types "xsd:boolean" und "xsd:base64Binary" völlig ignoriert. Kann mir dazu jemand sagen warum und wie ich das funktionsfähig bekomme?
Danke schon mal!
Mit freundlichen Grüßen Sven
habe folgende wsdl:
Code:
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions name ="server2" xmlns:impl="https://localhost:8084/server2.wsdl" xmlns:tns1="https://localhost:8084/server2.wsdl" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="https://localhost:8084/server2.wsdl"> <wsdl:types> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="https://localhost:8084/server2.wsdl"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"></import> <complexType name="XmlSubmitStatus"> <sequence> <element name="successful" type="xsd:boolean"></element> <element name="xml" type="xsd:base64Binary" minOccurs="0"></element> </sequence> </complexType> </schema> </wsdl:types> <wsdl:message name="submitXmlMessageResponse"> <wsdl:part name="submitXmlMessageReturn" type="tns1:XmlSubmitStatus"></wsdl:part> </wsdl:message> <wsdl:message name="submitXmlMessageRequest"> <wsdl:part name="partnerno" type="xsd:string"></wsdl:part> <wsdl:part name="xml" type="xsd:base64Binary"></wsdl:part> <wsdl:part name="signature" type="xsd:base64Binary"></wsdl:part> </wsdl:message> <wsdl:portType name="XmlSubmitWebService"> <wsdl:operation name="submitXmlMessage" parameterOrder="partnerno xml signature"> <wsdl:input message="impl:submitXmlMessageRequest" name="submitXmlMessageRequest"></wsdl:input> <wsdl:output message="impl:submitXmlMessageResponse" name="submitXmlMessageResponse"></wsdl:output> </wsdl:operation> </wsdl:portType> <wsdl:binding name="XmlSubmitSoapBinding" type="impl:XmlSubmitWebService"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"></wsdlsoap:binding> <wsdl:operation name="submitXmlMessage"> <wsdlsoap:operation soapAction=""></wsdlsoap:operation> <wsdl:input name="submitXmlMessageRequest"> <wsdlsoap:body namespace="https://localhost:8084/server2.wsdl" use="literal"></wsdlsoap:body> </wsdl:input> <wsdl:output name="submitXmlMessageResponse"> <wsdlsoap:body namespace="https://localhost:8084/server2.wsdl" use="literal"></wsdlsoap:body> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="server2"> <wsdl:port binding="impl:XmlSubmitSoapBinding" name="server2"> <wsdlsoap:address location="https://localhost:8084/server.php"></wsdlsoap:address> </wsdl:port> </wsdl:service> </wsdl:definitions>
Code:
object(stdClass)#2 (2) { ["successful"]=> string(5) "false" ["xml"]=> string(44) "TWVzc2FnZTogb3BlbnNzbC12ZXJpZnkgZmFpbGVkLg==" }
Danke schon mal!
Mit freundlichen Grüßen Sven