Thanks, WSDL2C is what I needed.  All of the data structures generate
correctly.  Has this
tool been around for awhile?  I thought that WSDL2Code was the only
thing available. 

This issue can be closed.

-Dave.

-----Original Message-----
From: Milinda Lakmal Pathirage (JIRA) [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 27, 2006 7:53 PM
To: [email protected]
Subject: [jira] Commented: (AXIS2C-430) WSDL2Code (java tool) generates
java code for all data structures when using "-d adb"

    [
http://issues.apache.org/jira/browse/AXIS2C-430?page=comments#action_124
53789 ] 
            
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.pr
operties -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:\ax
> is2-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-SNAP
> SHOT.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\li
> b\axis2-tools-1.1.1-SNAPSHOT.j 
> ar;D:\axis2-1.1.1-SNAPSHOT\lib\axis2-xmlbeans-1.1.1-SNAPSHOT.jar;D:\ax
> is2-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-h
> ttpclient-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-SNA
> PSHOT\lib\mail-1.4.jar;D:\axis
> 2-1.1.1-SNAPSHOT\lib\neethi-SNAPSHOT.jar;D:\axis2-1.1.1-SNAPSHOT\lib\s
> ervletapi-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.j
> ar;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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


**********************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. Any 
unauthorized review, use, disclosure or distribution is prohibited. If you are 
not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to