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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-dev message

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


Subject: [ebxml-dev] is Body element is must?



Hi all, 

this is the ebXML message(Ping)

<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/
http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd"
    xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/draft-ms
g-header-00.xsd">
    <SOAP-ENV:Header
xsi:schemaLocation="http://www.oasis-open.org/committees/ebxml-msg/schem
a/draft-msg-header-00.xsd
http://www.oasis-open.org/committees/ebxml-msg/schema/draft-msg-header-0
0.xsd">
        <eb:MessageHeader eb:version="1.0" SOAP-ENV:mustUnderstand="1">
            <eb:From>
                <eb:PartyId eb:type="s">PARTY0006</eb:PartyId>
            </eb:From>
            <eb:To>
                <eb:PartyId eb:type="s">PARTY0345</eb:PartyId>
            </eb:To>
            <eb:CPAId>CPA003</eb:CPAId>
            <eb:ConversationId>20020314-180525434</eb:ConversationId>
            <eb:Service>uri:www.ebxml.org/messageService/</eb:Service>
            <eb:Action>Ping</eb:Action>
            <eb:MessageData>
 
<eb:MessageId>20020314-180525655-1@vijay.SAMSUNGSDSINDIA.COM</eb:Message
Id>
                <eb:Timestamp>2002-03-14T18:05:25Z</eb:Timestamp>
                <eb:TimeToLive>11:40</eb:TimeToLive>
            </eb:MessageData>
            <eb:QualityOfServiceInfo
                eb:deliverySemantics="OnceAndOnlyOnce"
                eb:messageOrderSemantics="Guaranteed"
eb:deliveryReceiptRequested="Signed"/>
            <eb:Description xml:lang="en-us">Purchase
Order</eb:Description>
            <eb:SequenceNumber eb:status="Reset">0</eb:SequenceNumber>

        </eb:MessageHeader>
        <eb:TraceHeaderList eb:id="Thlist001" eb:version="1.0"
            SOAP-ENV:mustUnderstand="1"
SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next">
            <eb:TraceHeader>
                <eb:Sender>
                    <eb:PartyId eb:type="s">PARTY0006</eb:PartyId>
 
<eb:Location>http://vishwa:7001/TRPReceivingMSH</eb:Location>
                </eb:Sender>
                <eb:Receiver>
                    <eb:PartyId eb:type="s">PARTY0345</eb:PartyId>
 
<eb:Location>http://vishwa:7001/TRPReceivingMSH</eb:Location>
                </eb:Receiver>
                <eb:Timestamp>2002-03-14T18:05:25Z</eb:Timestamp>
            </eb:TraceHeader>
        </eb:TraceHeaderList>
    </SOAP-ENV:Header>
</SOAP-ENV:Envelope>

when i try to validate the message it give the fallowing exception.

Error:  org.xml.sax.SAXParseException: The content of element type
"SOAP-ENV:Envelope" is incomplete, it must match 
"(Header?,Body,##other:uri=http://schemas.xmlsoap.org/soap/envelope/*)".


is it that, Body element is a must for all the messages?


Thanks and regards
Vijay Kumar



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

Search: Match: Sort by:
Words: | Help


Powered by eList eXpress LLC