Hi Jens,

To my surprise, your exact code worked for me without any trouble on both sync and async (with your MyOwnCallbackHandler) cases. I had to comment two lines in the PWCBHandler since it gave me a NPE

//            if (pwcb.getPasswordType().equals("passwordText")){
//            }

Also I have commented the proxy that you have used on the HttpClient code and called the ESB instance directly. This might have some impact on this. Please try after removing the proxy and let me know what happened.

//         ProxyProperties pp = new ProxyProperties();
//         pp.setProxyName("localhost");
//         pp.setProxyPort(8001);// auf 8280 - ESB
//         pp.setProxyPort(8002);// auf 8180 - Tomcat
//         options.setProperty(HTTPConstants.PROXY, pp);

Here is the async output I got from the callback

callback: from ibm World, hello to you!
[INFO] from ibm World, hello to you!

Thanks,
Ruwan

Asankha C. Perera wrote:
Hi Jens
maybe I can help you investigating the problem? I can upload my complete eclipse projects to an ftp-server if this would help.
Ruwan has fallen sick with fever.. so it may take a couple of days for you to get back a reply.. In the meantime, if you do have access to a FTP server, please upload your code and send him a pointer via a private mail



_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to