If the web service is relatively recent, you should be able to use the JAX-WS 
reference implementation that comes bundled with the standard JRE (since 1.6).

Usually you’d make JAX-WS client class generation a part of your build process, 
but a quick way to generate client classes to test the client is to use the 
wsimport command line utility that comes bundled with java. Just go to your 
terminal and write “wsimport [url to wsdl]”. You can pass the argument 
-Xnocompile to the wsimport command if you prefer to get java classes rather 
than compiled class files. 

Assuming the import process works well (and has configured endpoints) you’ll 
end up with a folder in your working directory, containing java sources you can 
use to communicate with the web service. There’s a class for each defined 
service in the WSDL, those classes have methods that return instances of ports, 
and from there you should be able to invoke service methods like any old code.

Lots of great examples online: 
https://www.google.com/search?q=wsimport+example+client 
<https://www.google.com/search?q=wsimport+example+client>

Cheers,
- hugi

// Hugi Thordarson
// http://www.loftfar.is/ <http://www.loftfar.is/>
// s. 895-6688



> On 3. sep. 2015, at 12:42, Benjamin Steiner <[email protected]> wrote:
> 
> Hi List
> 
> We have the following situtation:
> Our Customer has an external Application that provides a Web Service. Our 
> task is to get our Wonder application to upload data to said Web Service, 
> which provided us with a WSDL-file. Is there anyone with experience who could 
> give a crash course for that?
> 
> Thanks,
> 
> Beni
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to