Hi Bill,
 
Sorry for misleading...
Iam able to create the web reference in .Net, but iam not able to create an instance for the web service and invoke it.
It does not give any errors.
 
some thing like...
I have created a web reference("NetClient") for a webservice running in Axis thru "Add Web Reference",
in order to invoke the service I have to instansiate that like
   NetClient.Employee emp1 = new NetClient.Employee(); //Where NetClient is the web reference and NetClient.Employee is the service.
But what happens is NetClient object is not visible.
 
thanks..
 
 

 
 
bsd_gfa0094j1.EmployeeInfoService Einfoser = new OrdPurchase.bsd_gfa0094j1.EmployeeInfoService();
//
//   bsd_gfa0094j1.Employee emp1 = new OrdPurchase.bsd_gfa0094j1.Employee();
//   emp1.employeeID = "1";
//   emp1.employeeID = "Name";
//   
//   Einfoser.addEmployee(emp1);
//
//   bsd_gfa0094j1.Employee emp2 = new OrdPurchase.bsd_gfa0094j1.Employee();
//   emp2.employeeID = "2";
//   emp2.employeeID = "Name 2";
//
//   Einfoser.addEmployee(emp2);
//
//   bsd_gfa0094j1.Employee emp3;// = new OrdPurchase.bsd_gfa0094j1.Employee();
//   emp3 = Einfoser.getEmployee("1");
-----Original Message-----
From: Bill Keese [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 01, 2005 6:49 AM
To: [EMAIL PROTECTED]
Subject: Re: Interoprability issue of Axis with .Net

Dhananjayan_K wrote:
Hi,
I tried another simple example from java.sun.com, for this iam not able to create Client from .Net (by choosing
"Add Web Reference")can anyone help...
What was the error message?  I tried using "Add Web Reference" in VB and it completed without any error message, but I couldn't figure out how to actually use the web reference I had added.  So instead, I did

C:\> wsdl.exe /l:vb http://localhost:8080/axis/services/myTestService.wsdl

That gave me a lot of error messages about my WSDL file, but once I had fixed all the errors it reported everything seemed to work fine.

How is "Add Web Reference" is supposed to work?  IE, how are you supposed to call the web service that you specified in the "Add Web Reference" setup?

Bill

Reply via email to