[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: Newbie: problem creating web service cl ient

Hi Mike,

I think you are running into this problem because you are trying to generate into a Java project. It looks like WTP only supports generating clients into Dynamic Web Projects or Java Utility Projects.

You can try generating your client into a Dynamic Web Project that targets Tomcat. For a tutorial on how to create a client into a Dynamic web project see http://wiki.eclipse.org/Creating_a_Java_Web_Service_Client

There is an enhancement request open to add support for generating Axis2 clients into Java projects, see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=249922
I can't find any bugs or enhancements open for the original Axis runtime. You can open an enhancement request for this, or vote for the Axis2 enhancement.


I think it is also a defect that you are getting some null pointer exception, rather than a more friendly message saying that java projects aren't supported. (Or perhaps the wizard should not let you select a java project if it's not supported). Please open a defect for this as well if you can't find one already open.

Hope this helps,
Mark

mike wrote:
Hi Tilak,

Thanks for taking the time to answer!
Unfortunately, your answer did not help me much: I'm using the `web service client' wizard that's available when right-clicking the java project and then choosing new | other | web services | web service client. This menu doesn't allow me to specify extension points, it hides configuration details from the user. However, i get the error mentioned earlier. For some other wsdl's the wizard operates fine.


As a sideways question: why is it necessary to specify a SERVER (e.g. tomcat 6) when creating a web service CLIENT using the aforementioned wizard????
(I'm a total newbie w.r.t. web services, so maybe I'm overlooking something trivial or fundamental.)


Bye

Mike