David, Thanks for the clarification.
A related question - if I include <wsaw:Anonymous>required</wsaw:Anonymous> in my WSDL, does that not tell the client that replyTo is mandatory in the incoming soap request and that it must always contain the anonymous url? Of course, this does not serve the purpose that I was asking about, but it seems to serve the purpose of making sure that the client never sends a valid replyTo in the service request. Thanks, Shantanu ----- Original Message ---- From: David Illsley <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, March 13, 2007 12:47:42 AM Subject: Re: AXIS2: wsaw:Action question in the MTOM sample Hi Shantanu, The wsaw:Action value on the output element will be used as the wsa:Action header value for response messages for that operation. This is particularly useful in the scenario you describe where the ReplyTo sends the message to another service. In that case the response message must have the correct wsa:Action for that operation. wsaw:Action lets you do that. A marker to state that use of a ReplyTo is mandatory is still under discussion at the W3C I'm afraid. It'll probably be a WS-Policy solution allowing specification that the service supports either 'anonymous ReplyTo' or 'npn-anonymous ReplyTo' or both. Hope that helps, David On 13/03/07, Shantanu Sen <[EMAIL PROTECTED]> wrote: > In the MTOM sample the following wsaw:action is specified in the wsdl for the > output > message: > ------- > wsdl:output message="tns:AttachmentResponse" > > wsaw:Action="http://schemas.xmlsoap.org/wsdl/MTOMServicePortType/AttachmentResponse"; > ------- > > What is the significance of this and how does AXIS2 handle this? > > If I want to use asynchronous invocation of this service which requires the > service to > send the response message to a different address (using replyTo), how would I > change the > WSDL? I understand that I would have to change the client to set the > wsa:replyTo on the > message, but my question is that how can I state in the WSDL that a separate > replyTo > address need to be specified by the client when invoking the service? > > Thanks, > Shantanu Sen > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- David Illsley - IBM Web Services Development --------------------------------------------------------------------- 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]
