axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samresh Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5108) Axis2 code generator plugin for eclipse
Date Thu, 04 Aug 2011 04:35:27 GMT

    [ 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


Mime
View raw message