Hi All,

 

I'm trying to write a BPEL process to invoke a webservice written in
.Net with http:NegotiateAuthentication
<http://callAX/dana-cached/help/empty.html>  but I'm having trouble
doing this successfully.

 

When I try to invoke the BPEL process, I get the error as follows -

 

 

18:29:46,720 ERROR [ExternalService] Error sending message
(mex={PartnerRoleMex#hqejbhcnphr5io71s83d7d [PID {http://callAX
<https://secure.ptc.com/> }CallAX-3] calling

[email protected](...) Status ASYNC}):

Transport error: 401 Error: Unauthorized

org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized


  at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.jav
a:298)

 

 

The problem obvious is that I somehow need to add the username and
password. I see the following at the top of the wsdl file.

 

 

<wsp:Policy wsu:Id="BasicHttpBinding_MyCustomerService_policy">

                <wsp:ExactlyOne>

                                <wsp:All>

<http:NegotiateAuthentication>

                                </wsp:All>

                </wsp:ExactlyOne>

</wsp:Policy>

 

I have posted this question to Apache ODE guys asking them "What steps
do I have to go through to enable the NegotiateAuthentication in my BPEL
process?". They suggested that we can use Apache Rampart module to
invoke the Negotiated Authenticatd web services. But they were not sure
if Rampart supports this kind of Authentication. So, can you please tell
me is it possible to write a Rampart client to invoke a
http:NegotiateAuthentication web service? If yes, can you provide me
with some sample examples or some documentation that talks about this?

 

Thanks for your help.

Vikas

Reply via email to