users@jax-rpc.java.net

Re: JAX-RPC SI and server authentication

From: Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM>
Date: Wed, 17 Jun 2009 11:07:58 -0700

Can you not use NetBeans JAX-WS client ? or is the service rpc/encoded
style of service?

Jitu

Harri T. wrote:
> Just forget about this post. The problem seems to be at the service end.
>
> -Harri
>
> On 17.06.2009 09:45 Harri T. wrote:
>> Hi all!
>>
>> I've created a JAX-RPC client with NetBeans JAX-RPC plugin and trying
>> to use it with Liferay tunnel-web. However, I can't find information
>> about passing authentication credentials to the client. I've tried to
>> do it this way with no luck:
>>
>> GroupServiceSoap_Stub soap = (GroupServiceSoap_Stub) (new
>> GroupServiceSoapService_Impl()).getPortal_GroupService();
>> soap._setProperty(Stub.USERNAME_PROPERTY, username);
>> soap._setProperty(Stub.PASSWORD_PROPERTY, password);
>>
>> So, how to do the trick in practice? Thanks for helping...
>>
>> -Harri
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> 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
>