wsa:Action in Response returns with Request action
--------------------------------------------------
Key: MUSE-217
URL: https://issues.apache.org/jira/browse/MUSE-217
Project: Muse
Issue Type: Bug
Components: WS-Addressing and SOAP
Affects Versions: 2.2.0
Environment: muse 2.2.0 from 13-Mar-2007
Eclipse 3.2
Tomcat 5.0.28
j2sdk1.4.2_13
XP Professional
Reporter: Dipl.-Ing. Matthias Beil
Assigned To: Dan Jemiolo
Priority: Minor
Fix For: 2.3.0
When I'm looking at the soap response and see the <wsa.Action> tag, then the
value in the response is always the request <wsa.Action>.
Like
<?xml version="1.0" encoding="http://www.w3.org/2005/08/addressing"?>
<soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<soapenv:Header>
<wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address>
</wsa:ReplyTo>
<wsa:MessageID>urn:uuid:852A7330B6B2815A7C11745755113206</wsa:MessageID>
<wsa:Action>http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest</wsa:Action>
<wsa:RelatesTo
wsa:RelationshipType="http://www.w3.org/2005/08/addressing/reply">uuid:566ab591-c939-ca8a-6da2-5f59183dcb05</wsa:RelatesTo>
</soapenv:Header>
<soapenv:Body>
<wsnt:SubscribeResponse xmlns:tns="http://axis2.platform.core.muse.apache.org"
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2">
<wsnt:SubscriptionReference>
<wsa:Address>http://192.109.213.141:8080/wsn-ossj-producer/services/SubscriptionManager</wsa:Address>
<wsa:ReferenceParameters>
<muse-wsa:ResourceId
xmlns:muse-wsa="http://ws.apache.org/muse/addressing">uuid:e55a2714-6c3b-1e0e-537f-92a6a4321545</muse-wsa:ResourceId>
</wsa:ReferenceParameters>
</wsnt:SubscriptionReference>
<wsnt:CurrentTime>2007-03-22T15:58:31+01:00</wsnt:CurrentTime>
<wsnt:TerminationTime>2007-03-23T15:58:31+01:00</wsnt:TerminationTime>
</wsnt:SubscribeResponse>
</soapenv:Body>
</soapenv:Envelope>
I use following ant script to generate the WebContent:
<!-- make sure to have $MUSE_HOME or %MUSE_HOME% set -->
<!-- and see that wsdl2java.bat in $MUSE_HOME/bin is on the
path!!! -->
<exec executable="wsdl2java.bat">
<arg value="-j2ee" />
<arg value="axis2" />
<arg value="-descriptor" />
<arg file="${src.resources.dir}/config/muse-master.xml"
/>
<!--
<arg value="-wsdl" />
<arg
file="${src.resources.dir}/wsdl/wsn-ossj-producer.wsdl" />
-->
<arg value="-output" />
<arg file="${target.muse.dir}" />
<arg value="-overwrite" />
</exec>
Concerning the Muse environment I didn't make any changes.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]