function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
FandangoFandango 

Has anybody ever use Sun Java Web Services Pack to create client proxy files from salesforce WSDL ?

Has anybody ever use Sun Java Web Services Pack to create client proxy files from salesforce WSDL ????


I'd like to know how ?
adamgadamg
I hate to answer your question this way, but any reason to not just use Axis? If you did we'd certainly be able to support you more easily..
FandangoFandango
Ok. I used axis to create the client proxy files. After compiling all the newly created file when I try to establish the connection, I get the following exception

; nested exception is:
java.net.ConnectException: Connection refused


Also, I get the same exception when I use the quickstart.

BTW, I specify the proxy and and port when I run the code.
java -Dhttp.proxyHost=xxxx -Dhttp.proxyPort:#### -jar quickstart.jar quickstart

Am I missing anything ?
DevAngelDevAngel

Hi Fandango,

Might be better to try and run one of the java samples from a debugger rather than the compiled jar.  I reckon doing it that way would give you more confidence that the proxy settings are being used correctly.

FandangoFandango
I'm able to run the sampple code from within IDE.

Thanks!