aspose file tools
The moose likes Web Services and the fly likes Tomcat and C++Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Tomcat and C++Axis" Watch "Tomcat and C++Axis" New topic
Author

Tomcat and C++Axis

John McDonald
Ranch Hand

Joined: Jul 01, 2003
Posts: 112
Hi there,
I would like to do some prototyping to expose some of my java codes as web services and write C++ code as client to access it. I download tomcat 5512 and axis C++. I don't know how to put these two together to run a sample code. Is anyone has done it or can show me a simple way to run? Thanks a lot

John
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 32767
AxisC++ is a SOAP engine written in C/C++ that runs inside Apache; it's not going to help you expose Java code - you need the Java version of Axis. Once you have a web service running, you can use the WSDL2Ws tool (which is part io AxisC++) to generate client classes in C/C++.

You can find links on how get started using Axis/Java in the Web Services FAQ, which is linked in my signature.
[ October 28, 2005: Message edited by: Ulf Dittmer ]

Android appsImageJ pluginsJava web charts
John McDonald
Ranch Hand

Joined: Jul 01, 2003
Posts: 112
Hi Ulf,
I downloaded the tomcat and axis for java version to expose Java. But how do I write the C++ code to access to those java service. The reason of my confusion is that Axis has Client and Server. And they come in Java and C++ version. If I download tomcat and Axis (java version), let say this is done smoothly for the sake of simplicity, do I need to download Axis (C++ version) since I need to run some C++ sample code? Thank you very much for your nice response.

John
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 32767
John, I'm not all that familiar with AxisC++, but it helps create the C/C++ classes you need on the client side (the tool I mentioned earlier), and I would imagine that the generated client classes also rely on some runtime classes that it provides.

If you already have client code through some other means, you wouldn't need it.

And you don't need its server parts at all, but there is only a single download that packages client and server parts together.
 
 
subject: Tomcat and C++Axis
 
Threads others viewed
How to implement C++ Axis as Client
classpath of JAR files
Another CLASSPATH Problem!!!!
uddi4j SaveBusinessExample error
Java2WSDL in AXIS 1.4 shows shows java.lang.NoClassDefFoundError: org/apache/axis/wsdlgen/Java2WSDL
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com