You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by 卢杨 <ly...@hotmail.com> on 2010/05/02 08:03:14 UTC
How to generate WSDL file from C code
Dear all,
I want to generate WSDL file from C code in axis2c web service. How can I do that. I see there is a Calculator.wsdl in axis2c's service sample. Is that done by some interface automatically? Or by human writting?
Your sincerely,
Jason
RE: How to generate WSDL file from C code
Posted by Daniel Eduardo Salas Useche <da...@pitt.edu>.
Hi everybody,
Following the instructions sent by Nandika (Thank you!), I am using wtp in
eclipse to generate my wsdl for an Axis2C webservice. But, my webservice
returns an attachment. And the xop:Include element is in a second level
node. I cannot find a way to define the wsdl such that it is in a second
level node and I cannot find the “attachment” type.
Can anybody help me please?
The input xml is:
<getMeasure>
<date>
20100510
</date>
<num_file>
100
</ num_file >
</getMeasure>
And the output xml is:
<getMeasureResponse>
<attachment>
<xop:Include xmlns:xop=”http://www.w3.org/2004/08/xop/include” href=”cid:
1.7352b3e4-67ef-1bf1-38b1-000f667befa5@apache.org”>
</xop:Include>
</attachment>
<filename>
myfile.tar
</filename>
</getMeasureResponse>
Thank you very much,
Daniel
From: Nandika Jayawardana [mailto:jayawark@gmail.com]
Sent: Monday, May 03, 2010 2:08 AM
To: Apache AXIS C User List
Subject: Re: How to generate WSDL file from C code
You can use the eclipse editor with wtp plugin installed and visually
create your wsdl.
Regards
Nandika
2010/5/2 卢杨 <ly...@hotmail.com>
Dear Nandika,
But my project is a big project and it has been done by others in C. I can
hardly write java class for it. Can you list some tools you know because I
google it a whole afternoon and get no result. Thank you!
Yours sincerely,
Jason
From: Nandika <ma...@gmail.com> Jayawardana
Sent: Sunday, May 02, 2010 8:28 PM
To: Apache AXIS C User List <ma...@axis.apache.org>
Subject: Re: How to generate WSDL file from C code
There are many tools available for generating wsdls. Also you can write a
java class and deploy it in axis2 java and generate the wsdl.
Regards
Nandika
2010/5/2 卢杨 <ly...@hotmail.com>
Dear Developers,
So how should I do? Should I learn the form of wsdl and write it by my self?
Yours sincerely,
Jason
From: Nandika <ma...@gmail.com> Jayawardana
Sent: Sunday, May 02, 2010 7:55 PM
To: Apache AXIS C User List <ma...@axis.apache.org>
Subject: Re: How to generate WSDL file from C code
Axis2/C does not provide a tool for generating WSDL from C code.
Regards
Nandika
2010/5/2 卢杨 <ly...@hotmail.com>
Dear all,
I want to generate WSDL file from C code in axis2c web service. How can I do
that. I see there is a Calculator.wsdl in axis2c's service sample. Is that
done by some interface automatically? Or by human writting?
Your sincerely,
Jason
--
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com
--
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com
--
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com
Re: How to generate WSDL file from C code
Posted by Nandika Jayawardana <ja...@gmail.com>.
You can use the eclipse editor with wtp plugin installed and visually
create your wsdl.
Regards
Nandika
2010/5/2 卢杨 <ly...@hotmail.com>
> Dear Nandika,
>
> But my project is a big project and it has been done by others in C. I can
> hardly write java class for it. Can you list some tools you know because I
> google it a whole afternoon and get no result. Thank you!
>
> Yours sincerely,
> Jason
>
> *From:* Nandika Jayawardana <ja...@gmail.com>
> *Sent:* Sunday, May 02, 2010 8:28 PM
> *To:* Apache AXIS C User List <c-...@axis.apache.org>
> *Subject:* Re: How to generate WSDL file from C code
>
> There are many tools available for generating wsdls. Also you can write a
> java class and deploy it in axis2 java and generate the wsdl.
>
> Regards
> Nandika
>
> 2010/5/2 卢杨 <ly...@hotmail.com>
>
>> Dear Developers,
>>
>> So how should I do? Should I learn the form of wsdl and write it by my
>> self?
>>
>> Yours sincerely,
>> Jason
>>
>> *From:* Nandika Jayawardana <ja...@gmail.com>
>> *Sent:* Sunday, May 02, 2010 7:55 PM
>> *To:* Apache AXIS C User List <c-...@axis.apache.org>
>> *Subject:* Re: How to generate WSDL file from C code
>>
>> Axis2/C does not provide a tool for generating WSDL from C code.
>>
>> Regards
>> Nandika
>>
>> 2010/5/2 卢杨 <ly...@hotmail.com>
>>
>>> Dear all,
>>>
>>> I want to generate WSDL file from C code in axis2c web service. How can I
>>> do that. I see there is a Calculator.wsdl in axis2c's service sample. Is
>>> that done by some interface automatically? Or by human writting?
>>>
>>> Your sincerely,
>>> Jason
>>>
>>
>>
>>
>> --
>> http://nandikajayawardana.blogspot.com/
>> WSO2 Inc: http://www.wso2.com
>>
>
>
>
> --
> http://nandikajayawardana.blogspot.com/
> WSO2 Inc: http://www.wso2.com
>
--
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com
Re: How to generate WSDL file from C code
Posted by 卢杨 <ly...@hotmail.com>.
Dear Nandika,
But my project is a big project and it has been done by others in C. I can hardly write java class for it. Can you list some tools you know because I google it a whole afternoon and get no result. Thank you!
Yours sincerely,
Jason
From: Nandika Jayawardana
Sent: Sunday, May 02, 2010 8:28 PM
To: Apache AXIS C User List
Subject: Re: How to generate WSDL file from C code
There are many tools available for generating wsdls. Also you can write a java class and deploy it in axis2 java and generate the wsdl.
Regards
Nandika
2010/5/2 卢杨 <ly...@hotmail.com>
Dear Developers,
So how should I do? Should I learn the form of wsdl and write it by my self?
Yours sincerely,
Jason
From: Nandika Jayawardana
Sent: Sunday, May 02, 2010 7:55 PM
To: Apache AXIS C User List
Subject: Re: How to generate WSDL file from C code
Axis2/C does not provide a tool for generating WSDL from C code.
Regards
Nandika
2010/5/2 卢杨 <ly...@hotmail.com>
Dear all,
I want to generate WSDL file from C code in axis2c web service. How can I do that. I see there is a Calculator.wsdl in axis2c's service sample. Is that done by some interface automatically? Or by human writting?
Your sincerely,
Jason
--
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com
--
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com
Re: How to generate WSDL file from C code
Posted by Nandika Jayawardana <ja...@gmail.com>.
There are many tools available for generating wsdls. Also you can write a
java class and deploy it in axis2 java and generate the wsdl.
Regards
Nandika
2010/5/2 卢杨 <ly...@hotmail.com>
> Dear Developers,
>
> So how should I do? Should I learn the form of wsdl and write it by my
> self?
>
> Yours sincerely,
> Jason
>
> *From:* Nandika Jayawardana <ja...@gmail.com>
> *Sent:* Sunday, May 02, 2010 7:55 PM
> *To:* Apache AXIS C User List <c-...@axis.apache.org>
> *Subject:* Re: How to generate WSDL file from C code
>
> Axis2/C does not provide a tool for generating WSDL from C code.
>
> Regards
> Nandika
>
> 2010/5/2 卢杨 <ly...@hotmail.com>
>
>> Dear all,
>>
>> I want to generate WSDL file from C code in axis2c web service. How can I
>> do that. I see there is a Calculator.wsdl in axis2c's service sample. Is
>> that done by some interface automatically? Or by human writting?
>>
>> Your sincerely,
>> Jason
>>
>
>
>
> --
> http://nandikajayawardana.blogspot.com/
> WSO2 Inc: http://www.wso2.com
>
--
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com
Re: How to generate WSDL file from C code
Posted by 卢杨 <ly...@hotmail.com>.
Dear Developers,
So how should I do? Should I learn the form of wsdl and write it by my self?
Yours sincerely,
Jason
From: Nandika Jayawardana
Sent: Sunday, May 02, 2010 7:55 PM
To: Apache AXIS C User List
Subject: Re: How to generate WSDL file from C code
Axis2/C does not provide a tool for generating WSDL from C code.
Regards
Nandika
2010/5/2 卢杨 <ly...@hotmail.com>
Dear all,
I want to generate WSDL file from C code in axis2c web service. How can I do that. I see there is a Calculator.wsdl in axis2c's service sample. Is that done by some interface automatically? Or by human writting?
Your sincerely,
Jason
--
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com
Re: How to generate WSDL file from C code
Posted by Nandika Jayawardana <ja...@gmail.com>.
Axis2/C does not provide a tool for generating WSDL from C code.
Regards
Nandika
2010/5/2 卢杨 <ly...@hotmail.com>
> Dear all,
>
> I want to generate WSDL file from C code in axis2c web service. How can I
> do that. I see there is a Calculator.wsdl in axis2c's service sample. Is
> that done by some interface automatically? Or by human writting?
>
> Your sincerely,
> Jason
>
--
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com