Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Swordfish Documentation: Creating JAX-WS Client"

Line 9: Line 9:
 
==About JAX-WS Client==
 
==About JAX-WS Client==
 
For the general information about how to configure the JAX-WS client please look at
 
For the general information about how to configure the JAX-WS client please look at
http://cwiki.apache.org/CXF20DOC/jax-ws-configuration.html (Configuring a Spring Client section)
+
http://cwiki.apache.org/CXF20DOC/jax-ws-configuration.html (Configuring a Spring Client section) <br>
 
In general it is used to create the java proxy based on the supplied interface class.<br> This proxy transforms method call into the SOAP request and sends it to the web service
 
In general it is used to create the java proxy based on the supplied interface class.<br> This proxy transforms method call into the SOAP request and sends it to the web service
 
==Creating the Client==
 
==Creating the Client==
 +
The sample that shows hot to create the JAX-WS client is located at http://dev.eclipse.org/svnroot/rt/org.eclipse.swordfish/trunk/org.eclipse.swordfish.samples/org.eclipse.swordfish.samples.cxfendpoint/
 +
 
To create the client:
 
To create the client:
  

Revision as of 05:04, 30 June 2009

Creating the JAX-WS Client

This section contains instructions on creating the JAX-WS client for the JAX-WS service deployed into the NMR.

Prerequisites

Eclipse Galileo M7 build or later.
The target platform should contain the Apache CXF and the org.apache.servicemix.cxf.transport.nmr bundles
The examples described here are based on Eclipse Galileo M7.

About JAX-WS Client

For the general information about how to configure the JAX-WS client please look at http://cwiki.apache.org/CXF20DOC/jax-ws-configuration.html (Configuring a Spring Client section)
In general it is used to create the java proxy based on the supplied interface class.
This proxy transforms method call into the SOAP request and sends it to the web service

Creating the Client

The sample that shows hot to create the JAX-WS client is located at http://dev.eclipse.org/svnroot/rt/org.eclipse.swordfish/trunk/org.eclipse.swordfish.samples/org.eclipse.swordfish.samples.cxfendpoint/

To create the client:

Back to the top