Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Deploying the Eclipse generated web service client on Tomcat

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.

I have a complex web service, and I would like to deploy Eclipse's generated jsp client on a Tomcat server so the QA team can test my service. Any idea how to do that?

Amir
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Since you mention JSP in the post, I assume that the client is a web application. If this is indeed the case, then just deploy it as a regular web application in Tomcat. Of course you need to include the relevant JARs for the client.
Best wishes!
 
Amir Kost
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ivan Krizsan wrote:If this is indeed the case, then just deploy it as a regular web application in Tomcat.



My question is where does eclipse generate this client? I can't see it in any of my servers, yet it runs great on eclipse. Eclipse probably puts it in one of the plugins, but where? I would like to take the generated client and deploy it on my server.

 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Last time I tried, I used the following tactic to generate an Axis2 client in Eclipse:
- Create a dynamic web project.
- In META-INF, create a wsdl folder.
- Paste the WSDL of the web service in the wsdl folder created in previous step.
- Right-click on the WSDL file and select Web Services -> Generate Client.
- Click through the web service generation wizard. I chose only to generate the artifacts.

Having finished the above steps, a lot of things appear in my dynamic web project, for instance:
- A folder named axis2-web in the WebContent folder. This folder contains a lot of JSPs etc.
- A number of Axis2 related libraries have appeared in WEB-INF/lib.
Etc. etc.
Thus, I had no problem finding the generated artifacts. Perhaps you are using some other plugin or way of generating the client artifacts?
Best wishes!
 
Amir Kost
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ivan Krizsan wrote:Hi!
Last time I tried, I used the following tactic to generate an Axis2 client in Eclipse:
- Create a dynamic web project.
- In META-INF, create a wsdl folder.
- Paste the WSDL of the web service in the wsdl folder created in previous step.
- Right-click on the WSDL file and select Web Services -> Generate Client.
- Click through the web service generation wizard. I chose only to generate the artifacts.

Having finished the above steps, a lot of things appear in my dynamic web project, for instance:
- A folder named axis2-web in the WebContent folder. This folder contains a lot of JSPs etc.
- A number of Axis2 related libraries have appeared in WEB-INF/lib.
Etc. etc.
Thus, I had no problem finding the generated artifacts. Perhaps you are using some other plugin or way of generating the client artifacts?
Best wishes!



I did the same. The jsps under the axis2-web are not the client generated by eclipse, but allow you to do administration of the service. I want to deploy on my own tomcat a client generated by eclipse (see attachment).
eclipse-screen.JPG
[Thumbnail for eclipse-screen.JPG]
Eclipse Client
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
What you have been looking at is not a web service client, it is the Web Services Explorer - a testing-tool for web services.
I don't think this is something you can deploy to a web container or application server without significant effort.
Best wishes!
 
When people don’t understand what you are doing they call you crazy. But this tiny ad just doesn't care:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic