on 09-06-2006 6:02 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.