Hi, I've searched the archives (and google) for 2 full days and still have not found the solution to this problem.  I am using JRE/JDK 1.5.0, and Axis 1.4 with SOAP client generated from WSDL2Java.  I have commonsHTTPSender enabled as the http transport by placing the correct client-config.wsdd in the app working directory.

 

The .NET third party service I am trying to use (via SSL) requires two calls to be made together during a single connection.  My understanding is that Commons-httpclient will do this.  I have compiled Axis 1.4 from source with all libraries included.  Everything compiled and runs fine.

 

However, it appears that CommonsHTTPSender is opening a new connection for each call which is preventing the operation from succeeding. The first call is to send user credentials and the second call is for the action I wish to perform.

 

I make the first call to log into the service, which returns success (logged in), and I get an error message from axis:

 

"Discarding unexpected response: HTTP/1.1 100 Continue"

 

Then I make my second call (the action call) and I receive a "not logged in" error from the service follow by

 

"Discarding unexpected response: HTTP/1.1 100 Continue"

 

I have tried using locator.setMaintainSession(true) with no effect.

 

Please help, I've been trying to get past this for days and this is the only thing holding up my project.

 

Is there something else I am missing? Am I troubleshooting the correct problem? Help!

 

Thanks in advance,

-tom

Reply via email to