I just started developing with .net and Axis yesterday...so I'm not sure
if I'm even qualified to answer this question or if this is even the
answer that you are looking for...but this is how I do it...(at least
when my Axis would still compile:) ) 

In VS.net under your solution explorer...right click and add "web
reference"...in the address type the location of the WSDL...ex:

http://www.yourhostname.com:8080/axis/webservice1.jws?WSDL

click go 

Then simply click "Add reference".

The code to invoke the webservice will be as follows:

Dim xxx As New com.yourhostname.www.webservice1Service()

Hope that helps...

-----Original Message-----
From: Steve Loughran [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 31, 2002 1:01 PM
To: [EMAIL PROTECTED]
Subject: Re: RES: AW: How do you pass an XML document between Axis and
.Net Cl ient?


----- Original Message -----
From: "Andrew Vardeman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 31, 2002 8:44 AM
Subject: Re: RES: AW: How do you pass an XML document between Axis and
.Net
Cl ient?


> Well, following the model folks are suggesting for sending XML
documents
> via RPC, you could XML-encode the .VRML and send it as a string. If
you
> really wanted to, you could Base64-encode the JPG and do the same
> thing.  That would be kinda silly though, since the SOAP spec allows
MIME
> attachments to be sent following the SOAP Envelope.  Inside the SOAP
> Envelope, you reference the file that's included as a MIME
> attachment.  According to the User's Guide, Axis has preliminary
support
> for SOAP With Attachments.  See the attachments/ directory in the Axis
samples.
>

Trouble with SwA is that not all other implementations handle it,
specifically .NET, so if you want true interop its our friend base-64,
making XML based protocols even less efficient than they are already.

Reply via email to