how to communicate with ssl and basic authenticated web service

3 messages Options
Embed this post
Permalink
Wei Xiong

how to communicate with ssl and basic authenticated web service

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
hi, all expert
    I need to use openesb to connect ssl and basic authenticated webservice. how to?
 

Xiong Wei
GC Software Practise Solution Architect
Global Sales and Services
Sun Microsystems, Inc.
Mobile:+86 13611346595
Tel: +86 10 85883715
Fax: +86 1068028988
SherryWeng

Re: how to communicate with ssl and basic authenticated web service

Reply Threaded More More options
Print post
Permalink
Assuming you need to create a client to talk to an HTTPS service which
also requires basic auth:
You can use the "import external WSDL document" wizard to fetch the
service description to invoke in your compapp project. By having a HTTPS
URL, the client (via HTTP BC) will understand to establish a SSL
connection. Please also make sure that the server certs are imported.
You can find the (default) cert config files in the
<AS_HOME>/domains/domain1/config folder. Standard keytool utils will do
to import the certs. Some additional documents you can check out to set
things up:
http://java.sun.com/javaee/5/docs/tutorial/doc/bnbxw.html#bnbyc
http://java.sun.com/javaee/5/docs/tutorial/doc/bnbxw.html#bnbxx
http://blogs.sun.com/enterprisetechtips/entry/using_ssl_with_glassfish_v2

To add the username/password headers(for the basic auth), the easiest
way is to use the NM properties. Here is the documentation for that:
http://wiki.open-esb.java.net/Wiki.jsp?page=UsernamePassword.Normalized.Message.Properties

Regards
--Sherry


Wei Xiong wrote:

> hi, all expert
> I need to use openesb to connect ssl and basic authenticated
> webservice. how to?
>
> Xiong Wei
> GC Software Practise Solution Architect
> Global Sales and Services
> Sun Microsystems, Inc.
> Mobile:+86 13611346595
> Tel: +86 10 85883715
> Fax: +86 1068028988

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Wei Xiong

Re: how to communicate with ssl and basic authenticated web service

Reply Threaded More More options
Print post
Permalink
hi, Sherry
    thanks a lot. I will try.

xiong wei
----- Original Message -----
From: "Sherry Weng" <[hidden email]>
To: <[hidden email]>
Sent: Friday, October 30, 2009 4:04 AM
Subject: Re: how to communicate with ssl and basic authenticated web service


> Assuming you need to create a client to talk to an HTTPS service which
> also requires basic auth:
> You can use the "import external WSDL document" wizard to fetch the
> service description to invoke in your compapp project. By having a HTTPS
> URL, the client (via HTTP BC) will understand to establish a SSL
> connection. Please also make sure that the server certs are imported.
> You can find the (default) cert config files in the
> <AS_HOME>/domains/domain1/config folder. Standard keytool utils will do
> to import the certs. Some additional documents you can check out to set
> things up:
> http://java.sun.com/javaee/5/docs/tutorial/doc/bnbxw.html#bnbyc
> http://java.sun.com/javaee/5/docs/tutorial/doc/bnbxw.html#bnbxx
> http://blogs.sun.com/enterprisetechtips/entry/using_ssl_with_glassfish_v2
>
> To add the username/password headers(for the basic auth), the easiest
> way is to use the NM properties. Here is the documentation for that:
> http://wiki.open-esb.java.net/Wiki.jsp?page=UsernamePassword.Normalized.Message.Properties
>
> Regards
> --Sherry
>
>
> Wei Xiong wrote:
>> hi, all expert
>> I need to use openesb to connect ssl and basic authenticated
>> webservice. how to?
>>
>> Xiong Wei
>> GC Software Practise Solution Architect
>> Global Sales and Services
>> Sun Microsystems, Inc.
>> Mobile:+86 13611346595
>> Tel: +86 10 85883715
>> Fax: +86 1068028988
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]