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 "Sumeet Chakraborty (Created) (JIRA)" <ji...@apache.org> on 2011/11/22 12:54:39 UTC

[jira] [Created] (AXIS2-5193) WSDL2Java Tool Generates Java Stubs which has errors

WSDL2Java Tool Generates Java Stubs which has errors
----------------------------------------------------

                 Key: AXIS2-5193
                 URL: https://issues.apache.org/jira/browse/AXIS2-5193
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.6.1
         Environment: Windows XP
            Reporter: Sumeet Chakraborty
             Fix For: 1.6.1


Hello Techies,

I am using the WSDL2Java tool to generate the java files for the WSDL provided by the end user. The tool runs fine without any exceptions and generates the necessary files. In the generated stubs, there is a class by the name CCLGroupBooking_Public_DisplayGroupBooking_v20ServiceStub and it shows me an error for a variable by the name local, the error it shows is "local cannot be resolved" and if I see in this class, then there is no variable by the name local. I am not sure as to how this variable is referenced without been declared. Can someone please help me in resolving this error

if (local==null){
                                            
                                                     throw new org.apache.axis2.databinding.ADBException(" cannot be null !!");
                                                
                                         }else{
                                        
                                                       xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(local));
                                            
                                         }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (AXIS2-5193) WSDL2Java Tool Generates Java Stubs which has errors

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

Sumeet Chakraborty updated AXIS2-5193:
--------------------------------------

    Attachment: GBO_DisplayGroupBooking.wsdl
                Common.xsd
                CCLGroupBooking_Public_DisplayGroupBooking_v20ServiceStub.java
    
> WSDL2Java Tool Generates Java Stubs which has errors
> ----------------------------------------------------
>
>                 Key: AXIS2-5193
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5193
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.1
>         Environment: Windows XP
>            Reporter: Sumeet Chakraborty
>             Fix For: 1.6.1
>
>         Attachments: CCLGroupBooking_Public_DisplayGroupBooking_v20ServiceStub.java, Common.xsd, GBO_DisplayGroupBooking.wsdl
>
>
> Hello Techies,
> I am using the WSDL2Java tool to generate the java files for the WSDL provided by the end user. The tool runs fine without any exceptions and generates the necessary files. In the generated stubs, there is a class by the name CCLGroupBooking_Public_DisplayGroupBooking_v20ServiceStub and it shows me an error for a variable by the name local, the error it shows is "local cannot be resolved" and if I see in this class, then there is no variable by the name local. I am not sure as to how this variable is referenced without been declared. Can someone please help me in resolving this error
> if (local==null){
>                                             
>                                                      throw new org.apache.axis2.databinding.ADBException(" cannot be null !!");
>                                                 
>                                          }else{
>                                         
>                                                        xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(local));
>                                             
>                                          }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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