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 "Dave Meier (JIRA)" <ji...@apache.org> on 2006/11/27 19:19:20 UTC

[jira] Created: (AXIS2C-430) WSDL2Code (java tool) generates java code for all data structures when using "-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


Re: [jira] Commented: (AXIS2C-430) WSDL2Code (java tool) generates java code for all data structures when using "-d adb"

Posted by Dinesh Premalal <xy...@gmail.com>.
Hi Dave,

"Dave Meier" <DM...@SERENA.com> writes:

> 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. 
IIRC, We shipped WSDL2C tool with our 0.95 release and updated user guide
appropriately ;) 

thanks,
Dinesh

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


RE: [jira] Commented: (AXIS2C-430) WSDL2Code (java tool) generates java code for all data structures when using "-d adb"

Posted by Dave Meier <DM...@SERENA.com>.
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:jira@apache.org] 
Sent: Monday, November 27, 2006 7:53 PM
To: axis-c-dev@ws.apache.org
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


**********************************************************************
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-430) WSDL2Code (java tool) generates java code for all data structures when using "-d adb"

Posted by "Milinda Lakmal Pathirage (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Commented: (AXIS2C-430) WSDL2Code (java tool) generates java code for all data structures when using "-d adb"

Posted by "Dave Meier (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-430?page=comments#action_12453671 ] 
            
Dave Meier commented on AXIS2C-430:
-----------------------------------

After running the tool as shown above, I get a "src/ttwebservices" directory created under my output directory and it contains all java files generated for my arguments and return structures.  It also generates "axis2_stub_ttwebservices.h" and "axis2_stub_ttwebservices.c" files which refer to include files that don't exist (e.g. #include "axis2_ttwebservices.GetItemResponse.h").

Looking in the "src/ttwebservices" directory I see a "GetItemResponse.java" file.  Here are the first few lines of it:

            /**
            * GetItemResponse.java
            *
            * This file was auto-generated from WSDL
            * by the Apache Axis2 version: #axisVersion# #today#
            */

            package ttwebservices;
            /**
            *  GetItemResponse bean class
            */
        
        public  class GetItemResponse
        implements org.apache.axis2.databinding.ADBBean{
...

> 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


[jira] Resolved: (AXIS2C-430) WSDL2Code (java tool) generates java code for all data structures when using "-d adb"

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-430?page=all ]

Dinesh Premalal resolved AXIS2C-430.
------------------------------------

    Fix Version/s: Current (Nightly)
       Resolution: Fixed

> 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
>             Fix For: Current (Nightly)
>
>
> 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