use asp.net connect pear soap

From: Date: Sun, 06 Oct 2002 06:19:04 +0000
Subject: use asp.net connect pear soap
Groups: php.soap 
Request: Send a blank email to php-soap+get-276@lists.php.net to get a copy of this message
I have a problem to connect difference platform. I created a simple webservice and client file via asp.net,no problem. But i can't connect php webservice, the asp.net client can't find the .wsdl file. Q1:Does any way to connect the php webservice without .wsdl ? I had downloaded the WSDL Editor to generate wsdl file,but the wsdl file is very difference as other. the asp.net client can't use the method. Do i miss anything. <?xml version="1.0" encoding="UTF-8" ?> - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> - <SOAP-ENV:Body> - <SOAP-ENV:Fault> <faultcode xsi:type="xsd:QName">SOAP-ENV:Server</faultcode> <faultstring xsi:type="xsd:string">Invalid SOAP request, must be POST with content-type: text/xml, got:</faultstring> <faultactor xsi:type="xsd:anyURI" /> <detail xsi:type="xsd:string" /> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> ---------------------------------------------------------------------------- -------------- test.wsdl generate by WSDL Editor <?xml version="1.0" encoding="UTF-8" ?> - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" name="test" targetNamespace="http://192.168.1.11/project/soap/test.wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://192.168.1.11/project/soap/test.wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://192.168.1.11/project/soap/test.xsd1"> - <types> <xsd:schema targetNamespace="http://192.168.1.11/project/soap/test.xsd1" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /> </types> - <message name="NewMessageRequest"> <part name="arg1" type="xsd:string" /> </message> <message name="NewMessageResponse" /> - <portType name="testPortType"> - <operation name="NewOperation"> <input message="tns:NewMessageRequest" /> <output message="tns:NewMessageResponse" /> </operation> </portType> - <binding name="testBinding" type="tns:testPortType"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> - <operation name="NewOperation"> <soap:operation soapAction="capeconnect::testPortType#NewOperation" /> - <input> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://192.168.1.11/project/soap/test/binding" use="encoded" /> </input> - <output> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://192.168.1.11/project/soap/test/binding" use="encoded" /> </output> </operation> </binding> - <service name="test"> - <port binding="tns:testBinding" name="testPort"> <soap:address location="http://localhost:8000/ccx/test" /> </port> </service> </definitions>

« previous php.soap (#276) next »