SOAP for transporting XML documents
Doug Ransom <[email protected]> Tue, 22 Oct 2002 16:34:42 -0700
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Message-ID | <3C552E6ED5B7DC4F8BF603C030BB70BF04ACE711@hermes.canada.corp.powermeasurement.com> |
Do SOAP messages using document encoding need to have an element below the
element that defines the service.
In the example below, the Data element contains many sub-elements (I have
just shown the first few) instead of one sub-element
(the pseudo xpath //.../soap:Body/Data/* would return several nodes in the
infoset instead of just one).
Is this bad, will most SOAP toolkits choke on it, and will people have
trouble processing it?
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id:
//depot/teams/namespaces/data/ion/historical/pushmessaging/1/recorder.PushMe
ssaging.20020121.xml#15 $ -->
<soap:Envelope
xmlns="http://rddl.xmlinside.net/PowerMeasurement/data/ion/historical/pushme
ssaging/1/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body>
<Data id="C905E7ED-B616-4018-A547-1D6C70411BE0"
xmlns:ident="http://rddl.xmlinside.net/PowerMeasurement/data/ion/identity/1/
">
<ident:GeneratedBy ident:name="My.a8500"
ident:namespace="PowerMeasurement" ident:type="8500"
ident:signature="PQ-9912A005-01"
ident:dateTime="2001-11-29T13:35:00.000-08:00"/>
<ident:Configuration ident:revision="8500V218"
ident:template="8500_FAC-9S-39S_V1.6.0.0.0" ident:owner="Taner Yildirim"
ident:tag1="PML Victoria" ident:tag2="Office 231">
<ident:Timezone>
<ident:Bias>480</ident:Bias>
<ident:DSTBias>-60</ident:DSTBias>
<ident:DSTStart>2002-04-07T02:00:00-08:00</ident:DSTStart>
<ident:DSTEnd>2002-10-27T02:00:00-08:00</ident:DSTEnd>
</ident:Timezone>
</ident:Configuration>
<AnotherElement n="3"/>
<AnotherElement n="33"/>
Doug Ransom
Interoperability Architect
Power Measurement
2195 Keating X Road
Saanichton, BC, Canada V8M 2A5
Tel: 1-(250) 652-7100
E-Mail: <mailto:[email protected]>
Website: <http://www.pwrm.com/>
ION(r) smart energy everywhere(tm)
You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other
DevelopMentor lists at http://discuss.develop.com.