axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Maclean <>
Subject Problems using Axis2/c in Windows
Date Wed, 14 Oct 2009 04:48:09 GMT
I am attempting to use Axis2/c 1.6.0 to generate C client stubs in
Windows with the &quot;-d adb&quot; option for use with the Microsoft C
compiler and am facing three problems.<br><br>
First I had trouble actually generating the stubs using the WSDL2C.bat
file supplied in the package.&nbsp; I got past this obstacle by changing
the line that read:<br><br>
<font face="Courier New, Courier">java -classpath %AXIS2_CLASSPATH%
org.apache.axis2.wsdl.WSDL2C %*<br><br>
<font face="Courier New, Courier">java -classpath
&quot;%AXIS2_CLASSPATH%&quot; org.apache.axis2.wsdl.WSDL2C %*<br><br>
</font>Since I can see no downside to it, may I suggest that this change
be made to the distribution package.&nbsp; It could save a bit of
puzzlement and frustration.<br><br>
The other problems cause the generated code to get compilation
errors.&nbsp; The second is that declarations are generated that are not
at the top of their blocks.&nbsp; I see code like this:<br><br>
<dd><font face="Courier New, Courier">{
*text_node = NULL;
axiom_node_get_first_child(parent, env);
*text_element = NULL;
</dl>This is fine in C++ but not in plain C.<br><br>
The third problem is one that I have yet to fully analyze and I will post
about it later.<br><br>
By the way, I previously posted a version of this message to the
axis-user mailing list having not realized at the time that there is an
axis-c-user list.<br><br>
My thanks for any assistance,<br><br>
Pete Maclean </body>

View raw message