This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes SOAP over JMS via core Java client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "SOAP over JMS via core Java client" Watch "SOAP over JMS via core Java client" New topic

SOAP over JMS via core Java client

Anjan Rs

Joined: Dec 05, 2012
Posts: 4
Hi All, I am new to SOAP over JMS. I am developing the core java client which places the SOAP message onto tibco queue. I have been given WSDL and i have generated java client from it using RAD tool. Please note i am not using any server at my end. Without server i need to call jms web service which should place the soap message into tibco queue ..

I created the request object from the generated client from WSDL and call the web service.

Please help me in how can i connect to tibco queue and send the SOAP message.

Many thanks.

William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

I don't get it.

Are you sending a SOAP XML request as a JMS message?

If so, the JMS receiver needs to pass this to a SOAP listener.

So, the JMS queue MDB needs to act as a SOAP client. How will it process the response?

Anjan Rs

Joined: Dec 05, 2012
Posts: 4
Hi William,

Thanks for the information.

I have been given a WSDL and i have generated java client code from it via RAD tool.

Since the client got generated I am able to create the request object from it.

Now i need to put that request object into the tibco queue.

I am stuck in

How can i connect to tibco server and place that request object into queue
How can i build JMS endpoint URL to which i will point and place the message

Anjan RS
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
That sounds like a basic Tibco usage question. The messaging software doesn't care whether it is SOAP or something else that you're placing in the queue. Tibco being a commercial product, I would think that it has extensive documentation and sample code to do this kind of thing on its developer web site; not so?
Anjan Rs

Joined: Dec 05, 2012
Posts: 4

Yes I agree. I found examples for placing a message into queue. But the query is

WSDL is been provided and we generated java code from it.

Once we create the request object in the client i need perfom a webservice call ie SOAP over JMS from core java code where

A endpoint URL of JMS needs to be created and service name. once i call that web service method the request object should be placed into tibco queue.

but in case soap over HTTP we will just set endpoint of the host and call the service method.

Please help and advise I am new to SOAP over JMS and provide me some examples.
Sujeeth Pakala
Ranch Hand

Joined: Mar 24, 2009
Posts: 99
Hello Anjan,

Sorry for late reply. Is your issue solved ?

Regards, Sujeeth Pakala
SCJP, SCWCD, SCBCD, ICAD, XML Master Basic, Certified SOA Professional
Michael Prabakar

Joined: Jan 30, 2014
Posts: 1
Hi anjan,

I am facing the same problem now.

Did you resolve this issue?

Michael Prabakar
Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 547

Have you tried this. Well not much information available in that site. My apologies.


I agree. Here's the link:
subject: SOAP over JMS via core Java client
It's not a secret anymore!