File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Generate Client from WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Generate Client from WSDL" Watch "Generate Client from WSDL" New topic
Author

Generate Client from WSDL

Sandeep Bhoyar
Greenhorn

Joined: May 17, 2010
Posts: 17

Hi Friends,

I am working on Web Service. I want to create Client from Existing WSDL file and this wsdl file import some xsd files.

But when I tried to Generate Client form wsdl file through eclipse I am getting error "IWAB0054E Web project URL for deployment of Web service is not set in AxisDeployCommand"

I don't know why I am getting this error

Please Help me ASAP....


$andybo
Bernhard Haeussermann
Ranch Hand

Joined: Aug 05, 2009
Posts: 38
The person in this post http://groups.google.com/group/ibm.software.websphere.studio/browse_thread/thread/97271ec505c75144 got the same error as you did. He also noted that it occurs at the "Start"-phase of the process.

Consider if it is even necessary for you to go all the way to the Start-phase. I normally choose to run only the Develop Client and Assemble Client phases. That generates all the client-side code that is necessary to work with the web service.
Raja Pal
Ranch Hand

Joined: Jul 12, 2004
Posts: 92
@Sandeep: Specifically which version of Axis and Eclipse are you using?


Java Pal - Your friend in technology and innovation...India.
Sandeep Bhoyar
Greenhorn

Joined: May 17, 2010
Posts: 17

Raja Pal wrote:@Sandeep: Specifically which version of Axis and Eclipse are you using?


I am using plugin provided by apache foundation http://axis.apache.org/axis2/java/core/tools/index.html

and Eclipse Version: Indigo Release (3.7)
Raja Pal
Ranch Hand

Joined: Jul 12, 2004
Posts: 92
Please check if the checkbox for auto re-write files is on....not sure if this option is available in Indigo but I remember a similar problem caused me a some trouble way back in 2009 when I was working on Eclipse 3.4 (Ganymede) with webservices plug-in for ant 1.4 and axis 2 with an ant based compilation target! The over-write option saved the trouble of manually starting the server instance. Let me know if that helps!
Sandeep Bhoyar
Greenhorn

Joined: May 17, 2010
Posts: 17

Raja Pal wrote:Please check if the checkbox for auto re-write files is on....not sure if this option is available in Indigo but I remember a similar problem caused me a some trouble way back in 2009 when I was working on Eclipse 3.4 (Ganymede) with webservices plug-in for ant 1.4 and axis 2 with an ant based compilation target! The over-write option saved the trouble of manually starting the server instance. Let me know if that helps!


Thanks Raja. I got the solution....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generate Client from WSDL
 
Similar Threads
Annotation required to generate remark/comments in WSDL files generated by wsdlzip
Annotation required to generate remark/comments in WSDL files generated for Java class
RPC mapping file
WSDL validation
WSDL validation