Re: [SOAP] Re: Passing objects to soap server, complexType, classmap
| From: | Michael Rasmussen | Date: | Tue, 20 Jun 2006 10:15:55 +0000 |
| Subject: | Re: [SOAP] Re: Passing objects to soap server, complexType, classmap | ||
| References: | 1 2 3 4 5 6 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-2323@lists.php.net to get a copy of this message | ||
On Tue, 20 Jun 2006 11:38:30 +0200, Michael Rasmussen wrote:
> WSDL
<?xml version="1.0"?>
<definitions name="server"
targetNamespace="http://tempuri.org"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://localhost/~mir/uddi/uddiServer"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types xmlns="http://schemas.xmlsoap.org/wsdl/">
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://localhost/~mir/uddi/uddiServer">
<complexType name="input">
<sequence>
<element name="firstname" type="xsd:string" />
<element name="lastname" type="xsd:string" />
</sequence>
</complexType>
</schema>
</types>
<message name="personRequest">
<part name="person" type="tns:input" />
</message>
<message name="personResponse" />
<portType name="serverPort">
<operation name="newPerson">
<input message="tns:personRequest" />
<output message="tns:personResponse" />
</operation>
</portType>
<binding name="serverBinding" type="tns:serverPort">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"
/>
<operation name="newPerson">
<soap:operation
soapAction="http://localhost/~mir/server.php#newPerson"
/>
<input>
<soap:body use="encoded"
namespace="http://tempuri.org"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
</input>
<output>
<soap:body use="encoded"
namespace="http://tempuri.org"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
</output>
</operation>
</binding>
<service name="serverService">
<documentation>
</documentation>
<port name="serverPort" binding="tns:serverBinding">
<soap:address
location="http://localhost/~mir/server.php" />
</port>
</service>
</definitions>
--
Hilsen/Regards
Michael Rasmussen
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917