You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Henrik Grankvist <he...@gmail.com> on 2006/01/02 11:00:53 UTC
Generate C-Stub with wsdl2ws
Hello!
I would like to get a "clean" c client stub from a wsdl. Something
must have gone wrong when I try to generate the stub with WSDL2Ws, it
does not matter if I specify the -lc or -lc++ option, the same code is
generated i.e. c++ code.
I specify the following in the shell:
java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -lc -sclient -otest simplews.wsdl
this generates two files:
SimpleWSIF.cpp
and
SimpleWSIF.hpp
when looking at them they clearly are in c++. Or am I not
understanding something here?
Kind regards
Henrik
Re: Generate C-Stub with wsdl2ws
Posted by John Hawkins <HA...@uk.ibm.com>.
I've just tried creating C stubs on a recent build and it appears to be
generating the correct files (which are .h and .c files).
I would caution that C is not very well supported and you might find
problems in this area.
Henrik Grankvist <he...@gmail.com>
02/01/2006 10:00
Please respond to
"Apache AXIS C Developers List"
To
axis-c-dev@ws.apache.org
cc
Subject
Generate C-Stub with wsdl2ws
Hello!
I would like to get a "clean" c client stub from a wsdl. Something
must have gone wrong when I try to generate the stub with WSDL2Ws, it
does not matter if I specify the -lc or -lc++ option, the same code is
generated i.e. c++ code.
I specify the following in the shell:
java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -lc -sclient -otest
simplews.wsdl
this generates two files:
SimpleWSIF.cpp
and
SimpleWSIF.hpp
when looking at them they clearly are in c++. Or am I not
understanding something here?
Kind regards
Henrik