Axis doesn’t support the JAXM API. You should use the Axis Message style instead. (It’s the equivalent of JAXM.) Message style takes a DOM as input and returns a DOM. Stu provides a message style sample app here: http://www.relevancellc.com/halloway/wsdlAndAxis/AxisSamples.html.

As an alternative, you can use the SAAJ API, which allows you to directly manipulate the SOAP envelope. Here’s a great reference on SAAJ: http://www.oreilly.com/catalog/javawsian/chapter/ch03.pdf.  

 

Anne

 


From: Dhanush Gopinath [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 5:58 AM
To: [EMAIL PROTECTED]
Subject: Re: Need help

 

Rajendra

 

Looking on to Annnes blogs and JAXM API , I think u can create a document in the DOM format using JAXM and then set it in the SOAP Envelope.

Please have a look at the following link.

 

 

Once u have the SOAP Message then probably u can send that across.

 

Cheers

 

Dhanush Gopinath
Software Engineer
Mahindra British Telecom Ltd
+91-020-4018100 Ext:-1218


"It's the possibility of having a dream come true , that makes life interesting" - Paulo Coelho, The Alchemist

----- Original Message -----

Sent: Monday, July 26, 2004 2:50 PM

Subject: Re: Need help

 

Rajendra ,

 

You will have to generate the WSDL with Message Style and then probably set the body of the SOAP message with the XML. This is what I think.

But even I dont know how to write a client to set the SOAP Body with xmlDoc.

 

Regards

 

Dhanush Gopinath
Software Engineer
Mahindra British Telecom Ltd
+91-020-4018100 Ext:-1218


"It's the possibility of having a dream come true , that makes life interesting" - Paulo Coelho, The Alchemist

----- Original Message -----

From: Rajendra

Sent: Monday, July 26, 2004 2:52 PM

Subject: Re: Need help

 

Hi Dorner,

 I can use the message style for passing the xml docs that's fine.

 But i was not able to get some good example which i can deploy and run

on those links.

 If some one is having the sample examples wherein a XMLDoc is passed through

the client to web service will be of immense help to me.

 

Thanks,

Rajendra.

----- Original Message -----

Sent: Monday, July 26, 2004 1:00 PM

Subject: AW: Need help

 

Hi Rajendra,

 

you want to send xml - so I think  - MessageStyle will be a good solution (logicaly).

 

Maybe this links are helpful: 

 

 

 

-----Ursprüngliche Nachricht-----
Von: Rajendra [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 26. Juli 2004 09:35
An: [EMAIL PROTECTED]
Betreff: Need help

Hi List,

 Im new to web services and axis. My requirement is that my web service client should be in VC++

and web service in java.

 By initial reading i feel i can use axis for developing the java web service and axis-c for

VC++ client to my java web service.

 

 Other thing is that i need to pass the XML as input from axis client. So what's the best approach for

this. So which Service Styles - RPC, Document, Wrapped, and Message I should use.

 

Looking for help immediately.

Thanks in advance.

Rajendra.

 

*********************************************************
Disclaimer:

This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com


*********************************************************
Disclaimer:

This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com


*********************************************************
Disclaimer:

This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

 

*********************************************************
Disclaimer:

This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

Reply via email to