OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

regrep-raws message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: Defining TRP bound web services in WSDL


Attached is the TRP schema from the May spec.  I've updated it to the
latest Schema spec so it is easier to work with.


Matthew MacKenzie
XML Global Technologies, Inc.


-----Original Message-----
From: Farrukh Najmi [mailto:Farrukh.Najmi@sun.com] 
Sent: September 23, 2001 11:28 AM
To: Matthew MacKenzie
Cc: 'Farrukh Najmi'; regrep-raws@lists.oasis-open.org
Subject: Re: Defining TRP bound web services in WSDL


Matt,

A Schema for TRP message header is found in the Messaging Service spec.
I have asked Chris Ferris to get us the latest schema in an XSD file.
Should
have it Monday.


Matthew MacKenzie wrote:

> Farrukh,
>
> The problem with my "proposal" was that I stopped thinking in terms of
a
> proposal after the first paragraph.  When I went and read the mime
> binding part of the wsdl spec, I realized that all that needed to be
> done was to create a correct definition of the MSH in wsdl.  I agree
> with your analysis below of what should be done (provide a concrete
> definition extending Registry.wsdl. I will comment more after I have
> checked out the work you've done.
>
> One missing piece of the puzzle is a schema for TRP.  Is there a such
> thing?
>
> Matthew MacKenzie
> XML Global Technologies, Inc.
>
> -----Original Message-----
> From: Farrukh Najmi [mailto:Farrukh.Najmi@Sun.COM]
> Sent: September 23, 2001 6:37 AM
> To: Matthew Mackenzie
> Cc: regrep-raws@lists.oasis-open.org
> Subject: Re: Defining TRP bound web services in WSDL
>
> Matt,
>
> Thanks for making this valuable contribution. I think it will have
even
> broader implications that our TC.
>
> It would be helpful if you include the diagram from ebXML Messaging
> Service
> spec that shows how the SOAP header, body, ebXML header elements,
> manifest,
> request, payload etc. are laid out. Since many of us do not keep up
with
> that
> spec this one picture would help a lot. Also I think you could say
less
> on how
> to use WSDL and simply refer to the WSDL spec.
>
> I believe you may have swapped by accident soap-header and soap-body
> tags on
> messageHeader and manifest. messageHeader should be described by
> soap-header
> and manifest should be described by soap-body.
>
> One of teh critical things missing at the moment as far I can see is
> that we
> need to tie this with the existing RAWS abstract service definition
for
> the
> registry. We currently have the following files (attached):
>
> Registry.xsd    #XSD Schema replacing Registry.dtd
> Registry.wsdl    #Abstract service definition for registry service
> RegistrySOAPBinding.wsdl    #Concrete binding to SOAP/HTTP for
abstract
> service definition in Registry.wsdl
>
> What we need is a Registry_ebXML_MS_Binding.wsdl to provide a concrete
> binding
> to ebXML Messaging Service for abstract service definition in
> Registry.wsdl
>
> I would be glad to work with you on this. We may also want someone fom
> TRP to
> look over our shoulder. I can talk to Chris Ferris for example.
>
> --
> Regards,
> Farrukh
>
> Matthew Mackenzie wrote:
>
> > Greetings RAWSers,
> >
> > My first post, and I bring with me a PDF file.  I brought the idea
of
> > <see subject> up with Farrukh earlier today, and he thought that
this
> > group might be interested in this.  It turns out that TRP in WSDL
> isn't
> > that hard, but would benefit from having an abstract definition to
> make
> > it easier to do this.
> >
> > Comments, please!
> >
> > --
> > Matthew MacKenzie
> > Xml Global
> > http://www.xmlglobal.com
> >
> >
>
------------------------------------------------------------------------
> >                    Name: TRP-WSDL.pdf
> >    TRP-WSDL.pdf    Type: Acrobat (application/pdf)
> >                Encoding: BASE64
>
> --
> Regards,
> Farrukh

--
Regards,
Farrukh

<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.ebxml.org/namespaces/messageHeader" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:tns="http://www.ebxml.org/namespaces/messageHeader" version="1.0">
	<import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.ebxml.org/project_teams/transport/xmldsig-core-schema.xsd"/>
	<import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.ebxml.org/project_teams/transport/xlink.xsd"/>
	<import namespace="http://schemas.xmlsoap.org/soap/envelope/" schemaLocation="http://www.ebxml.org/project_teams/transport/envelope.xsd"/>
	<import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.ebxml.org/project_teams/transport/xml_lang.xsd"/>
	<!-- MANIFEST -->
	<element name="Manifest">
		<complexType>
			<sequence>
				<element ref="tns:Reference" maxOccurs="unbounded"/>
				<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			</sequence>
			<attribute ref="tns:id"/>
			<attribute ref="tns:version"/>
			<anyAttribute namespace="http://www.w3.org/2000/10/XMLSchema-instance" processContents="lax"/>
		</complexType>
	</element>
	<element name="Reference">
		<complexType>
			<sequence>
				<element ref="tns:Schema" minOccurs="0" maxOccurs="unbounded"/>
				<element ref="tns:Description" minOccurs="0" maxOccurs="unbounded"/>
				<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			</sequence>
			<attribute ref="tns:id"/>
			<attribute ref="xlink:type" fixed="simple"/>
			<attribute ref="xlink:href" use="required"/>
			<attribute ref="xlink:role"/>
		</complexType>
	</element>
	<element name="Schema">
		<complexType>
			<attribute name="location" type="anyURI" use="required"/>
			<attribute name="version" type="tns:non-empty-string"/>
		</complexType>
	</element>
	<!-- MESSAGEHEADER -->
	<element name="MessageHeader">
		<complexType>
			<sequence>
				<element ref="tns:From"/>
				<element ref="tns:To"/>
				<element ref="tns:CPAId"/>
				<element ref="tns:ConversationId"/>
				<element ref="tns:Service"/>
				<element ref="tns:Action"/>
				<element ref="tns:MessageData"/>
				<element ref="tns:QualityOfServiceInfo" minOccurs="0"/>
				<element ref="tns:Description" minOccurs="0" maxOccurs="unbounded"/>
				<element ref="tns:SequenceNumber" minOccurs="0"/>
			</sequence>
			<attribute ref="tns:id"/>
			<attribute ref="tns:version"/>
			<attribute ref="soap:mustUnderstand"/>
			<anyAttribute namespace="http://www.w3.org/2000/10/XMLSchema-instance" processContents="lax"/>
		</complexType>
	</element>
	<element name="CPAId" type="tns:non-empty-string"/>
	<element name="ConversationId" type="tns:non-empty-string"/>
	<element name="Service">
		<complexType>
			<simpleContent>
				<extension base="tns:non-empty-string">
					<attribute name="type" type="tns:non-empty-string"/>
				</extension>
			</simpleContent>
		</complexType>
	</element>
	<element name="Action" type="tns:non-empty-string"/>
	<element name="MessageData">
		<complexType>
			<sequence>
				<element ref="tns:MessageId"/>
				<element ref="tns:Timestamp"/>
				<element ref="tns:RefToMessageId" minOccurs="0"/>
				<element ref="tns:TimeToLive" minOccurs="0"/>
			</sequence>
		</complexType>
	</element>
	<element name="MessageId" type="tns:non-empty-string"/>
	<element name="TimeToLive" type="dateTime"/>
	<element name="QualityOfServiceInfo">
		<complexType>
			<attribute name="deliverySemantics" type="tns:deliverySemantics.type" default="BestEffort"/>
			<attribute name="messageOrderSemantics" type="tns:messageOrderSemantics.type" default="NotGuaranteed"/>
			<attribute name="deliveryReceiptRequested" type="tns:signedUnsigned.type" default="None"/>
		</complexType>
	</element>
	<!-- TRACE HEADER LIST -->
	<element name="TraceHeaderList">
		<complexType>
			<sequence>
				<element ref="tns:TraceHeader" maxOccurs="unbounded"/>
			</sequence>
			<attribute ref="tns:id"/>
			<attribute ref="tns:version"/>
			<attribute ref="soap:mustUnderstand" use="required"/>
			<attribute ref="soap:actor" use="required"/>
			<anyAttribute namespace="http://www.w3.org/2000/10/XMLSchema-instance" processContents="lax"/>
		</complexType>
	</element>
	<element name="TraceHeader">
		<complexType>
			<sequence>
				<element ref="tns:Sender"/>
				<element ref="tns:Receiver"/>
				<element ref="tns:Timestamp"/>
				<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			</sequence>
			<attribute ref="tns:id"/>
		</complexType>
	</element>
	<element name="Sender" type="tns:senderReceiver.type"/>
	<element name="Receiver" type="tns:senderReceiver.type"/>
	<element name="SequenceNumber" type="positiveInteger"/>
	<!-- DELIVERY RECEIPT -->
	<element name="DeliveryReceipt">
		<complexType>
			<sequence>
				<element ref="tns:Timestamp"/>
				<element ref="ds:Reference" minOccurs="0" maxOccurs="unbounded"/>
			</sequence>
			<attribute ref="tns:id"/>
			<attribute ref="tns:version"/>
			<anyAttribute namespace="http://www.w3.org/2000/10/XMLSchema-instance" processContents="lax"/>
			<!-- <attribute name="signed" type="boolean"/> -->
		</complexType>
	</element>
	<!-- ACKNOWLEDGEMENT -->
	<element name="Acknowledgment">
		<complexType>
			<sequence>
				<element ref="tns:Timestamp"/>
				<element ref="tns:From" minOccurs="0"/>
				<element ref="ds:Reference" minOccurs="0" maxOccurs="unbounded"/>
			</sequence>
			<attribute ref="tns:id"/>
			<attribute ref="tns:version"/>
			<attribute ref="soap:mustUnderstand" use="required"/>
			<attribute ref="soap:actor" use="required"/>
			<anyAttribute namespace="http://www.w3.org/2000/10/XMLSchema-instance" processContents="lax"/>
		</complexType>
	</element>
	<!-- ERROR LIST -->
	<element name="ErrorList">
		<complexType>
			<sequence>
				<element ref="tns:Error" maxOccurs="unbounded"/>
			</sequence>
			<attribute ref="tns:id"/>
			<attribute ref="tns:version"/>
			<attribute ref="soap:mustUnderstand" use="required"/>
			<attribute name="highestSeverity" type="tns:severity.type" default="Warning"/>
			<anyAttribute namespace="http://www.w3.org/2000/10/XMLSchema-instance" processContents="lax"/>
		</complexType>
	</element>
	<element name="Error">
		<complexType>
			<attribute ref="tns:id"/>
			<attribute name="codeContext" type="anyURI" use="required"/>
			<attribute name="errorCode" type="tns:non-empty-string" use="required"/>
			<attribute name="severity" type="tns:severity.type" default="Warning"/>
			<attribute name="location" type="tns:non-empty-string"/>
			<attribute ref="xml:lang"/>
		</complexType>
	</element>
	<!-- STATUS RESPONSE -->
	<element name="StatusResponse">
		<complexType>
			<sequence>
				<element ref="tns:RefToMessageId"/>
				<element ref="tns:Timestamp" minOccurs="0"/>
			</sequence>
			<attribute ref="tns:id"/>
			<attribute ref="tns:version"/>
			<attribute name="messageStatus" type="tns:messageStatus.type"/>
			<anyAttribute namespace="http://www.w3.org/2000/10/XMLSchema-instance" processContents="lax"/>
		</complexType>
	</element>
	<!-- STATUS REQUEST -->
	<element name="StatusRequest">
		<complexType>
			<sequence>
				<element ref="tns:RefToMessageId"/>
			</sequence>
			<attribute ref="tns:id"/>
			<attribute ref="tns:version"/>
			<anyAttribute namespace="http://www.w3.org/2000/10/XMLSchema-instance" processContents="lax"/>
		</complexType>
	</element>
	<!-- VIA  -->
	<element name="Via">
		<complexType>
			<sequence>
				<element ref="tns:CPAId" minOccurs="0"/>
				<element ref="tns:Service" minOccurs="0"/>
				<element ref="tns:Action" minOccurs="0"/>
			</sequence>
			<attribute ref="tns:id"/>
			<attribute ref="tns:version"/>
			<attribute ref="soap:mustUnderstand" use="required"/>
			<attribute ref="soap:actor" use="required"/>
			<attribute name="syncReply" type="boolean"/>
			<attribute name="deliveryReceiptRequested" type="tns:signedUnsigned.type" default="None"/>
			<attribute name="reliableMessagingMethod" type="tns:rmm.type"/>
			<attribute name="ackRequested" type="boolean"/>
			<anyAttribute namespace="http://www.w3.org/2000/10/XMLSchema-instance" processContents="lax"/>
		</complexType>
	</element>
	<!-- COMMON TYPES -->
	<complexType name="senderReceiver.type">
		<sequence>
			<element ref="tns:PartyId" maxOccurs="unbounded"/>
			<element name="Location" type="anyURI"/>
		</sequence>
	</complexType>
	<simpleType name="messageStatus.type">
		<restriction base="NMTOKEN">
			<enumeration value="UnAuthorized"/>
			<enumeration value="NotRecognized"/>
			<enumeration value="Received"/>
			<enumeration value="Processed"/>
			<enumeration value="Forwarded"/>
		</restriction>
	</simpleType>
	<simpleType name="type.type">
		<restriction base="NMTOKEN">
			<enumeration value="DeliveryReceipt"/>
			<enumeration value="IntermediateAck"/>
		</restriction>
	</simpleType>
	<simpleType name="messageOrderSemantics.type">
		<restriction base="NMTOKEN">
			<enumeration value="Guaranteed"/>
			<enumeration value="NotGuaranteed"/>
		</restriction>
	</simpleType>
	<simpleType name="deliverySemantics.type">
		<restriction base="NMTOKEN">
			<enumeration value="OnceAndOnlyOnce"/>
			<enumeration value="BestEffort"/>
		</restriction>
	</simpleType>
	<simpleType name="non-empty-string">
		<restriction base="string">
			<minLength value="1"/>
		</restriction>
	</simpleType>
	<simpleType name="rmm.type">
		<restriction base="NMTOKEN">
			<enumeration value="ebXML"/>
			<enumeration value="Transport"/>
		</restriction>
	</simpleType>
	<simpleType name="signedUnsigned.type">
		<restriction base="NMTOKEN">
			<enumeration value="Signed"/>
			<enumeration value="Unsigned"/>
			<enumeration value="None"/>
		</restriction>
	</simpleType>
	<simpleType name="severity.type">
		<restriction base="NMTOKEN">
			<enumeration value="Warning"/>
			<enumeration value="Error"/>
		</restriction>
	</simpleType>
	<!-- COMMON ATTRIBUTES and ELEMENTS -->
	<attribute name="id" type="ID" form="unqualified"/>
	<attribute name="version" type="tns:non-empty-string" fixed="1.0"/>
	<element name="PartyId">
		<complexType>
			<simpleContent>
				<extension base="tns:non-empty-string">
					<attribute name="type" type="tns:non-empty-string"/>
				</extension>
			</simpleContent>
		</complexType>
	</element>
	<element name="To">
		<complexType>
			<sequence>
				<element ref="tns:PartyId" maxOccurs="unbounded"/>
			</sequence>
		</complexType>
	</element>
	<element name="From">
		<complexType>
			<sequence>
				<element ref="tns:PartyId" maxOccurs="unbounded"/>
			</sequence>
		</complexType>
	</element>
	<element name="Description">
		<complexType>
			<simpleContent>
				<extension base="tns:non-empty-string">
					<attribute ref="xml:lang"/>
				</extension>
			</simpleContent>
		</complexType>
	</element>
	<element name="RefToMessageId" type="tns:non-empty-string"/>
	<element name="Timestamp" type="dateTime"/>
</schema>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC