Re: [SOAP] SOAP structs help

From: Date: Wed, 20 Apr 2005 16:18:48 +0000
Subject: Re: [SOAP] SOAP structs help
References: 1 2 3 4 5  Groups: php.soap 
Request: Send a blank email to php-soap+get-1868@lists.php.net to get a copy of this message
I guess attachment don't work on this list so my WSDL isn't out there yet. Here it is: <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsdl="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:book="http://new.webservice.namespace" targetNamespace="http://new.webservice.namespace"> <types> <wsdl:schema elementFormDefault="qualified" targetNamespace="http://new.webservice.namespace"> <wsdl:element name="skillSet"> <wsdl:complexType> <wsdl:sequence> <wsdl:element minOccurs="1" maxOccurs="1" name="skill" type="wsdl:int"/> </wsdl:sequence> </wsdl:complexType> </wsdl:element> <wsdl:element name="BookOptionStruct"> <wsdl:complexType> <wsdl:sequence> <wsdl:element minOccurs="1" maxOccurs="1" name="bookId" type="wsdl:int"/> <wsdl:element minOccurs="1" maxOccurs="1" name="techId" type="wsdl:int"/> <wsdl:element minOccurs="1" maxOccurs="1" name="date" type="wsdl:string"/> <wsdl:element minOccurs="1" maxOccurs="1" name="timeband" type="wsdl:string"/> </wsdl:sequence> </wsdl:complexType> </wsdl:element> <wsdl:element name="BookException"> <wsdl:complexType> <wsdl:sequence> <wsdl:element minOccurs="1" maxOccurs="1" name="bookId" type="wsdl:int"/> <wsdl:element minOccurs="1" maxOccurs="1" name="techId" type="wsdl:int"/> <wsdl:element minOccurs="1" maxOccurs="1" name="date" type="wsdl:string"/> <wsdl:element minOccurs="1" maxOccurs="1" name="timeband" type="wsdl:string"/> </wsdl:sequence> </wsdl:complexType> </wsdl:element> <wsdl:element name="BookSenderObject"> <wsdl:complexType> <wsdl:sequence> <wsdl:element name="startDate" type="wsdl:string" minOccurs="1" maxOccurs="1"/> <wsdl:element name="endDate" type="wsdl:string" minOccurs="1" maxOccurs="1"/> <wsdl:element name="maxAppointments" type="wsdl:int" minOccurs="1" maxOccurs="1"/> <wsdl:element name="zipCode" type="wsdl:int" minOccurs="1" maxOccurs="1"/> </wsdl:sequence> </wsdl:complexType> </wsdl:element> </wsdl:schema> </types> <message name="getBookingsRequest"> <part name="startDate" type="wsdl:string"/> <part name="endDate" type="wsdl:string"/> <part name="max" type="wsdl:int"/> <part name="zipCode" type="wsdl:int"/> </message> <message name="getBookingsResponse"> <part name="transactionExpiry" type="wsdl:string"/> <part name="transactionId" type="wsdl:string"/> <part name="bookingOptions" element="book:BookOptionStruct"/> </message> <message name="getBookingsException"> <part name="exception" element="book:BookException"/> </message> <portType name="BookingPortType"> <operation name="getBookings"> <input message="book:getBookingsRequest"/> <output message="book:getBookingsResponse"/> <fault name="bookingException" message="book:getBookingsException"/> </operation> </portType> <binding style="rpc" name="BookingBinding" type="book:BookingPortType" transport="http://schemas.xmlsoap.org/soap/http"> <operation name="getBookings" soapAction="urn:xmethods-delayed-quotes#getBookings"> <input> <documentation>Retreive a set of available bookings.</documentation> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:xmethods-delayed-quotes"/> </input> <output> <documentation>Sends a set of results back, or an exception.</documentation> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:xmethods-delayed-quotes"/> </output> <fault name="bookingException"> <documentation>Reason for failure.</documentation> <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:xmethods-delayed-quotes"/> </fault> </operation> </binding> <service name="BookingService"> <port name="BookingPort" binding="book:BookingBinding"> <soap:address location="http://localhost/server.php"/> </port> </service> </definitions>

« previous php.soap (#1868) next »