This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
Author

SOAP over JMS via core Java client

Anjan Rs
Greenhorn

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.

Regards
Anjan
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?

WP
Anjan Rs
Greenhorn

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


Regards
Anjan RS
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
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?


Ping & DNS - my free Android networking tools app
Anjan Rs
Greenhorn

Joined: Dec 05, 2012
Posts: 4
Hi

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: 94
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
Greenhorn

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

I am facing the same problem now.

Did you resolve this issue?

Thanks,
Michael Prabakar
Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 518
    
    2

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


Regards
KumarRaja

 
Consider Paul's rocket mass heater.
 
subject: SOAP over JMS via core Java client