writing webservice in c....need help

arunkumar0107's picture
hi all, i wanted to know how to start to write a web service in c.... i am working on integrating translation feature in Pidgin( an open source IM ) For this i need a web service which connects to babelfish and gets back the translated text. So can anyone help me on how to start to code this web service in C language? cheers, arun
rajika's picture

look at wsf/c

hi there, Please have a look at Web services framework for C(WSF/C). It's an web service framework written in C language. Have a look at the documentaion, have a look at the samples. http://wso2.org/projects/wsf/c -Rajika
arunkumar0107's picture

translation webservice

hi all, I want to write a web service which sends an http request to http://babelfish.yahoo.com, i want to send some text and get back the translated text (the translation is done by babelfish). Also i need to call this web service from a C plugin (written for Pidgin, an open source chat engine). I went through the tutorial -- Developing a C Web Service Client with WSF/C and Visual Studio , but it speaks about a web client, whereas i want to write my own web service..... can anyone help please....? cheers, arun
uthaiyashankar's picture

WSF/C wraps Axis2/C. So, the

WSF/C wraps Axis2/C. So, the way you write WSF/C services are same as Axis2/C services. You can find some details from http://ws.apache.org/axis2/c/docs/axis2c_manual.html#quick_start
arunkumar0107's picture

http methods...

thanks uthaiyashankar for replying.... the tutorial is really very helpful.. Can i get some more detailed information in writing a web service? Because since i need to send http request from my web service to an external website , process the response and then send this back to client, i need some more details on how to use http methods..Also is there any regular expression functions so that i can parse the response from the external website and extract the content which i need to send to the client ........ cheers, arun
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)