You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/09/17 07:12:32 UTC

[jira] Commented: (AXIS2-3193) wsdl2java creates invalid proxy

    [ https://issues.apache.org/jira/browse/AXIS2-3193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527945 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-3193:
-----------------------------------------------------

first of all to overcome the jalopy issue use the 
axis2.jalopy system variable to false.
You can do this by editing the wsdl2java tool and adding
-Daxis2.jalopy=false

Then there we some compilation problems with the generated code with ADB. Now I have fixed the m and commit to the trunk. if you generate the code with a nighly build that should work fine. 
if you want to use ADB generated code you can use this generated code with the nighly build with the Axis2 1.3 release. Otherwise you can use the xmlbeans to generate the code with axis2 1.3 release. (use -d xmlbeans)



> wsdl2java creates invalid proxy
> -------------------------------
>
>                 Key: AXIS2-3193
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3193
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: windows xp , jdk 1.5.0_04 
>            Reporter: Anand Kasi
>            Priority: Blocker
>         Attachments: error.txt, FIT.wsdl, OTA_CruiseFitSchemas.xsd
>
>
> I am having trouble generating a client proxy from a valid wsdl. When I try the wsdl2java from Axis 2-1.3, I get a bunch of parsing errors that say "Expecting RCURLY, found 'else'". I have attached the complete error message in the file error.txt 
> The wsdl and the schema are also attached. 
> When I don't use either -u or -b options for wsdl2java, it completes successfully, but running the build.xml file shows compile errors in the generated files. 
> The wsdl and schema are valid and I can generate a valid C# proxy, using .NET. But it does not work with Axis2 - 1.3
> Please let me know what I am missing here. What changes can be made to avoid this error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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