users@jax-rpc.java.net

Re: SOAP Headers

From: Roderico Cruz <Roderico.Cruz_at_Sun.COM>
Date: Thu, 10 Nov 2005 12:22:31 -0800

If you use Netbeans 4.1, there is a facility for configuring web
services with handlers using the IDE. There is also a wizard for
creating a handler sample which btw is a logging handler. If you would
like to find out more about this, let me know.
Rico

Bobby Bissett - Javasoft wrote:

>Edoardo Causarano wrote On 11/10/05 06:44,:
>
>
>>Can anyone point me to a working, complete with requirements, example
>>of SOAP Header processing in jax-rpc RI?
>>I've been trying unsuccessfully to get a simple handler filter to log
>>"hello world" on message retrieval and nothing ever happens.
>>I'd like to get handlers and headers to work, please.
>>
>>
>
>I don't have a full example of jaxrpc using handlers (though there are
>handler samples in the JAX-WS 2.0 bundles), but the AttachmentsSample
>example in the jwsdp uses a handler on the client side. The latest jwsdp
>can be found here:
>http://java.sun.com/webservices/downloads/webservicespack.html.
>
>To add a handler to your service, you can add the <handlerChains>
>element to your config-server.xml following the example in
>AttachmentsSample/etc/config-client.xml. Just change <chain
>runAt="client"> to <chain runAt="server"> and, of course, specify the
>class name of the handler you're using.
>
>If you're trying to specify the handler a different way, let me know
>what you're seeing when you build the service. From the above, it sounds
>like you're saying that the handler is not being invoked.
>
>Cheers,
>Bobby
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>
>


-- 
Roderico Cruz
Sun Microsystems
(650) 786-4824