axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milinda Lakmal Pathirage (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2C-430) WSDL2Code (java tool) generates java code for all data structures when using "-d adb"
Date Tue, 28 Nov 2006 03:53:21 GMT
    [ http://issues.apache.org/jira/browse/AXIS2C-430?page=comments#action_12453789 ] 
            
Milinda Lakmal Pathirage commented on AXIS2C-430:
-------------------------------------------------

I think there are some problems with above command. Try this one, it works fine without generating
unwanted things.

java -Dorg.apache.adb.properties=/org/apache/axis2/schema/c-schema-compile.properties -classpath
$AXIS2_CLASSPATH org.apache.axis2.wsdl.WSDL2Code  -l c -f -o folder -uri BasicAllTest.wsdl
-sd -d adb -u

Now Java Code Generation tool have WSDL2C tool. Use the following command ,

java -classpath $AXIS2_CLASSPATH org.apache.axis2.wsdl.WSDL2C -f -o $1 -uri $2  -ss -sd -d
adb

> WSDL2Code (java tool) generates java code for all data structures when using "-d adb"
> -------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-430
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-430
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP.
>            Reporter: Dave Meier
>
> Using the WSDL2Code tool (java) to generate C code and specifying "-d adb" results in
java classes being generated for all of the arguments and return structures.  This should
be generating C code.
> Here is the command line I am using.  I am using the latest "axis2-1.1.1-SNAPSHOT":
> D:\axis2test>"D:\jdk1.5.0_08\bin\java.exe"  -cp D:\axis2-1.1.1-SNAPSHOT;D:\axis2-1.1.1-SNAPSHOT\lib\
> activation-1.1.jar;D:\axis2-1.1.1-SNAPSHOT\lib\annogen-0.1.0.jar;D:\axis2-1.1.1-SNAPSHOT\lib\axiom-a
> pi-1.2.1-SNAPSHOT.jar;D:\axis2-1.1.1-SNAPSHOT\lib\axiom-dom-1.2.1-SNAPSHOT.jar;D:\axis2-1.1.1-SNAPSH
> OT\lib\axiom-impl-1.2.1-SNAPSHOT.jar;D:\axis2-1.1.1-SNAPSHOT\lib\axis2-adb-1.1.1-SNAPSHOT.jar;D:\axi
> s2-1.1.1-SNAPSHOT\lib\axis2-adb-codegen-1.1.1-SNAPSHOT.jar;D:\axis2-1.1.1-SNAPSHOT\lib\axis2-codegen
> -1.1.1-SNAPSHOT.jar;D:\axis2-1.1.1-SNAPSHOT\lib\axis2-java2wsdl-1.1.1-SNAPSHOT.jar;D:\axis2-1.1.1-SN
> APSHOT\lib\axis2-jaxbri-1.1.1-SNAPSHOT.jar;D:\axis2-1.1.1-SNAPSHOT\lib\axis2-jibx-1.1.1-SNAPSHOT.jar
> ;D:\axis2-1.1.1-SNAPSHOT\lib\axis2-kernel-1.1.1-SNAPSHOT.jar;D:\axis2-1.1.1-SNAPSHOT\lib\axis2-saaj-
> 1.1.1-SNAPSHOT.jar;D:\axis2-1.1.1-SNAPSHOT\lib\axis2-soapmonitor-1.1.1-SNAPSHOT.jar;D:\axis2-1.1.1-S
> NAPSHOT\lib\axis2-spring-1.1.1-SNAPSHOT.jar;D:\axis2-1.1.1-SNAPSHOT\lib\axis2-tools-1.1.1-SNAPSHOT.j
> ar;D:\axis2-1.1.1-SNAPSHOT\lib\axis2-xmlbeans-1.1.1-SNAPSHOT.jar;D:\axis2-1.1.1-SNAPSHOT\lib\backpor
> t-util-concurrent-2.2.jar;D:\axis2-1.1.1-SNAPSHOT\lib\commons-codec-1.3.jar;D:\axis2-1.1.1-SNAPSHOT\
> lib\commons-fileupload-1.1.1.jar;D:\axis2-1.1.1-SNAPSHOT\lib\commons-httpclient-3.0.1.jar;D:\axis2-1
> .1.1-SNAPSHOT\lib\commons-io-1.2.jar;D:\axis2-1.1.1-SNAPSHOT\lib\commons-logging-1.1.jar;D:\axis2-1.
> 1.1-SNAPSHOT\lib\geronimo-spec-jms-1.1-rc4.jar;D:\axis2-1.1.1-SNAPSHOT\lib\jakarta-httpcore-4.0-alph
> a2.jar;D:\axis2-1.1.1-SNAPSHOT\lib\jaxen-1.1-beta-10.jar;D:\axis2-1.1.1-SNAPSHOT\lib\jibx-bind-1.1.2
> .jar;D:\axis2-1.1.1-SNAPSHOT\lib\jibx-run-1.1.2.jar;D:\axis2-1.1.1-SNAPSHOT\lib\mail-1.4.jar;D:\axis
> 2-1.1.1-SNAPSHOT\lib\neethi-SNAPSHOT.jar;D:\axis2-1.1.1-SNAPSHOT\lib\servletapi-2.3.jar;D:\axis2-1.1
> .1-SNAPSHOT\lib\stax-api-1.0.1.jar;D:\axis2-1.1.1-SNAPSHOT\lib\woden-1.0.0M6.jar;D:\axis2-1.1.1-SNAP
> SHOT\lib\wsdl4j-1.6.2.jar;D:\axis2-1.1.1-SNAPSHOT\lib\wstx-asl-3.1.0.jar;D:\axis2-1.1.1-SNAPSHOT\lib
> \xalan-2.7.0.jar;D:\axis2-1.1.1-SNAPSHOT\lib\xbean-2.2.0.jar;D:\axis2-1.1.1-SNAPSHOT\lib\xercesImpl-
> 2.8.1.jar;D:\axis2-1.1.1-SNAPSHOT\lib\xml-apis-1.3.03.jar;D:\axis2-1.1.1-SNAPSHOT\lib\XmlSchema-1.2.
> jar org.apache.axis2.wsdl.WSDL2Code -D org.apache.adb.properties=/org/apache/axis2/schema/c-schema-c
> ompile.properties -uri ttwebservices.wsdl -o server9 -a -l c -d adb -sd -u

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message