« Return to Thread: [WS-Addressing] issue concerning reliable One-Way MEP detection
> Some implementations allow for SOAP headers to be service specific
Sorry I made a shortcut in my last post. I meant all elements related to the different WS-* standards - as opposed to all business elements defined by the user.
> I consider checking for a valid wsa:Action as a WSA check.
Yes, but this does not require that the driver asks about the service metadata.
For example we use the standard java UnsupportedOperationException, for the business layer to indicate that an invocation of {action, message} is not supported. If WS-Addressing was used for that invocation, the driver will then convert it to an "action Not Supported" fault. this clearly makes the services independent from all proocol-related stuff.
Of course the separation would be different in other langagues...
Sylvain
| Sylvain MARIÉ Embedded Software Engineer sylvain.marie@... +33 (0)4 76 57 67 31 / 34 67 31 |
04/06/2009 15:54 |
|
| sylvain.marie@... Sent by: public-ws-addressing-request@... 06/04/2009 09:41 AM |
|
| Doug Davis <dug@...>
04/06/2009 14:26 |
|
| Bob Freund <bob.freund@...> Sent by: public-ws-addressing-request@... 06/04/2009 07:05 AM |
|
Hi,
I have been working for the fast few years on Devices Profile for Web Services (DPWS) specification, and especially on an implementation (https://forge.soa4d.org/). DPWS 1.0 was originally referring to WSA member's submission, while DPWS 1.1 specification has now moved to WS-Addressing 1.0.
WS-Addressing specifies how messages corresponding to different Message Exchange Patterns (MEP) are sent. However it does not seem to specify a reliable way to detect which MEP is actually in use. In particular the One-Way MEP may not be detected reliably, which prevents devices to make any optimisation (for example, send the empty HTTP response for SOAP/HTTP binding). The only alternative is to inspect the actionUri and refer to a service's WSDL in order to retrieve the appropriate MEP.
In DPWS implementations we think that the driver should be able to implement the default processing chain without necessary knowing about the web services deployed on top of it. We first thought about using the absence of "replyTo" as a good indicator for a One-Way MEP but since WS-Addressing 1.0 this does not work any more, as replyTo always have a default value ("anonymous"). No we are thinking about using the absence of "messageId" as a clue to detectt One-Way MEPs but this is clearly a hack and not something we may rely on in he future.
What is the opinion of WS-Addressing's WG about this ? Thank you very much in advance,
Best regards,
Sylvain
| <0F385492.jpg> | Sylvain MARIÉ Embedded Software Engineer sylvain.marie@... +33 (0)4 76 57 67 31 / 34 67 31 |
« Return to Thread: [WS-Addressing] issue concerning reliable One-Way MEP detection
| Free embeddable forum powered by Nabble | Forum Help |