|
From: Bob K. <py...@ce...> - 2003-09-11 02:35:34
|
Dear Erik, I think it is okay for the declaration of the eb namespace inside the message header itself, but anyway if you want to follow the code, please have a look on hk.hku.cecid.phoenix.message.packaging.HeaderContainer, which contains the code on namespace declaration. See if it can help. Regards, Bob Koon Erik Ytterman wrote: > Dear All! > > It seems like there is a problem with the Pong reply from HERMES MSH > 0.9.2. > I believe that this problem originates from a missing ebXML namespace > declaraction > in the SOAP envelope (<soap-env:Envelope>). Instead, this declaration > seem to end > up in the ebXML message header (<eb:MessageHeader>). > > Has anyone experienced the same problems? Are these problems related > to the > used SAAJ/JAXM implementation! > > Does anyone know exactly where in the code(!) these namespace > declarations take > place e.g are added to the SOAP envelope (<soap-env:Envelope>) and the > ebXML > message header (<eb:MessageHeader>). > > I also attach the message sent back from HERMES MSH. Hope that you will be > able to help me! > > Best Regards > /Erik Ytterman > > > >------------------------------------------------------------------------ > ><?xml version="1.0" encoding="UTF-8"?> ><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"> ><soap-env:Header >xsi:schemaLocation="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd >http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"> ><eb:MessageHeader xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" >eb:version="2.0" soap-env:mustUnderstand="1"> ><eb:From> ><eb:PartyId eb:type="DUNS">123456</eb:PartyId> ></eb:From> ><eb:To> ><eb:PartyId eb:type="DUNS">11-111-1111</eb:PartyId> ></eb:To> ><eb:CPAId>ebMS-Ping-CPAId</eb:CPAId> ><eb:ConversationId>ebMS-Ping-ConversationId</eb:ConversationId> ><eb:Service>urn:oasis:names:tc:ebxml-msg:service</eb:Service> ><eb:Action>Pong</eb:Action> ><eb:MessageData> ><eb:MessageId>20030909-154139986-ebMS-Ping-CPAId.urn:oasis:names:tc:ebxml-msg:service.Pong.14@212.75.69.157</eb:MessageId> ><eb:Timestamp>2003-09-09T15:41:39Z</eb:Timestamp> ><eb:RefToMessageId>a4mhd100uu3g5qsv00000018</eb:RefToMessageId> ></eb:MessageData> ></eb:MessageHeader> ></soap-env:Header> ><soap-env:Body xsi:schemaLocation="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd >http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"/> ></soap-env:Envelope> > > |