| Author |
C++ client connecting to a JAX-RPC web service
|
Miki Muzsi
Ranch Hand
Joined: Jun 23, 2003
Posts: 120
|
|
I would like to build a Web Service using JAX-RPC, and I need both a Java client and a C++ client. For being able to connect a C++ client to the web service I need an XML-RPC implementation in C++. Is anybody familiar/experienced in using such C++ tools/libraries? Could you recommend any of them and/or with some examples? Thanks, Miki SCJP 1.4
|
Miki<br /> <br />SCJP 1.4, SCBCD 1.3
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
If you're really talking about XML-RPC, then you should take a look at the implementations page at xmlrpc.com. However, that's a different protocol altogether so you won't be able to communicate with JAX-RPC.
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
Miki Muzsi
Ranch Hand
Joined: Jun 23, 2003
Posts: 120
|
|
Koskela, Thanks for the info. But then how can I build a C++ client that connecs to a Web Service built with JAX-RPC? Miki
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
You get your hands on the WSDL published for the web service, find a SOAP client library for C++, and start writing the client against the WSDL. The fact that the WSDL is JAX-RPC "compatible" has no significance from the client's point of view. gSOAP is probably a good candidate.
|
 |
Miki Muzsi
Ranch Hand
Joined: Jun 23, 2003
Posts: 120
|
|
Koskela, Thanks. I just figured out that indeed I need a SOAP client library for connecting to the web service. It seems that sqldata is also a good candidate. Thanks again is clear now, Miki
|
 |
 |
|
|
subject: C++ client connecting to a JAX-RPC web service
|
|
|