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 Dorner Thomas <th...@edmb.debis.com> on 2004/07/26 09:30:24 UTC
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:
http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_
cid494324_tax289201,00.html
<http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26
_cid494324_tax289201,00.html>
http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=1
<http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=1>
http://www.burtongroup.com/weblogs/annethomasmanes/
<http://www.burtongroup.com/weblogs/annethomasmanes/>
-----Ursprüngliche Nachricht-----
Von: Rajendra [mailto:rajens@mahindrabt.com]
Gesendet: Montag, 26. Juli 2004 09:35
An: axis-user@ws.apache.org
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
RE: Need help
Posted by Anne Thomas Manes <an...@manes.net>.
Axis doesnt support the JAXM API. You should use the Axis Message style
instead. (Its 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. Heres a great reference on SAAJ:
http://www.oreilly.com/catalog/javawsian/chapter/ch03.pdf.
Anne
_____
From: Dhanush Gopinath [mailto:dhanush@mahindrabt.com]
Sent: Monday, July 26, 2004 5:58 AM
To: axis-user@ws.apache.org
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.
http://www.onjava.com/pub/a/onjava/2001/11/28/jaxpack2.html?page=1
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 -----
From: Dhanush <ma...@mahindrabt.com> Gopinath
To: axis-user@ws.apache.org
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 <ma...@mahindrabt.com>
To: axis-user@ws.apache.org
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 -----
From: Dorner <ma...@edmb.debis.com> Thomas
To: 'axis-user@ws.apache.org'
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:
http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_
cid494324_tax289201,00.html
http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=1
http://www.burtongroup.com/weblogs/annethomasmanes/
-----Ursprüngliche Nachricht-----
Von: Rajendra [mailto:rajens@mahindrabt.com]
Gesendet: Montag, 26. Juli 2004 09:35
An: axis-user@ws.apache.org
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
Re: Need help
Posted by Dhanush Gopinath <dh...@mahindrabt.com>.
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.
http://www.onjava.com/pub/a/onjava/2001/11/28/jaxpack2.html?page=1
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 -----
From: Dhanush Gopinath
To: axis-user@ws.apache.org
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
To: axis-user@ws.apache.org
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 -----
From: Dorner Thomas
To: 'axis-user@ws.apache.org'
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:
http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_cid494324_tax289201,00.html
http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=1
http://www.burtongroup.com/weblogs/annethomasmanes/
-----Ursprüngliche Nachricht-----
Von: Rajendra [mailto:rajens@mahindrabt.com]
Gesendet: Montag, 26. Juli 2004 09:35
An: axis-user@ws.apache.org
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
Re: Need help
Posted by Dhanush Gopinath <dh...@mahindrabt.com>.
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
To: axis-user@ws.apache.org
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 -----
From: Dorner Thomas
To: 'axis-user@ws.apache.org'
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:
http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_cid494324_tax289201,00.html
http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=1
http://www.burtongroup.com/weblogs/annethomasmanes/
-----Ursprüngliche Nachricht-----
Von: Rajendra [mailto:rajens@mahindrabt.com]
Gesendet: Montag, 26. Juli 2004 09:35
An: axis-user@ws.apache.org
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
Re: Need help
Posted by Rajendra <ra...@mahindrabt.com>.
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 -----
From: Dorner Thomas
To: 'axis-user@ws.apache.org'
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:
http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_cid494324_tax289201,00.html
http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=1
http://www.burtongroup.com/weblogs/annethomasmanes/
-----Ursprüngliche Nachricht-----
Von: Rajendra [mailto:rajens@mahindrabt.com]
Gesendet: Montag, 26. Juli 2004 09:35
An: axis-user@ws.apache.org
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