Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

C++ client connecting to a JAX-RPC web service

 
Miki Muzsi
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Miki Muzsi
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic