Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For more in depth information see the Hello World demos inside the distribution.

JAX-WS Proxy

...

Instead of using the generated stub client directly, you can use Service.create to create Service instances, the following code illustrates this process:

Code Block
java
java

URL wsdlURL = new URL("http://localhost/hello?wsdl");
private QName SERVICE_NAME = new QName("http://apache.org/hello_world_soap_http", "SOAPService");
Service service = Service.create(wsdlURL, SERVICE_NAME);
Greeter client = service.getPort(Greeter.class);
String result = client.greetMe("test");

Simple Frontend Client Proxy

...