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 + Web service

Post new topic  Reply to topic
 HTTP Request + Web service « View previous topic :: View next topic » 
Author Message
vasumath
PostPosted: Mon Feb 12, 2007 11:12 pm    Post subject: HTTP Request + Web service Reply with quote

Novice

Joined: 12 Feb 2007
Posts: 15

I am very new to webservice and MB.

My requirement is, HTTP Request node has to invoke a webservice by passing SOAP XML as input and the web service should send a different SOAP output back to HTTP Request node.

Actually first part is done means invoking webservice from HTTP Request. I am not
sure how to send the response from webservice to HTTP Request

Please help me regarding this.
Back to top
View user's profile Send private message
jsware
PostPosted: Tue Feb 13, 2007 12:29 am    Post subject: Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

Wire the output terminal of your HTTPRequest node into a Trace node and Trace ${Root} to a file.

You should find that the message tree is the response to your HTTP get/post performed by the HTTPRequest node.
_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
Back to top
View user's profile Send private message
vsr
PostPosted: Tue Feb 13, 2007 5:50 am    Post subject: Reply with quote

Centurion

Joined: 04 Apr 2006
Posts: 104

Study these links :

1) http://www-128.ibm.com/developerworks/websphere/library/techarticles/0311_withers/withers.html

2) Chapter 4 in this redbook
http://www.redbooks.ibm.com/abstracts/SG246583.html

As Scott mentioned wiring trace node is the best way , you can see the response tree structure using trace and code your esql accordingly ..
Back to top
View user's profile Send private message
au@kosa
PostPosted: Wed Feb 14, 2007 11:31 pm    Post subject: Reply with quote

Centurion

Joined: 04 Jan 2007
Posts: 103
Location: pune

1. Connect HTTPRequest Out terminal to Compute node to pass response to the Compute node.
2. Inside the compute node extract and save the SOAP header into the global environment
3.Subsequently connect the C.N to the mapping node. Do the required transformation here. Ofcourse you need a message sets here,
4. Again pass the output of the Mappuing node to the new C.N.
5. Add the SOAP header from global env to the transformed response message.
4. Atlast conenct the out terminal of the new C.N node to HTTPReply node.

Regards,
Amit Upadhyaya
_________________
Regards,
au@kosa
IBM Certified SOA Solution Designer/Associate
Back to top
View user's profile Send private message Yahoo Messenger
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 + Web service
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.