You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Dhananjayan_K <Dh...@Satyam.com> on 2005/02/01 10:12:24 UTC

Unable to create Axis webservice instance in .Net client

		Hi,
		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.

		Can anyone help...
		thanks in advance...



Re: Unable to create Axis webservice instance in .Net client

Posted by HG <ax...@nospam.websolver.dk>.
Hi

Ehh... Maybe this answer is too simple or I am misunderstanding you. Dunno.

In C# you would have to write a using declaration in top of you code file
for the namespace containing the generated proxy class.

Better of asking on the ms newsgroups for questions like these...

HTH

Henrik
http://websolver.blogspot.com




----- Original Message ----- 
From: "Dhananjayan_K" <Dh...@Satyam.com>
To: <ax...@ws.apache.org>
Sent: Tuesday, February 01, 2005 10:12 AM
Subject: Unable to create Axis webservice instance in .Net client


>
> Hi,
> 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.
>
> Can anyone help...
> thanks in advance...
>
>