You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-dev@ws.apache.org by "Srinivasan, Latha" <la...@hp.com> on 2005/04/20 17:51:13 UTC
Value of wsa:Action in a subscribe message exchange pattern
Hi,
I've created a service that implements the operations and resource props. for NotificationProducer. In looking through the FileSystem example's soap requests, the soap Action header seems to be:
<wsa:Action mustUnderstand="1">
http://ws.apache.org/resource/example/filesystem/FileSystemPortType/yourWsdlRequestName
</wsa:Action>
However, the WS-BaseN spec. states that it should be:
<wsa:Action>
http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl/NotificationProducer/Subscribe
</wsa:Action>
What should the value be set to?
Thanks
Latha
---------------------------------------------------------------------
To unsubscribe, e-mail: hermes-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: hermes-dev-help@ws.apache.org
Re: Value of wsa:Action in a subscribe message exchange pattern
Posted by Ian Springer <ip...@apache.org>.
Srinivasan, Latha wrote:
>Hi,
>
>I've created a service that implements the operations and resource props. for NotificationProducer. In looking through the FileSystem example's soap requests, the soap Action header seems to be:
><wsa:Action mustUnderstand="1">
>http://ws.apache.org/resource/example/filesystem/FileSystemPortType/yourWsdlRequestName
></wsa:Action>
>
>However, the WS-BaseN spec. states that it should be:
><wsa:Action>
>http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl/NotificationProducer/Subscribe
></wsa:Action>
>
>What should the value be set to?
>
>
Hi Latha,
You are correct. Based on the message exachange examples in the WSN
spec, the wsa:Action should be
"http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl/NotificationProducer/Subscribe".
However, since the June 04 spec does not normatively mandate that the
Action have that value, we do not require that it have this value. In
fact, we currently ignore the Action and instead dispatch requests using
the QName of the first body element. The current drafts of WSRF and WSN
do mandate standard Actions for each of the spec operations, so once we
upgrade to support those, we will start using the Action for
dispatching. In the mean time, I'll update the Actions in our sample
requests so that they are consistent with the examples provided in the
WSRF and WSN specs.
Thanks for pointing this out!
Ian
>Thanks
>Latha
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: hermes-dev-unsubscribe@ws.apache.org
>For additional commands, e-mail: hermes-dev-help@ws.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: hermes-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: hermes-dev-help@ws.apache.org