Consuming Java Webservice without knowing ServiceName

Solution Verified - Updated -

Issue

We have implemented a JAX-WS Webservice Client which should consume some service functions. Our problem is that the ServiceName within WSDL is not a static name like "TestService", it may be changed on each host instance because it contains a cryptical substring. Therefore I want to ask you if it is possible to invoke a Webservice without knowing the ServiceName within WSDL.

Environment

  • JBoss Enterprise Application Platform (EAP) 5.x
  • JBoss Enterprise Application Platform (EAP) 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.