Skip to main content

steps to create a java client to access a remote WebService using STS authentication

1 reply [Last post]
rosadom
Offline
Joined: 2013-01-08
Points: 0

I need to write a client (in java) to access a remote web service, the remote service is implemented in WCF and is using STS authentication.
I have the web service wsdl URL and also the URL for its STS, can someone point me to a simple set of instructions (something like step by step) that are specific to this case.

Have gone through several instructions and most of them talk about creating your keystone and trust-store and entry in wsit-client xml, i am not sure why i need these if i am just consuming the service.

Also I have a specific questions, the remote STS wsdl itself has a X509 certificate tag (hence the certificate), i am not sure by its there, any help would be great.

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Glen Mazza

http://www.jroller.com/gmazza/entry/metro_sts_tutorial may help you.

Depending on the STS' requirement, the client will need to provide some
credentials to the STS to prove you are who you say you are. Two common
methods are UsernameToken authentication, another is using X.509
certificates, both are covered in the tutorial above.

HTH,
Glen

On 01/08/2013 12:59 PM, forums@java.net wrote:
> I need to write a client (in java) to access a remote web service, the
> remote
> service is implemented in WCF and is using STS authentication. I have
> the web
> service wsdl URL and also the URL for its STS, can someone point me to a
> simple set of instructions (something like step by step) that are
> specific to
> this case. Have gone through several instructions and most of them
> talk about
> creating your keystone and trust-store and entry in wsit-client xml, i
> am not
> sure why i need these if i am just consuming the service. Also I have a
> specific questions, the remote STS wsdl itself has a X509 certificate tag
> (hence the certificate), i am not sure by its there, any help would be
> great.
> Thanks
>