[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Transport Service definition
I apologize if this is out of scope, but I heard from a colleague here at XMLGlobal that the need for a ebxml trp service binding format was discussed recently by some members of the list. I would like to direct your attention to WSDL. All of the examples you see in the WSDL 1.1 spec use SOAP as the transport, but does not mandate that SOAP be used. It is possible, using namespaces, to include TRP specific information in a WSDL document, and there are provisions in the spec for multipart/mime. I have attached a sample WSDL file which depicts a very simple "PhoneBook" application which could be run over TRP. I have not developed an example using MIME, but that may be a possibility as well. If anyone is interested in co-authoring a proposal for a WSDL derived service binding format for ebXML, please contact me. Cheers, -- Matthew MacKenzie VP Research & Development XML Global Technologies, Inc.
<?xml version="1.0" encoding="UTF-8"?> <definitiions name="PhoneBook" targetNamespace="http://sample.xmlglobal.com/ns/PhoneBook.wsdl" xmlns:phoneapp="http://sample.xmlglobal.com/ns/PhoneBook.wsdl" xmlns:tas="http://sample.xmlglobal.com/ns/PhoneBook.xsd" xmlns:trp="http://ebxml.org/namespaces/TRP" xmlns="http://schemas.xmlsoap.org/wsdl"> <types> <schema targetNamespace="http://sample.xmlglobal.com/ns/PhoneBook.xsd" xmlns="http://www.w3.org/1999/XMLSchema"> <element name="PhoneBookRequest"> <complexType> <all> <element name="personName" type="string" /> </all> </complexType> </element> <element name="PhoneBookResponse"> <complexType> <all> <element name="telephoneNumber" type="string" /> </all> </complexType> </element> </schema> </types> <message name="GetPhoneNumberInput"> <part name="body" element="tas:PhoneBookRequest" /> </message> <message name="GetPhoneNumberOutput"> <part name="body" element="tas:PhoneBookResponse" /> </message> <portType name="PhoneBookPortType"> <operation name="GetPhoneNumber"> <input message="phoneapp:GetPhoneNumberInput" /> <output message="phoneapp:GetPhoneNumberOutput" /> </operation> </portType> <binding name="PhoneBookBinding" type="phoneapp:PhoneBookPortType"> <operation name="GetPhoneNumber"> <input> <trp:payload-input number="0" serviceInterface="PhoneBook" action="getPhoneNumber" /> </input> <output> <trp:payload-output number="0" /> </output> </operation> </binding> <service name="PhoneBookService"> <documentation>Use this service to get a phone number using ebXML.</documentation> <port name="PhoneBookPort" binding="phoneapp:PhoneBookBinding"> <trp:cpa uri="http://sample.xmlglobal.com/processes/PhoneBook.cpa" /> </port> </service> </definitiions>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC