Re: Java source code from WSDL

2006-04-17 Thread Dies Koper
Hello Yasmin, In the code that you attached to your original message you had such a method: public interface KeyAccidentService_Service extends javax.xml.rpc.Service { public keyAccident2.KeyAccidentService_PortType getAxisServlet() throws javax.xml.rpc.ServiceException; [...] } I tried

Re: Java source code from WSDL

2006-04-17 Thread rafiqy
Hi Dies, ...for some reason I'm getting the following error message: method service.getAxisServlet() is not found? Please advice thanx yasmin > Hello Yasmin, > > There are several ways. > I recommend the following (JAX-RPC compatible, no dependencies on Axis > so portable across JAX-RPC compa

Re: Java source code from WSDL

2006-04-17 Thread Dies Koper
Hello Yasmin, There are several ways. I recommend the following (JAX-RPC compatible, no dependencies on Axis so portable across JAX-RPC compatible SOAP engines). import javax.xml.rpc.*; ServiceFactory sf = ServiceFactory.newInstance(); KeyAccidentService_Service service = (keyAccident2.KeyAc