[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [no subject]
Here is the relevant XSD for the notify message:
<xsd:complexType name="NotificationMessageHolderType" >
<xsd:sequence>
<xsd:element name="SubscriptionReference"
type="wsa:EndpointReferenceType"
minOccurs="0" maxOccurs="1" />
<xsd:element name="Topic"
type="wsnt:TopicExpressionType"
minOccurs="1" maxOccurs="1" />
<xsd:element name="ProducerReference"
type="wsa:EndpointReferenceType"
minOccurs="0" maxOccurs="1" />
<xsd:element name="Message" type="xsd:anyType"
minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
the proposed change is to modify the way the Message component is defined,
the new definition would look like:
<xsd:element name="Message">
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##any" processContents="lax"
minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
Although there might be some subtle difference in the XSD that I don't
immediately grasp, it seems to me that this is an equally good way to
model message, and if it provides a solution to the problem Igor is
facing, then it seems like a good approach to take.
sgg
++++++++
Steve Graham
(919)254-0615 (T/L 444)
STSM, IBM Software Group, Web services and SOA
Member, IBM Academy of Technology
<Soli Deo Gloria/>
++++++++
"Sedukhin, Igor S" <Igor.Sedukhin@ca.com>
03/24/2005 12:33 PM
To
"Springer, Ian P." <ian.springer@hp.com>, <wsdm@lists.oasis-open.org>
cc
<wsn@lists.oasis-open.org>
Subject
RE: [wsdm] Notify wrapped vs Soap body
I would just reconcile and make wsnt:Message be a container of xs:any and
that's it. At least it won't be different from S:Body.
-- Igor Sedukhin .. (igor.sedukhin@ca.com)
-- (631) 342-4325 .. 1 CA Plaza, Islandia, NY 11749
From: Springer, Ian P. [mailto:ian.springer@hp.com]
Sent: Thursday, March 24, 2005 12:01 PM
To: Sedukhin, Igor S; wsdm@lists.oasis-open.org
Cc: wsn@lists.oasis-open.org
Subject: RE: [wsdm] Notify wrapped vs Soap body
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]