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 "Anand Kasi (JIRA)" <ji...@apache.org> on 2007/09/11 20:12:32 UTC

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

wsdl2java creates invalid proxy
-------------------------------

                 Key: AXIS2-3193
                 URL: https://issues.apache.org/jira/browse/AXIS2-3193
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.3
         Environment: windows xp , jdk 1.5.0_04 
            Reporter: Anand Kasi
            Priority: Blocker


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


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-3193.
-------------------------------------------------

    Resolution: Fixed

fixed the issue in trunk

> 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


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

Posted by "Anand Kasi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anand Kasi updated AXIS2-3193:
------------------------------

    Attachment: error.txt
                OTA_CruiseFitSchemas.xsd
                FIT.wsdl

The wsdl , schema and the error log are attached. 

> wsdl2java creates invalid proxy
> -------------------------------
>
>                 Key: AXIS2-3193
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3193
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    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


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Anand Kasi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anand Kasi updated AXIS2-3193:
------------------------------

    Component/s:     (was: Tools)

> 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