Il giorno mar, 06/09/2005 alle 15.38 +0200, Laurent COLLET ha scritto:
> as you can see. some elements are missing: ReplyTo, RelatesTo and
> FaultTo. This elements are missing in the default configuration of the
> AddressingHandler. So, for instance, I try to found a good tutorial on
> Apache WS-Addressing...
>
I think you should manually add the missing addressing headers in the
client:
AddressingHeaders headers = new AddressingHeaders();
Action a = new Action(new URI("urn:action"));
headers.setAction(a);
EndpointReference epr = new EndpointReference("http://www.apache.org");
headers.setFaultTo(epr);
[..]
then you add it in a property field before to make the call:
call.setProperty(Constants.ENV_ADDRESSING_REQUEST_HEADERS, headers);
Then you should be able to sign the headers WSE expects.
I don't know if there's a way to set these fields in the wsdd, in my
experience I have only used the default headers.
Refer to the ShortTutorial.txt in CVS:
http://cvs.apache.org/viewcvs.cgi/ws-addressing/ShortTutorial.txt?rev=1.2&view=markup
Bye,
Davide Romanini
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]