I'm not sure I understand your problem. Could you show us your WSDL?
Russell Butek
[EMAIL PROTECTED]
"Houman Moshtagh" <[EMAIL PROTECTED]> on 05/16/2002 01:11:12 PM
Please respond to [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
cc:
Subject: WSDL2Java against a WSDL file from MS Soap
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