This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes MDB receive a message and then call an external web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "MDB receive a message and then call an external web service" Watch "MDB receive a message and then call an external web service" New topic
Author

MDB receive a message and then call an external web service

Matt Zollinhofer
Ranch Hand

Joined: Jul 09, 2004
Posts: 33
Title basically says it all, but I'm looking for suggestions for the best way to have a message driven bean receive a message then process it and call an external web service with the results. This seems like a straightforward problem to solve but I keep getting stuck in the deployment to weblogic when I do it my way so I'm looking for new ideas.

Basically, I have an MDB that gets deployed to WL and receives messages just fine. Also, I have a standalone class, that runs from the command line or IDE, that can send messages to the external web service. But when I try to bring the code from the standalone class into the MDB and get it deployed, I can't get all the dependencies to resolve.

So, is there a proper way to do this? Which wizard should I be using to get Workshop to create web service client so that I can use it in my MDB project? Any suggestions to tutorials?

I'm using Weblogic 10.3 and the Workshop that comes along with that.

Thanks,
Matt
 
jQuery in Action, 2nd edition
 
subject: MDB receive a message and then call an external web service