This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Looking up a webservice" Watch "Looking up a webservice" New topic

Looking up a webservice

Kataki Anupam

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.

I agree. Here's the link:
subject: Looking up a webservice
It's not a secret anymore!