After the webservice client is generated in eclipse, the interface can be called in the following way.
The generated client has an interface that inherits the Service class: interface XXXService extends javax.xml.rpc.Service
and an implementation class of the interface: XXXServiceLocator implements XXXService
and an interface that inherits the Remote class: interface XXXPortType extends java.rmi.Remote
and One that implements this interface XXXSoapBindingStub implements XXXPortType
you can call with these four classes
The generated client has an interface that inherits the Service class: interface XXXService extends javax.xml.rpc.Service
and an implementation class of the interface: XXXServiceLocator implements XXXService
and an interface that inherits the Remote class: interface XXXPortType extends java.rmi.Remote
and One that implements this interface XXXSoapBindingStub implements XXXPortType
you can call with these four classes
1
2
3
|
XXXService service =
new
XXXServiceLocator();
XXXSoapBindingStub client = (Stub) service.getXXX();
System.out.println(client.MOTHOD(PARAM1...));
|