[wsf-c-dev] Sending a default action with wsclient

Paul Fremantle paul at wso2.com
Tue May 8 11:19:01 PDT 2007


Maybe the engage-addressing command line should take the action as a 
parameter:

e.g.

--use-addressing-with-action http://blah

So that way users can't engage addressing without setting an action.

Paul

Eran Chinthaka wrote:
> Samisa Abeysinghe wrote:
>> If I use --soap or --soap1.1 with wsclient, it send addressing headers
>> with a default WSA action of "http://ws.apache.org/axis2/c".
>>
>> To me, sending a default WSA action like this does not make sense. We
>> should rather not send any addressing headers if there is no action
>> given by user.
> 
> A small comment on this. If user had engaged addressing, then you MUST
> send action header as it is required in the spec.
> So if the user had engaged addressing, and not given an action, you can
> either throw an error or send a default one. I prefer first one, but since
> we are expecting morts also to use the system, second option is also fine
> :)
> 
> Just some ideas from Axis2/Java experiences.
> 
> Thanks,
> Chinthaka
> 
> _______________________________________________
> Wsf-c-dev mailing list
> Wsf-c-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
> 

-- 
Paul Fremantle
VP/Technical Sales, WSO2
OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul at wso2.com
cell/mobile +44 798 447 4618
landline +1 (646) 290 8050

"Oxygenating the Web Service Platform", www.wso2.com





More information about the Wsf-c-dev mailing list