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

Looking up a webservice

Kataki Anupam
Greenhorn

Joined: Jan 27, 2005
Posts: 1
Hi ,

My existing application consists of many utility WAR's packed into a EAR. We are adding/ modifying functionality of this application, this requires communication to the Backend (Main Frame) via web services.

==========================================
The platform : wsad 5.1.2 and was 5.1
==========================================
Our development task starts with a WSDL generated based on the
mainframe copy book. Using this WSDL we generate the Webservice Client
Automatically, Thanks to WSAD.

But the drawback with this approach is the need to dump the entire existing application code and the code generated by WSAD into the same WAR. It is a version control nightmare (especially webservicesclient.xml).

We have 20+ people working simultaneously on the project.

I was experimenting with options available.

--> I generated EJB service end point using the same WSDL. The output can
be packaged into a ejb-jar. This makes packaging my application very
Simple and clean ( n number of WAR's and n number of ejb-jars
Packaged together in an EAR)

However, the ejb jar created via WSAD does not hold any JNDI lookup
for the service (<service-ref> tag). The xml files packaged along with
the jar (ejb-jar.xml, webservices.xml,GetServiceInfo_mapping.xml )
talks only about the binding and mapping between EJB and the WSDL.

How and where do I incorporate the lookup information, such that any
servlet in a WAR at the same level as the jar can access the EJB
Service end points.

Anupam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Looking up a webservice