users@jax-rpc.java.net

Re: Create and configurate a handler to my webservice

From: Rico Cruz <Roderico.Cruz_at_Sun.COM>
Date: Tue, 08 Aug 2006 10:31:10 -0700

And if you do decide to develop jax-ws web services you can use Netbeans
5.5 (http://www.netbeans.org/ )which will help you create and configure
handlers.
Rico

Jitendra Kotamraju wrote:

> Fco. Javier Arenales Castrodeza wrote:
>
>> Hi All,
>>
>> I have developed a webservice to run by Sun One Application
>> Server. To develop it, I use an Ant file (build.xml) in order to
>> wscompile, wsdeploy,....
>>
>> Now, I want to add a handler to this webservice. I have my
>> handler class with their methods (init, destroy, handlerRequest, ...)
>> but I'm sure that a xml file should be configurated. I suppose that
>> it's jaxrpc-ri.xml, but I don't know how configure it.
>>
>> If anybody could help me...
>>
>> Regards,
>>
>> Javier Arenales
>
>
> Adding to jaxrpc-ri.xml should work. Other option is add it config
> file that is given to wscompile.
>
> for e.g.:
> <configuration
> xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
> <service name="HelloWorldService"
> targetNamespace="http://hello.org/wsdl"
> typeNamespace="http://hello.org/types"
> packageName="simple_handler_test.server">
> <interface name=".server.HandlerTest"
> servantName="server.HandlerTestImpl"/>
> <handlerChains>
> <chain runAt="server">
> <handler className="handlers.ServerHandler"/>
> </chain>
> </handlerChains>
> </service>
> </configuration>
>
> I am wonding why you are not using jax-ws to develop web services.
>
> Jitu
>
> ---------------------------------------------------------------------
> 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
>