[wsas-java-dev] [jira] Closed: (WSAS-336) Stub generation fails
when Databinding is XMLBeans, Unwrap=true and Generate TestCase=true
Charitha Kankanamge (JIRA)
jira at wso2.org
Wed Nov 14 22:58:14 PST 2007
[ http://www.wso2.org/jira/browse/WSAS-336?page=all ]
Charitha Kankanamge closed WSAS-336.
------------------------------------
Verified in WSAS-2.1 and closed the bug.
> Stub generation fails when Databinding is XMLBeans, Unwrap=true and Generate TestCase=true
> ------------------------------------------------------------------------------------------
>
> Key: WSAS-336
> URL: http://www.wso2.org/jira/browse/WSAS-336
> Project: WSO2 WSAS
> Issue Type: Bug
> Components: core
> Affects Versions: Nightly
> Environment: Winxp, jdk15
> Reporter: Charitha Kankanamge
> Assigned To: Saminda Wishwajith Abeyruwan
> Priority: Critical
> Attachments: excludeop.aar
>
>
> Client stub generation fails when specifying the following options.
> WSDL version = 1.1
> Invocation style = Both
> Databinding = XMLBeans
> Unpack Classes = true or false
> Unwrap = true
> Generate Test Case = true
> Following compile errors can be seen in the console.
> Total time: 9 seconds
> [echo] XmlBeans Availability = true
> [echo] Stax Availability= true
> [echo] Axis2 Availability= true
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.18396934153174E12\src\org\wso2\wsas\client\Exclu
> deoperationstestStub.java:641: cannot find symbol
> [javac] symbol : variable innerType
> [javac] location: interface org.charitha.SubstractionDocument
> [javac] org.charitha.SubstractionDocument. innerType = wrappedTy
> pe.addNew();
> [javac] ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.18396934153174E12\src\org\wso2\wsas\client\Exclu
> deoperationstestStub.java:641: cannot find symbol
> [javac] symbol : method addNew()
> [javac] location: interface org.charitha.SubstractionDocument
> [javac] org.charitha.SubstractionDocument. innerType = wrappedTy
> pe.addNew();
> [javac]
> ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.18396934153174E12\src\org\wso2\wsas\client\Exclu
> deoperationstestStub.java:643: cannot find symbol
> [javac] symbol : variable innerType
> [javac] location: class org.wso2.wsas.client.ExcludeoperationstestStub
> [javac] innerType.xsetA(param1);
> [javac] ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.18396934153174E12\src\org\wso2\wsas\client\Exclu
> deoperationstestStub.java:645: cannot find symbol
> [javac] symbol : variable innerType
> [javac] location: class org.wso2.wsas.client.ExcludeoperationstestStub
> [javac] innerType.xsetB(param2);
> [javac] ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.18396934153174E12\src\org\wso2\wsas\client\Exclu
> deoperationstestStub.java:664: cannot find symbol
> [javac] symbol : variable innerType
> [javac] location: interface org.charitha.MultiplicationDocument
> [javac] org.charitha.MultiplicationDocument. innerType = wrapped
> Type.addNew();
> [javac] ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.18396934153174E12\src\org\wso2\wsas\client\Exclu
> deoperationstestStub.java:664: cannot find symbol
> [javac] symbol : method addNew()
> [javac] location: interface org.charitha.MultiplicationDocument
> [javac] org.charitha.MultiplicationDocument. innerType = wrapped
> Type.addNew();
> [javac]
> ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.18396934153174E12\src\org\wso2\wsas\client\Exclu
> deoperationstestStub.java:666: cannot find symbol
> [javac] symbol : variable innerType
> [javac] location: class org.wso2.wsas.client.ExcludeoperationstestStub
> [javac] innerType.xsetR(param1);
> [javac] ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.18396934153174E12\src\org\wso2\wsas\client\Exclu
> deoperationstestStub.java:668: cannot find symbol
> [javac] symbol : variable innerType
> [javac] location: class org.wso2.wsas.client.ExcludeoperationstestStub
> [javac] innerType.xsetS(param2);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: C:\wsas\Release\WSO2WS~1\work\codegen\1.18396934153174E12\src\org\wso2\wsas\client
> \ExcludeoperationstestStub.java uses unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 8 errors
> BUILD FAILED
> C:\wsas\Release\WSO2WS~1\work\codegen\1.18396934153174E12\build.xml:51: Compile failed; see the comp
> iler error output for details.
> Total time: 4 seconds
> INFO [2007-07-09 13:53:54,343] Starting house-keeping task...
> INFO [2007-07-09 13:54:01,812] Clearing filemap cache...
> INFO [2007-07-09 13:54:01,812] House-keeping complete.
> [echo] Stax Availability= true
> [echo] Axis2 Availability= true
> [javac] Note: C:\wsas\Release\WSO2WS~1\work\codegen\1.183969496468703E12\src\org\wso2\wsas\clien
> t\ExcludeoperationstestStub.java uses unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> BUILD SUCCESSFUL
> Total time: 3 seconds
> [echo] XmlBeans Availability = true
> [echo] Stax Availability= true
> [echo] Axis2 Availability= true
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.183969505718166E12\src\org\wso2\wsas\client\Excl
> udeoperationstestStub.java:641: cannot find symbol
> [javac] symbol : variable innerType
> [javac] location: interface org.charitha.SubstractionDocument
> [javac] org.charitha.SubstractionDocument. innerType = wrappedTy
> pe.addNew();
> [javac] ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.183969505718166E12\src\org\wso2\wsas\client\Excl
> udeoperationstestStub.java:641: cannot find symbol
> [javac] symbol : method addNew()
> [javac] location: interface org.charitha.SubstractionDocument
> [javac] org.charitha.SubstractionDocument. innerType = wrappedTy
> pe.addNew();
> [javac]
> ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.183969505718166E12\src\org\wso2\wsas\client\Excl
> udeoperationstestStub.java:643: cannot find symbol
> [javac] symbol : variable innerType
> [javac] location: class org.wso2.wsas.client.ExcludeoperationstestStub
> [javac] innerType.xsetA(param1);
> [javac] ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.183969505718166E12\src\org\wso2\wsas\client\Excl
> udeoperationstestStub.java:645: cannot find symbol
> [javac] symbol : variable innerType
> [javac] location: class org.wso2.wsas.client.ExcludeoperationstestStub
> [javac] innerType.xsetB(param2);
> [javac] ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.183969505718166E12\src\org\wso2\wsas\client\Excl
> udeoperationstestStub.java:664: cannot find symbol
> [javac] symbol : variable innerType
> [javac] location: interface org.charitha.MultiplicationDocument
> [javac] org.charitha.MultiplicationDocument. innerType = wrapped
> Type.addNew();
> [javac] ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.183969505718166E12\src\org\wso2\wsas\client\Excl
> udeoperationstestStub.java:664: cannot find symbol
> [javac] symbol : method addNew()
> [javac] location: interface org.charitha.MultiplicationDocument
> [javac] org.charitha.MultiplicationDocument. innerType = wrapped
> Type.addNew();
> [javac]
> ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.183969505718166E12\src\org\wso2\wsas\client\Excl
> udeoperationstestStub.java:666: cannot find symbol
> [javac] symbol : variable innerType
> [javac] location: class org.wso2.wsas.client.ExcludeoperationstestStub
> [javac] innerType.xsetR(param1);
> [javac] ^
> [javac] C:\wsas\Release\WSO2WS~1\work\codegen\1.183969505718166E12\src\org\wso2\wsas\client\Excl
> udeoperationstestStub.java:668: cannot find symbol
> [javac] symbol : variable innerType
> [javac] location: class org.wso2.wsas.client.ExcludeoperationstestStub
> [javac] innerType.xsetS(param2);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: C:\wsas\Release\WSO2WS~1\work\codegen\1.183969505718166E12\src\org\wso2\wsas\clien
> t\ExcludeoperationstestStub.java uses unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 8 errors
> BUILD FAILED
> Steps to reproduce:
> ================
> 1. Deploy the attached service archive
> 2. Click on 'Generate Client' and specify the above options
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Wsas-java-dev
mailing list