axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Maclean <gro...@maclean.com>
Subject Problems using Axis2/c in Windows
Date Mon, 12 Oct 2009 16:28:40 GMT
<html>
<body>
I am attempting to use Axis2/c 1.6.0 to generate C client stubs in
Windows 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>to:<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 lot 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>
<font face="Courier New, Courier"><x-tab>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>{<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>declaration;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>assignment;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>declaration;<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>...<br><br>
</font>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>
Pete Maclean </body>
</html>


Mime
View raw message