[ http://issues.apache.org/jira/browse/AXIS2-1375?page=comments#action_12442051 ] James Shiell commented on AXIS2-1375: -------------------------------------
Will look at it but can't promise anything given the use of Muse - the application ends up being quite complex. > OperationContext envelope has only partial namespacing > ------------------------------------------------------ > > Key: AXIS2-1375 > URL: http://issues.apache.org/jira/browse/AXIS2-1375 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: core > Affects Versions: 1.1 > Environment: 1.1RC1 > Reporter: James Shiell > > When getting the message envelope via > opContext.getMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE).getEnvelope() > the returned elements (shown below) lack namespacing on some header > attributes (wsa:Action, MessageID, From, Address). This in turn breaks > efforts to parse this information, such as by Apache Muse. > I would expect that the xmlns:wsa element appears on all WSA namespaced > elements. > <?xml version='1.0' encoding='utf-8'?><soap:Envelope > xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> > <soap:Header> > <wsa:To > xmlns:wsa="http://www.w3.org/2005/08/addressing">http://172.17.20.129:7001/ossj/services/WsResource</wsa:To> > > <wsa:Action>http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest</wsa:Action> > > <wsa:MessageID>uuid:0cf952e1-116e-e04c-8fcf-41a17f5c15d6</wsa:MessageID> > <wsa:From> > > <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address> > </wsa:From> > <muse-wsa:ResourceId > xmlns:muse-wsa="http://ws.apache.org/muse/addressing" > wsa:IsReferenceParameter="true">OSSJOmResource-1</muse-wsa:ResourceId> > </soap:Header> > <soap:Body> > <wsnt:Subscribe xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"> > <wsnt:ConsumerReference> > <wsa:Address > xmlns:wsa="http://www.w3.org/2005/08/addressing">http://172.17.20.129:7001/jr-ossj-client/services/consumer</wsa:Address> > <wsa:ReferenceParameters> > <muse-wsa:ResourceId > xmlns:muse-wsa="http://ws.apache.org/muse/addressing">OSSJOmResource-1</muse-wsa:ResourceId> > </wsa:ReferenceParameters> > </wsnt:ConsumerReference> > </wsnt:Subscribe> > </soap:Body> > </soap:Envelope> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]