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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
