This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes C++ client connecting to a JAX-RPC web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "C++ client connecting to a JAX-RPC web service" Watch "C++ client connecting to a JAX-RPC web service" New topic
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
    
    5
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
    
    5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: C++ client connecting to a JAX-RPC web service