Hello,
The problem is that I get 4 Files from the WSDL File (MSSoap) as shown
below:
- CreateCOM.java
- --> CreateCOMLocator.java
- --> CreateCOMSoapPort.java
- CreateCOMSoapBindingStub.java
Instead of getting these 4 Files from a WSDL (Axis) (like the guide):
- CreateCOM.java
- --> CreateCOMService.java
- --> CreateCOMServiceLocator.java
- CreateCOMSoapBindingStub.java
This one is the example of AXIS Guide. But how can I build a Service
without a CreateCOMService.java and CreateCOMServiceLocator ?
public class Tester
{
public static void main(String [] args) throws Exception {
// Make a service
AddressBookService service = new AddressBookServiceLocator();
// Now use the service to get a stub which implements the SDI.
AddressBook port = service.getAddressBook();
// Make the actual call
Address address = new Address(...);
port.addEntry("Russell Butek", address);
}
}
Regards
Houman
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com