Code not compiling generated from WSDL

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Code not compiling generated from WSDL

Deepak Agrawal
Hello,

I am generating the stubs using Axis2 1.4.1 and it is getting generated successfully. However while compiling the source code I am getting below error:

incompatible types
    [javac] found   : java.lang.String
    [javac] required: org.tempuri.TransactionServiceStub.String

If I am trying to generate the stubs using Axis2 1.6.2 it is getting compiled successfully. However my current project has got other webservices deployed which are on Axis2 1.4.1.

I have checked Axis2 jira and I could get https://issues.apache.org/jira/browse/AXIS2-3828 issue however I could not get any details regarding the fix and the version under which it is fixed.

Can anyone help me with this?

Thanks,
Deepak Agrawal
Loading...