cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service: Sender Channel with JAVA client (Apache Axis)

Former Member
0 Kudos

Hello to all,

I am trying to connect an Axis-based Java client to XI via the SOAP adapter.

When connecting, the client receives the error message "Unauthorised" - it seems as if it cannot handle the basic HTTP authentication.

Can I easily disable this authentication mode in XI (or better: in this adapter)?

Or does anybody know how to implement the authentication in the Axis framework?

Many thanks and best regards,

Carsten

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Carsten,

AFAIK, you must provide the credntials to access the service on XI. Follow the section <b>Call configuration</b> on this link

http://ws.apache.org/axis/java/client-side-axis.html.

you basically need to properties with the Call method as explained in the link.

Former Member
0 Kudos

Hello Amol!

Indeed we found how to submit the username and password properties. Unfortunately this does not work in Axis2 1.0 up to now, so we downgraded to Axis 1.4.

(We had to call the motehods setUsername and setPassword instead of setProperty, but it seems to work now).

Many thanks for your hint!

Best regards,

Carsten

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello again,

in the meantime I found the topic "SOAP Sender ADAPTER 401 No Authorisation" a few pages down here which seems to deal with the same problem, but no solution for me, as I am not able to teach the Axis framework to use the user credentials I prepared.

So I continue to hope for somebody to have experience with this issue.

Best regards,

Carsten