• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Java Web services - Getting WSDLs

Probably needs to configure it to use your proxy so that it can grab any schemas that live elsewhere. Under General->Network Connections in the preferences.

This just gets better... He is using some form of command line to create the objects, because you cant use Eclispe to do it as it wont create all the classes etc...

This is just a client he is creating. Surely you can use Eclipse to create relevant objects and related things?

Our prozy setting are under that tab, do we need to change that to the location of the file, or can you select location when trying to create an object?

Cheers
 
This just gets better... He is using some form of command line to create the objects, because you cant use Eclispe to do it as it wont create all the classes etc...

This is just a client he is creating. Surely you can use Eclipse to create relevant objects and related things?

Our prozy setting are under that tab, do we need to change that to the location of the file, or can you select location when trying to create an object?

Cheers

In theory yes, but in practice the code gen plugins don't always do what you want or offer the full set of options that the command line tools do, it depends on the framework & what you are trying to acheive.

If he's running java from the command line he needs to pass some extra parameters, e.g. java -Dhttp.proxyHost=a.b.c.d -Dhttp.proxyPort=8080 ....

Once the code gen has run you can create a new project and import the generated classes.
 
What tool set is he using? For example, Axis2.

I had problems with Axis2's eclipse wizards and had to use the command line client code generator. However, I did have a local copy of the wsdl.
 

Advertisers

Back
Top