Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Java code to call Axis2 web svc from java client...can it be generated for me?
Java code to call Axis2 web svc from java client...can it be generated for me? [message #230696] Fri, 24 April 2009 21:42 Go to next message
Meg Watson is currently offline Meg WatsonFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I'm new to Eclipse, but have used NetBeans for several years. Forgive me
if I'm asking an obvious question. I'm just confused at this point about
how to do this task.

I have an existing Web Service (I have the URL of the WSDL). My goal is
to create a Java program that calls the web service, and then provide
instructions to my customers for using Eclipse to call their web services.

I have the Web Tools installed, and I have followed the examples for
creating a Web Service client found here (in fact, I found the tutorials
there very helpful in general!)

http://wiki.eclipse.org/Creating_a_bottom-up_Axis2_Web_servi ce

In the example at the url above, the Java code to call the web service is
provided in the example (and via a link to ConverterClient.java), so I
guess it cannot be automatically generated in the editor? The reason I
ask is that in NetBeans I could generate a skeleton call to a web service
by drag and drop or by right clicking in the editor at the insertion point
and then choosing from the web services I had defined in the project.

I noted that using "generate test cases" creates a call to the web
service, but that seems a bit inelegant for generating the call.

Am I missing something obvious?

Thanks for any help :-)

Meg
Re: Java code to call Axis2 web svc from java client...can it be generated for me? [message #230722 is a reply to message #230696] Mon, 27 April 2009 05:08 Go to previous message
SangJoon, Park is currently offline SangJoon, ParkFriend
Messages: 1
Registered: July 2009
Junior Member
Hi, Meg.



I faced similar situation before.

I think Dynamic Web Project has a problem with Axis2.

Maybe, some libraries of Axis2 are missed in the Dynamic Web Project.



Anyway, I solved this problem like this.



1. Copy all libraries from Axis lib to Eclipse Dynamic Web Project Web
Libraries Folder.

For instance, C:/Axis2-1.4.1/lib/<all libs> =>
Eclipse:/DynamicWebProject/WebContent/WEB-INF/lib

2. And Dynamic Web Client Project Also should be copied all libraries of the
Axis2, too.

It can be possible at least one you had tried "generate test cases".



After then, you try "generate test cases" again.



I hope this is for your solution.



Sincerely,

SangJoon, Park



"Meg Watson" <meg.watson@hp.com> wrote in message
news:d9c7f624fd06cbbbe174245e4418dbd7$1@www.eclipse.org...
> Hi,
>
> I'm new to Eclipse, but have used NetBeans for several years. Forgive me
> if I'm asking an obvious question. I'm just confused at this point about
> how to do this task.
> I have an existing Web Service (I have the URL of the WSDL). My goal is
> to create a Java program that calls the web service, and then provide
> instructions to my customers for using Eclipse to call their web services.
>
> I have the Web Tools installed, and I have followed the examples for
> creating a Web Service client found here (in fact, I found the tutorials
> there very helpful in general!)
>
> http://wiki.eclipse.org/Creating_a_bottom-up_Axis2_Web_servi ce
>
> In the example at the url above, the Java code to call the web service is
> provided in the example (and via a link to ConverterClient.java), so I
> guess it cannot be automatically generated in the editor? The reason I
> ask is that in NetBeans I could generate a skeleton call to a web service
> by drag and drop or by right clicking in the editor at the insertion point
> and then choosing from the web services I had defined in the project.
>
> I noted that using "generate test cases" creates a call to the web
> service, but that seems a bit inelegant for generating the call.
>
> Am I missing something obvious?
>
> Thanks for any help :-)
>
> Meg
>
Previous Topic:XSL Plugins
Next Topic:EAR libraries
Goto Forum:
  


Current Time: Fri Mar 29 05:08:16 GMT 2024

Powered by FUDForum. Page generated in 0.04087 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top