[wsf-c-dev] Sending a default action with wsclient
Eran Chinthaka
chinthaka at wso2.com
Tue May 8 10:20:25 PDT 2007
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
More information about the Wsf-c-dev
mailing list