Its OK, I got the sample working, and I am impressed.

It turned out to be yet another authenticating proxy hurdle.

The WSIF FAQ #6 states that you can either do option 1 or 2 to invoke a service from behind a firewall.   I found that you have to do both in my case. I don't know why this is so.

Cheers,

Lachlan

At 12:39 PM 12/03/2004 +1000, you wrote:
Hello,

I was wondering if someone could please give me some advice.   I am trying to get the DynamicInvoker to call the samples and continually get exception messages saying:

org.apache.wsif.WSIFException: Cannot get Object part 'return'. No parts are set on the message

I have attached a full copy of the console output showing the classpath I used and the full error messages.

I am behind a firewall with an authenticating proxy server, but i have managed to get the the dynamic invoker to successfully retrieve the WSDL file located at xmethods.  I did this by adding the following lines to the Dynamic Invoker class:

System.getProperties().put("http.proxyHost", myProxyHost);
System.getProperties().put("http.proxyPort", myProxyPort);
java.net.PasswordAuthentication pa = new java.net.PasswordAuthentication(myUserName, myPasswd);
Definition def = WSIFUtils.readWSDLThroughAuthProxy(wsdlLocation, pa);

I am using the latest copy of the nightly builds because WSIF vers 2.0 doesn't support the readWSDLThroughAuthProxy method.

I would be extremely grateful if anyone can provide help/advice.

Kindest Regards,


Lachlan

Lachlan Aldred
Research Programmer
Centre for Information Technology Innovation
Queensland University of Technology
Web: http://sky.fit.qut.edu.au/~aldredl/

Reply via email to