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:
[email protected]”>
</xop:Include>
</attachment>
<filename>
myfile.tar
</filename>
</getMeasureResponse>
Thank you very much,
Daniel
From: Nandika Jayawardana [mailto:[email protected]]
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 卢杨 <[email protected]>
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 <mailto:[email protected]> Jayawardana
Sent: Sunday, May 02, 2010 8:28 PM
To: Apache AXIS C User List <mailto:[email protected]>
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 卢杨 <[email protected]>
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 <mailto:[email protected]> Jayawardana
Sent: Sunday, May 02, 2010 7:55 PM
To: Apache AXIS C User List <mailto:[email protected]>
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 卢杨 <[email protected]>
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