Title: Message

 Someone just asked a question about their client code:

 Service srv = new Service("http://localhost:49950/iflowws/services/IFWebServices?wsdl", new QName(ns, "IFService"));

Call call = (Call)srv.createCall(new QName(ns, "IFPort"), new QName(ns, "getWorkItemChoices"));

Object result = call.invoke( new Object[] { u, p, new Long(id)} ); 

 

My client code looks like this:

  TZCService service = new TZCServiceLocator();
  TZCServiceSoap port = service.getTZCServiceSoap();
  test = port.getTransactions("Test");

 

 

I'm brand new to Axis and Web Services.  Why does my client code look totally different from someone else's?  I'm using Axis 1.2.1. 

Are different versions of Axis that much different or am I doing something completely wrong? I am not able to access the web service

that I just deployed with my client and can't figure out why.  All the call and invoke stuff is in my Stub.java file.

 

Jan 
 

Reply via email to