|Re: Newbie: problem creating web service client [message #484112 is a reply to message #484092]
||Fri, 04 September 2009 11:03
| Tilak Sharma
Registered: July 2009
I used the wsdl you provided, in my Web Service Client Implementation, and I am able to parse the WSDL and list Service, Ports and all their corresponding Operations.
Just in case, If you missed something, follow the below steps:
You need to use the following extension points to implement Web Service Client:
To add your custom Runtime, use <extension point="org.eclipse.jst.ws.consumption.ui.runtimes">
To add your custom Client Type, use <extension
To add your client Runtime, use <extension
From your Runtime class getWebServiceClient() method, you need to return your Web Service Client object.
If everything is fine till now, then check if result of the WSDL parsing is handled correctly.
|Re: Newbie: problem creating web service cl ient [message #484717 is a reply to message #484159]
||Tue, 08 September 2009 20:47
| Mark Hutchinson
Registered: July 2009
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:
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
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,
> 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
> (I'm a total newbie w.r.t. web services, so maybe I'm overlooking
> something trivial or fundamental.)
Powered by FUDForum
. Page generated in 0.11251 seconds