You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Chatra Nakkawita (JIRA)" <ji...@apache.org> on 2007/04/05 08:08:32 UTC
[jira] Resolved: (AXIS2-1375) OperationContext envelope has only
partial namespacing
[ https://issues.apache.org/jira/browse/AXIS2-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chatra Nakkawita resolved AXIS2-1375.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.2
I mentioned the solution in https://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/app_server.html
Please verify.
Thanks,
Chatra
> OperationContext envelope has only partial namespacing
> ------------------------------------------------------
>
> Key: AXIS2-1375
> URL: https://issues.apache.org/jira/browse/AXIS2-1375
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.1
> Environment: 1.1RC1
> Reporter: James Shiell
> Assigned To: Chatra Nakkawita
> Fix For: 1.2
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org