This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Does Axis2 supports Legacy applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Does Axis2 supports Legacy applications" Watch "Does Axis2 supports Legacy applications" New topic
Author

Does Axis2 supports Legacy applications

Rizwan Patel
Ranch Hand

Joined: Jan 03, 2008
Posts: 59
Hi All,

I wanted to know whether the JAVA webservice (Service) is accessible from a client written in C language? with the help of Axis2 soap engine?

Is Axis2 provides support for C and Java interoperability?

Is there any other options available to tackle this problem of accessing the JAVA webservice through C client.

Please assist me as it is very important, as I know that Axis2 is support to java client.

Please help!!!


scjp 1.5, OCPJWSD 5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39529
    
  27
You're in luck - there is no problem accessing an Axis web service by a client that's written in some other language. One of the main points of web services is interoperability; none of the SOAP standards (SOAP, WSDL, UDDI, WS-Security etc.) is limited to any one language; it's all just XML that can be created and processed by any language that's got an XML parser.


Ping & DNS - updated with new look and Ping home screen widget
Rizwan Patel
Ranch Hand

Joined: Jan 03, 2008
Posts: 59
Hi Sir,
As par your reply Webservice is mainly dealt with interoperability, thats great.
One concern then how should I proceed _ should I use the Axis2 soap engine to develop the webservice?

How to go to develop the C client by Axis2....
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39529
    
  27
You can use Axis2 to develop the service, but it won't be any help in creating the client (its wsdl2java tool creates Java code, not any other language).

I'm sure that are tools available that can create C clients from a WSDL; check the documentation of whichever C SOAP stack you're planning to use.
vishakha Jewlikar
Greenhorn

Joined: Dec 18, 2008
Posts: 4
Hi,
You can use gSOAP which is C++ toolkit to develop web applications. It has wsdl2h tool which generates header from wsdl file.

Regards,
vishrj
Rizwan Patel
Ranch Hand

Joined: Jan 03, 2008
Posts: 59
Hi Vishakha,
You can use gSOAP which is C++ toolkit to develop web applications. It has wsdl2h tool which generates header from wsdl file.


We want to use the client application in C. Can you please provide any focus on this.
And gSOAP is licenced by IBM or its a freeware?
vishakha Jewlikar
Greenhorn

Joined: Dec 18, 2008
Posts: 4
You can download it from http://www.cs.fsu.edu/~engelen/soapdownload.html

You can use wsdl2h utility to create header and then you can develop client based on this. They have some C samples as well.
Refer http://www.cs.fsu.edu/~engelen/soap.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does Axis2 supports Legacy applications
 
Similar Threads
Web Start and Web Services
Consuming secure web-services (Axis2 + Rampart)
Help with WebService on RAD and WebSphere
JAXWS Problem with WSDL and WebService on WebSphere using RAD
creating wsdl first and then webservice