ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Http Request node and soap message

Post new topic  Reply to topic
 Http Request node and soap message « View previous topic :: View next topic » 
Author Message
sudeepm
PostPosted: Tue Mar 25, 2008 3:57 am    Post subject: Http Request node and soap message Reply with quote

Acolyte

Joined: 31 Jan 2008
Posts: 57

Can somebody tell me how to create Soap message using Java compute node .
I need to create a soap message to call http Request
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Tue Mar 25, 2008 4:07 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Did you load the Sample from the Samples Gallery?
Under the Help menu.
_________________
Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3
Back to top
View user's profile Send private message AIM Address
sudeepm
PostPosted: Tue Mar 25, 2008 4:53 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2008
Posts: 57

I checked it but they are in ESQL and i need to work on Java
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Mar 25, 2008 4:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

sudeepm wrote:
I checked it but they are in ESQL and i need to work on Java


Constructing a SOAP message in Java is the same as constructing any other message in Java. You use the MB Java API, create the necessary MbElements with the necessary properties in the necessary tree structure.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
DaveCanto
PostPosted: Thu Apr 17, 2008 7:29 am    Post subject: Reply with quote

Novice

Joined: 01 Feb 2008
Posts: 11
Location: Belgium - EU

JosephGramig wrote:
Did you load the Sample from the Samples Gallery?
Under the Help menu.


I'm also struggling with the HTTPRequest node. I don't know how the request itself should look like. I looked at the samples under help menu. Which sample handles about webservices and the HTTPRequest?
_________________
Do not underestimate the power of ... unit testing and continuous integration.
Back to top
View user's profile Send private message Visit poster's website
DaveCanto
PostPosted: Fri Apr 18, 2008 2:12 am    Post subject: Reply with quote

Novice

Joined: 01 Feb 2008
Posts: 11
Location: Belgium - EU

I try to use Environment.WSRequest to store my request xml message. I've defined both Environment.WSRequest and Environment.WSReply on the advanced properties of my HTTPRequest node. When the flow exits the HTTPRequest node, there is an error saying 'bad request'. What's strange is the fact that the HTTPResponseHeader is generated in my message and not in Environment.WSReply like I configured. According to me this is a bug in the HTTPRequest node.

When I do the same thing without using the Environment, but everything directly in InputRoot and OutputRoot, I get a correct response from my webservice. But because I want to save my original message, I do a CALL CopyEntireMessage() first and I try to manage my webservice request / reply in the Environment. The webservice is used to get some extra parameters / data, I can use to process my incoming message.

I'm using WBIMB 5.1.0.
_________________
Do not underestimate the power of ... unit testing and continuous integration.
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Fri Apr 18, 2008 2:20 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

DaveCanto wrote:
I try to use Environment.WSRequest to store my request xml message. I've defined both Environment.WSRequest and Environment.WSReply on the advanced properties of my HTTPRequest node. When the flow exits the HTTPRequest node, there is an error saying 'bad request'. What's strange is the fact that the HTTPResponseHeader is generated in my message and not in Environment.WSReply like I configured. According to me this is a bug in the HTTPRequest node.

When I do the same thing without using the Environment, but everything directly in InputRoot and OutputRoot, I get a correct response from my webservice. But because I want to save my original message, I do a CALL CopyEntireMessage() first and I try to manage my webservice request / reply in the Environment. The webservice is used to get some extra parameters / data, I can use to process my incoming message.

I'm using WBIMB 5.1.0.
Why not park your regular message in the environment. You can then park the outputroot from the services call in the environment too... Allows you to do all you wanted...
BTW have you considered switching to version 6.1 ?

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Http Request node and soap message
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.