Using Axis C++ Server with Axis Java client

Please support our XML, XSLT and XPATH advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2006
Posts: 22
Reputation: hanifa is an unknown quantity at this point 
Solved Threads: 0
hanifa hanifa is offline Offline
Newbie Poster

Using Axis C++ Server with Axis Java client

 
0
  #1
Feb 12th, 2008
Hi,
this is my requirement :
I have a c++ library/API in the server and client computers running Java applets can send data over to the server and server after processing will send the resultant data back.

What I have done:
Following the excellant tutorial at http://www.linux.com/feature/113947?...=3&render=flat
titled "Creating Web Service using Apache Axis-C++" , I have made the tutorial work .
But in the tutorial, the client is also c++ and it uses the WSDL2WS tool to general client stubs.

However, after some googling, I figured out that you need to use the java2wsdl to generate java stubs.But then, when i looked at the java tutorials , I am a bit perplexed.

What i would like to know is this :
The below is wrt to the above tutorial.
For C++ clients, you do this
1) java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -lc++ -sclient -oclient ./MD5.wsdl
2)Modify the main file which results to call the server function
3)gcc -o md5test *.cpp -I. -laxiscpp_client -L$AXISCPP_DEPLOY/lib -I$AXISCPP_DEPLOY/include -ldl

May I know what is the equivalent procedures to do for a Java client. It would be great if you could answer with respect to the above 3 steps, if possible.

I am using Apache 2.0.63 and Axis 1.4 in Ubuntu(linux) environment.


Thanks for all the help.

Regards
Hanifa
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the XML, XSLT and XPATH Forum


Views: 1760 | Replies: 0
Thread Tools Search this Thread



Tag cloud for XML, XSLT and XPATH
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC