Re: Re: Passing objects to soap server, complexType, classmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux