Have you tried WSDL2Java on the WSDL generated by .NET and use the resulting stub code 
to invoke the service?

--
Tom Jordahl
Macromedia


-----Original Message-----
From: Paul Baker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 12:33 PM
To: [EMAIL PROTECTED]
Subject: axis beta 1 and document style, best approach?


Hello,

Looking for a better approach for my java client to deal with a .Net
service.  Doesn't seem to be any examples, or even vague references, that
deal with document style soap envelopes in the Axis beta 1 documentation.

I'm new to axis, so I suspect I may be missing the point and doing things
the hard way.

To get some data into my client...I make up my own document style envelope
and build a SOAPEnvelope object, by using the SOAPEnvelope contructor method
that accepts an inputstream.  I use the call.invoke(customEnv) method, which
returns a soap envelope object.  Then I end up parsing the response envelope
on my own using DOM, and finally place the data into my client application
data format.

Theres must be an easier way, right?  My approach works, but theres more of
my own code doing the plumbing chores than I'd like.

Regards,
Paul

Reply via email to