[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: [ebxml-dev] Schema Problem?
we are implementating the ebXML MS spec V1.0, but i have one problem of validating the ebXML message with Schema, (validation means, checking the message to see that all the required elements are present and conforms to what is there in XSD.) i have written a programme, to validate the ebXML message using Xerces API from Apache. it is validating the All XML Documents with specified XSD except ebXML. is any thing wrong with the schema which is at this location http://ebxml.org/project_teams/transport/envelope.xsd i am attaching the ebXML message which i am validating, please tell me where i am wrong. Thanks and Regards Vijay <<ebxml.xml>>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:schemaLocation="http://ebxml.org/project_teams/transport/envelope.xsd"> <SOAP-ENV:Header> <eb:MessageHeader SOAP-ENV:mustUnderstand="1" eb:version="1.0"> <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>20020308-132834839</eb:ConversationId> <eb:Service eb:type="S">Soft. Designing</eb:Service> <eb:Action>Hello</eb:Action> <eb:MessageData> <eb:MessageId>20020308-13283519-31@vijay.SAMSUNGSDSINDIA.COM</eb:MessageId> <eb:Timestamp>2002-03-08T13:28:35Z</eb:Timestamp> <eb:TimeToLive>11:40</eb:TimeToLive> </eb:MessageData> <eb:QualityOfServiceInfo eb:deliveryReceiptRequested="Signed" eb:deliverySemantics="OnceAndOnlyOnce" eb:messageOrderSemantics="Guaranteed"/> <eb:SequenceNumber eb:status="Reset">0</eb:SequenceNumber> <eb:Description xml:lang="en-us">Purchase Order</eb:Description> </eb:MessageHeader> <eb:TraceHeaderList SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next" SOAP-ENV:mustUnderstand="1" eb:id="Thlist001" eb:version="1.0"> <eb:TraceHeader> <eb:Receiver> <eb:PartyId eb:type="s">PARTY0345</eb:PartyId> <eb:Location>http://vishwa:7001/TRPReceivingMSH</eb:Location> </eb:Receiver> <eb:Timestamp>2002-03-08T13:28:35Z</eb:Timestamp> <eb:Sender> <eb:PartyId eb:type="s">PARTY0006</eb:PartyId> <eb:Location>http://vishwa:7001/TRPReceivingMSH</eb:Location> </eb:Sender> </eb:TraceHeader> </eb:TraceHeaderList> <ds:Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2000/WD-xml-c14n-20001011"/> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/> </ds:SignedInfo> <SignatureValue> Z1qAW0n+dblVZA2g69WRkw/tk+9Z6FKzgMp6k2gOBzuJYMsakBhsXw== </SignatureValue> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyValue> <DSAKeyValue> <P> /X9TgR11EilS30qcLuzk5/YRt1I870QAwx4/gLZRJmlFXUAiUftZPY1Y+r/F9bow9s ubVWzXgTuAHTRv8mZgt2uZUKWkn5/oBHsQIsJPu6nX/rfGG/g7V+fGqKYVDwT7g/bT xR7DAjVUE1oWkTL2dfOuK2HXKu/yIgMZndFIAcc= </P> <Q>l2BQjxUjC8yykrmCouuEC/BYHPU=</Q> <G> 9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCBgLRJFn Ej6EwoFhO3zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTx vqhRkImog9/hWuWfBpKLZl6Ae1UlZAFMO/7PSSo= </G> <Y> 7NNC7tuPDFvNtGkoc8elFc3Qf7Lt6+RH3frssOZyFRbYi+pzIPCbDd4YeWmBpinIpb TPXUoqBgM81bt0+mYjuzxjNxRXVE8neIw7KDgNzuYf7gEvwA8dC8r/lHVNiIqF3MM6 8WXrpUVMuqkECvraZDs2o14ar2Y9sheJtcjBBDQ= </Y> </DSAKeyValue> </KeyValue> <X509Data> <X509IssuerSerial> <X509IssuerName>CN=John\20Doe,OU=Technology\20Development,O=example.com,L=nowhere,ST=atall,C=US</X509IssuerName> <X509SerialNumber>1004524004</X509SerialNumber> </X509IssuerSerial> <X509SubjectName>CN=John\20Doe,OU=Technology\20Development,O=example.com,L=nowhere,ST=atall,C=US</X509SubjectName> <X509Certificate> MIIDJzCCAuUCBDvf0eQwCwYHKoZIzjgEAwUAMHkxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIEwVhdGFs bDEQMA4GA1UEBxMHbm93aGVyZTEUMBIGA1UEChMLZXhhbXBsZS5jb20xHzAdBgNVBAsTFlRlY2hu b2xvZ3kgRGV2ZWxvcG1lbnQxETAPBgNVBAMTCEpvaG4gRG9lMB4XDTAxMTAzMTEwMjY0NFoXDTAy MDEyOTEwMjY0NFoweTELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBWF0YWxsMRAwDgYDVQQHEwdub3do ZXJlMRQwEgYDVQQKEwtleGFtcGxlLmNvbTEfMB0GA1UECxMWVGVjaG5vbG9neSBEZXZlbG9wbWVu dDERMA8GA1UEAxMISm9obiBEb2UwggG4MIIBLAYHKoZIzjgEATCCAR8CgYEA/X9TgR11EilS30qc Luzk5/YRt1I870QAwx4/gLZRJmlFXUAiUftZPY1Y+r/F9bow9subVWzXgTuAHTRv8mZgt2uZUKWk n5/oBHsQIsJPu6nX/rfGG/g7V+fGqKYVDwT7g/bTxR7DAjVUE1oWkTL2dfOuK2HXKu/yIgMZndFI AccCFQCXYFCPFSMLzLKSuYKi64QL8Fgc9QKBgQD34aCF1ps93su8q1w2uFe5eZSvu/o66oL5V0wL PQeCZ1FZV4661FlP5nEHEIGAtEkWcSPoTCgWE7fPCTKMyKbhPBZ6i1R8jSjgo64eK7OmdZFuo38L +iE1YvH7YnoBJDvMpPG+qFGQiaiD3+Fa5Z8GkotmXoB7VSVkAUw7/s9JKgOBhQACgYEA7NNC7tuP DFvNtGkoc8elFc3Qf7Lt6+RH3frssOZyFRbYi+pzIPCbDd4YeWmBpinIpbTPXUoqBgM81bt0+mYj uzxjNxRXVE8neIw7KDgNzuYf7gEvwA8dC8r/lHVNiIqF3MM68WXrpUVMuqkECvraZDs2o14ar2Y9 sheJtcjBBDQwCwYHKoZIzjgEAwUAAy8AMCwCFESKEsGUkacZ1KI9UWXPMnKdtDYeAhQ54zmoEYeT iQKBhbUGlfu8qRO4EQ== </X509Certificate> </X509Data> </KeyInfo> </ds:Signature> </SOAP-ENV:Header> <SOAP-ENV:Body> <eb:Manifest eb:id="manifest01" eb:version="1.0"> <eb:Reference eb:id="pay000" xlink:href="cid:3152634.1015574314969.trp.vijay" xlink:type="simple"> <eb:Schema eb:location="C:\Demo\JavaDemo\FileDemo\porder.xsd" eb:version="1.0"/> </eb:Reference> <eb:Reference eb:id="pay001" xlink:href="cid:3885387.1015574314969.trp.vijay" xlink:type="simple"/> </eb:Manifest> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC