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 "Samresh Kumar (JIRA)" <ji...@apache.org> on 2011/08/03 06:23:27 UTC

[jira] [Created] (AXIS2-5108) Axis2 code generator plugin for eclipse

Axis2 code generator plugin for eclipse
---------------------------------------

                 Key: AXIS2-5108
                 URL: https://issues.apache.org/jira/browse/AXIS2-5108
             Project: Axis2
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.6.0
         Environment: Eclipse
            Reporter: Samresh Kumar


Unable to resolve imported documents at <wsdl name> relative to <wsdl URL>: java.io.filenotfoundexception. The file was not found

--
This message is automatically generated by JIRA.
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] [Commented] (AXIS2-5108) Axis2 code generator plugin for eclipse

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078743#comment-13078743 ] 

Sagara Gunathunga  commented on AXIS2-5108:
-------------------------------------------

Can you provide steps you followed  in order to reproduce this issue. Also provide WSDL file or URL.  

> Axis2 code generator plugin for eclipse
> ---------------------------------------
>
>                 Key: AXIS2-5108
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5108
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.0
>         Environment: Eclipse
>            Reporter: Samresh Kumar
>              Labels: Axis2, Axis2plugin, Axis2pluginsforeclipse, cannotgenerateJAVAcalssesforwsdlcontainingreferencednamespaces, cannotgenerateJavaClassesforwsdl
>
> Unable to resolve imported documents at <wsdl name> relative to <wsdl URL>: java.io.filenotfoundexception. The file was not found

--
This message is automatically generated by JIRA.
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-5108) Axis2 code generator plugin for eclipse

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

Harshana Eranga Martin updated AXIS2-5108:
------------------------------------------

    Attachment: 5108.zip

I tried with the wsdl file which has referenced namespaces in 5108.zip attachments as well. And it also works fine.

Hence I believe this is not a bug in the Axis2 codegen tool. This might be due to a path issue for a referenced document  in your wsdl file as error message suggests. 

Please recheck the location attributes of your wsdl files and other documents.

> Axis2 code generator plugin for eclipse
> ---------------------------------------
>
>                 Key: AXIS2-5108
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5108
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.0
>         Environment: Eclipse
>            Reporter: Samresh Kumar
>              Labels: Axis2, Axis2plugin, Axis2pluginsforeclipse, cannotgenerateJAVAcalssesforwsdlcontainingreferencednamespaces, cannotgenerateJavaClassesforwsdl
>         Attachments: 5108.zip, Axis2_5108.zip
>
>
> Unable to resolve imported documents at <wsdl name> relative to <wsdl URL>: java.io.filenotfoundexception. The file was not found

--
This message is automatically generated by JIRA.
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] [Issue Comment Edited] (AXIS2-5108) Axis2 code generator plugin for eclipse

Posted by "Harshana Eranga Martin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082307#comment-13082307 ] 

Harshana Eranga Martin edited comment on AXIS2-5108 at 8/10/11 12:39 PM:
-------------------------------------------------------------------------

Hi Samresh,

I tried with the wsdl file which has referenced namespaces in 5108.zip attachments as well. And it also works fine.

Hence I believe this is not a bug in the Axis2 codegen tool (I can't be sure of it without your wsdl). This might be due to a path issue for a referenced document  in your wsdl file as error message suggests. 

Please recheck the location attributes of the import elements of your wsdl files and other documents.

Thanks and Regards,
Harshana

      was (Author: harshana05):
    Hi Samresh,

I tried with the wsdl file which has referenced namespaces in 5108.zip attachments as well. And it also works fine.

Hence I believe this is not a bug in the Axis2 codegen tool (I can't be sure of it without your wsdl). This might be due to a path issue for a referenced document  in your wsdl file as error message suggests. 

Please recheck the location attributes of your wsdl files and other documents.

Thanks and Regards,
Harshana
  
> Axis2 code generator plugin for eclipse
> ---------------------------------------
>
>                 Key: AXIS2-5108
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5108
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.0
>         Environment: Eclipse
>            Reporter: Samresh Kumar
>              Labels: Axis2, Axis2plugin, Axis2pluginsforeclipse, cannotgenerateJAVAcalssesforwsdlcontainingreferencednamespaces, cannotgenerateJavaClassesforwsdl
>         Attachments: 5108.zip, Axis2_5108.zip
>
>
> Unable to resolve imported documents at <wsdl name> relative to <wsdl URL>: java.io.filenotfoundexception. The file was not found

--
This message is automatically generated by JIRA.
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] [Issue Comment Edited] (AXIS2-5108) Axis2 code generator plugin for eclipse

Posted by "Harshana Eranga Martin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080107#comment-13080107 ] 

Harshana Eranga Martin edited comment on AXIS2-5108 at 8/5/11 5:52 PM:
-----------------------------------------------------------------------

Hi Samresh,

I tried your scenario and it works fine for me. 

I'm attaching the resources I've used to test in this Jira. 

Can you try with them and confirm whether you get errors with it?

Thanks and Regards,
Harshana

      was (Author: harshana05):
    Hi Samresh,

I tried your scenario and it works fine for me. 

I'm attaching the resources I've used to test o this Jira. 

Can you try with them and confirm?

Thanks and Regards,
Harshana
  
> Axis2 code generator plugin for eclipse
> ---------------------------------------
>
>                 Key: AXIS2-5108
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5108
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.0
>         Environment: Eclipse
>            Reporter: Samresh Kumar
>              Labels: Axis2, Axis2plugin, Axis2pluginsforeclipse, cannotgenerateJAVAcalssesforwsdlcontainingreferencednamespaces, cannotgenerateJavaClassesforwsdl
>         Attachments: Axis2_5108.zip
>
>
> Unable to resolve imported documents at <wsdl name> relative to <wsdl URL>: java.io.filenotfoundexception. The file was not found

--
This message is automatically generated by JIRA.
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] [Commented] (AXIS2-5108) Axis2 code generator plugin for eclipse

Posted by "Samresh Kumar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079215#comment-13079215 ] 

Samresh Kumar commented on AXIS2-5108:
--------------------------------------

Sorry, I cannot share the WSDL file. I have checked the webservice and WSDL by consuming web service through .NET,SOAPUI and even NetBeans.

I have followed the following steps to create stub class in Eclipse using Axis2 "Code generator plugin" :

1. I have selected new project from the file menu and from Axis2 wizards I have selected Code generator plugin.
2.Next selected generate Java source code from a WSDL file.
3.Next inserted WSDL URL 
4.Next from codegen options selected "custom". Selected generate client side code and selected generate both sync and async
5.Next Inserted the output file location.
6.Now on clicking finish the above error occurs: 

Unable to resolve imported documents at <wsdl name> relative to <wsdl URL>: java.io.filenotfoundexception. The file was not found


Actually this WSDL contains some refernced namespaces. I have followed the same steps while creating stub classes for simple WSDL that don't contain referenced namespaces.This method is working fine for those web services.

Thanks. 

Waiting for your reply.



> Axis2 code generator plugin for eclipse
> ---------------------------------------
>
>                 Key: AXIS2-5108
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5108
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.0
>         Environment: Eclipse
>            Reporter: Samresh Kumar
>              Labels: Axis2, Axis2plugin, Axis2pluginsforeclipse, cannotgenerateJAVAcalssesforwsdlcontainingreferencednamespaces, cannotgenerateJavaClassesforwsdl
>
> Unable to resolve imported documents at <wsdl name> relative to <wsdl URL>: java.io.filenotfoundexception. The file was not found

--
This message is automatically generated by JIRA.
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] [Issue Comment Edited] (AXIS2-5108) Axis2 code generator plugin for eclipse

Posted by "Harshana Eranga Martin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082307#comment-13082307 ] 

Harshana Eranga Martin edited comment on AXIS2-5108 at 8/10/11 12:38 PM:
-------------------------------------------------------------------------

Hi Samresh,

I tried with the wsdl file which has referenced namespaces in 5108.zip attachments as well. And it also works fine.

Hence I believe this is not a bug in the Axis2 codegen tool (I can't be sure of it without your wsdl). This might be due to a path issue for a referenced document  in your wsdl file as error message suggests. 

Please recheck the location attributes of your wsdl files and other documents.

Thanks and Regards,
Harshana

      was (Author: harshana05):
    I tried with the wsdl file which has referenced namespaces in 5108.zip attachments as well. And it also works fine.

Hence I believe this is not a bug in the Axis2 codegen tool. This might be due to a path issue for a referenced document  in your wsdl file as error message suggests. 

Please recheck the location attributes of your wsdl files and other documents.
  
> Axis2 code generator plugin for eclipse
> ---------------------------------------
>
>                 Key: AXIS2-5108
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5108
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.0
>         Environment: Eclipse
>            Reporter: Samresh Kumar
>              Labels: Axis2, Axis2plugin, Axis2pluginsforeclipse, cannotgenerateJAVAcalssesforwsdlcontainingreferencednamespaces, cannotgenerateJavaClassesforwsdl
>         Attachments: 5108.zip, Axis2_5108.zip
>
>
> Unable to resolve imported documents at <wsdl name> relative to <wsdl URL>: java.io.filenotfoundexception. The file was not found

--
This message is automatically generated by JIRA.
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-5108) Axis2 code generator plugin for eclipse

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

Harshana Eranga Martin updated AXIS2-5108:
------------------------------------------

    Attachment: Axis2_5108.zip

Hi Samresh,

I tried your scenario and it works fine for me. 

I'm attaching the resources I've used to test o this Jira. 

Can you try with them and confirm?

Thanks and Regards,
Harshana

> Axis2 code generator plugin for eclipse
> ---------------------------------------
>
>                 Key: AXIS2-5108
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5108
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.0
>         Environment: Eclipse
>            Reporter: Samresh Kumar
>              Labels: Axis2, Axis2plugin, Axis2pluginsforeclipse, cannotgenerateJAVAcalssesforwsdlcontainingreferencednamespaces, cannotgenerateJavaClassesforwsdl
>         Attachments: Axis2_5108.zip
>
>
> Unable to resolve imported documents at <wsdl name> relative to <wsdl URL>: java.io.filenotfoundexception. The file was not found

--
This message is automatically generated by JIRA.
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] [Commented] (AXIS2-5108) Axis2 code generator plugin for eclipse

Posted by "Samresh Kumar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080741#comment-13080741 ] 

Samresh Kumar commented on AXIS2-5108:
--------------------------------------

I checked your wsdl files, but it seems to be simple wsdl that contain defination of the return type in the same file.

My wsdl contains something like this :

<wsdl:input name="NewMethod">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="NewMethodResponse">
<soap:body use="literal"/>
</wsdl:output>

and contain references to some files.

Regards,
samresh



> Axis2 code generator plugin for eclipse
> ---------------------------------------
>
>                 Key: AXIS2-5108
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5108
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.0
>         Environment: Eclipse
>            Reporter: Samresh Kumar
>              Labels: Axis2, Axis2plugin, Axis2pluginsforeclipse, cannotgenerateJAVAcalssesforwsdlcontainingreferencednamespaces, cannotgenerateJavaClassesforwsdl
>         Attachments: Axis2_5108.zip
>
>
> Unable to resolve imported documents at <wsdl name> relative to <wsdl URL>: java.io.filenotfoundexception. The file was not found

--
This message is automatically generated by JIRA.
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] [Resolved] (AXIS2-5108) Axis2 code generator plugin for eclipse

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

Sagara Gunathunga  resolved AXIS2-5108.
---------------------------------------

    Resolution: Cannot Reproduce

Mark this as resolved according to comments. Please reopen if you experience this issue again.  
                
> Axis2 code generator plugin for eclipse
> ---------------------------------------
>
>                 Key: AXIS2-5108
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5108
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.0
>         Environment: Eclipse
>            Reporter: Samresh Kumar
>              Labels: Axis2, Axis2plugin, Axis2pluginsforeclipse, cannotgenerateJAVAcalssesforwsdlcontainingreferencednamespaces, cannotgenerateJavaClassesforwsdl
>         Attachments: 5108.zip, Axis2_5108.zip
>
>
> Unable to resolve imported documents at <wsdl name> relative to <wsdl URL>: java.io.filenotfoundexception. The file was not found

--
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] [Commented] (AXIS2-5108) Axis2 code generator plugin for eclipse

Posted by "Harshana Eranga Martin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079320#comment-13079320 ] 

Harshana Eranga Martin commented on AXIS2-5108:
-----------------------------------------------

Hi Samresh,

I'll try to reproduce this issue according to your steps and let you know.

Thanks and Regards,
Harshana

> Axis2 code generator plugin for eclipse
> ---------------------------------------
>
>                 Key: AXIS2-5108
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5108
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.0
>         Environment: Eclipse
>            Reporter: Samresh Kumar
>              Labels: Axis2, Axis2plugin, Axis2pluginsforeclipse, cannotgenerateJAVAcalssesforwsdlcontainingreferencednamespaces, cannotgenerateJavaClassesforwsdl
>
> Unable to resolve imported documents at <wsdl name> relative to <wsdl URL>: java.io.filenotfoundexception. The file was not found

--
This message is automatically generated by JIRA.
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