THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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 | ||||
---|---|---|---|---|
| ||||
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
...