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 » Have to EDIT 'SOAP Request' node Response

Post new topic  Reply to topic Goto page 1, 2  Next
 Have to EDIT 'SOAP Request' node Response « View previous topic :: View next topic » 
Author Message
gakd1987
PostPosted: Tue Aug 20, 2013 11:06 am    Post subject: Have to EDIT 'SOAP Request' node Response Reply with quote

Apprentice

Joined: 20 Aug 2013
Posts: 26

Hi I am a begineer in WMB and toying hard to learn and evolve better , So my question may sound silly javascript:emoticon('').. Please help..

-> I am using a 'SOAP Request' node to call webservice through datapower and I am getting the response as well which I can view in the output MQ node.

My Question :-
---------------
1. The response has the SOAP msg response XML data and the HTTP header data as below :- (I want to remove this 'http data' from my output response so that I can only use the SOAP xml response for further manipualtion. I can use compute node to remove and read only the SOAPxml message but is there any other shortcut to remove this )
-----------------------------------
HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK
Connection: Keep-Alive
Transfer-Encoding: chunked
Date: Mon, 19 Aug 2013 21:36:49 GMT
Server: IBM_HTTP_Server
Content-Type: text/xml
Content-Language: en-US
X-Client-IP: 127.0.0.1,172.20.54.10
X-Archived-Client-IP: 127.0.0.1
------------------------------------
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 20, 2013 11:20 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Where does this data show up? Non-http nodes ignore it, http nodes may need it and if you simply want to manipulate the XML payload the presence or not of header data is irrelevant.

And get training. This is a lousy place to learn how to use WMB. It'll take you ages & not give you quality
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 20, 2013 11:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

presumably it shows up in the queue.

gakd1987 - this IS NOT A TRAINING SITE.

Try the IBM developer works forums.

Try *a lot* of reading. Do a *lot* of *trying*.

If you keep posting here, you'll end up getting a lot of annoying messages from people.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 20, 2013 11:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
presumably it shows up in the queue.


We presume this. But we still ask.

mqjeff wrote:
If you keep posting here, you'll end up getting a lot of annoying messages from people.


It's already started.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 20, 2013 11:31 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
mqjeff wrote:
If you keep posting here, you'll end up getting a lot of annoying messages from people.


It's already started.....

Yes, but the warning was given.
Back to top
View user's profile Send private message
gakd1987
PostPosted: Tue Aug 20, 2013 1:16 pm    Post subject: Thanks for the advice guys.. But I will ask wat I wanna know Reply with quote

Apprentice

Joined: 20 Aug 2013
Posts: 26

If ur interested please help me..

Vitor : I am using a soapRequest node . The response of the soaprequest has this
'HTTP/1.1 200 OK
X-Backside-Transport: OK OK,OK OK
Connection: Keep-Alive
Transfer-Encoding: chunked
Date: Mon, 19 Aug 2013 21:36:49 GMT
Server: IBM_HTTP_Server
Content-Type: text/xml
Content-Language: en-US
X-Client-IP: 127.0.0.1,172.20.54.10
X-Archived-Client-IP: 127.0.0.1

<ns3:memberInfoResponse xmlns:ns4="http://......//" '

I need only the payload data i.e. <ns3:memberInfoResponse xmlns:ns4="http://......//" and have to discard the above 'HTTP data' .. Please let me know if there are any shortcut to remove or I have to use a compute node to remove it..
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 20, 2013 1:24 pm    Post subject: Re: Thanks for the advice guys.. But I will ask wat I wanna Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

gakd1987 wrote:
If ur interested please help me..


I am trying to help you.

I am trying to help you understand that you need to go off and do your own learning.

This is not at teaching place. This is twice as poor a place for people who want teaching but then refuse to learn.
Back to top
View user's profile Send private message
gakd1987
PostPosted: Tue Aug 20, 2013 2:30 pm    Post subject: Reply with quote

Apprentice

Joined: 20 Aug 2013
Posts: 26

ok thanks.. Can u please tell me ur idea for the above request..
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 20, 2013 2:42 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I suggest you review what you already know, review your message flow again in it's entirety, and then review the information center again.

And then review all of that a second time.

And then think about it.

And then make some change, and see what happens.

And then repeat the whole process again.
Back to top
View user's profile Send private message
gakd1987
PostPosted: Tue Aug 20, 2013 2:44 pm    Post subject: Reply with quote

Apprentice

Joined: 20 Aug 2013
Posts: 26

I dont know wat to say.. Anyway.. thnx
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 21, 2013 5:02 am    Post subject: Re: Thanks for the advice guys.. But I will ask wat I wanna Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

gakd1987 wrote:
I need only the payload data i.e. <ns3:memberInfoResponse xmlns:ns4="http://......//" and have to discard the above 'HTTP data' .. Please let me know if there are any shortcut to remove or I have to use a compute node to remove it..


I again ask (because I'm trying to help) why you need to remove it. One shortcut is to ignore it.

Also if you're doing "further manipulation of the payload" what are you doing that in if not a Compute node?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gakd1987
PostPosted: Wed Aug 21, 2013 10:00 am    Post subject: Tried and got the result .. Reply with quote

Apprentice

Joined: 20 Aug 2013
Posts: 26

In the compute node I redirected the the SOAP response to outputRoot and I have set the HTTPResponseHeader to null.


SET OutputRoot = InputRoot;
SET OutputRoot.HTTPResponseHeader = NULL;

This removed the HTTP header content..

Thankyou ..

Sorry If I was mean but I am pretty eager to learn WMB and grab concepts..
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Aug 21, 2013 10:03 am    Post subject: Re: Tried and got the result .. Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

gakd1987 wrote:
Sorry If I was mean but I am pretty eager to learn WMB and grab concepts..


Then why have you not attended the IBM training ?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Aug 21, 2013 10:53 am    Post subject: Re: Tried and got the result .. Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

gakd1987 wrote:
In the compute node I redirected the the SOAP response to outputRoot and I have set the HTTPResponseHeader to null.


SET OutputRoot = InputRoot;
SET OutputRoot.HTTPResponseHeader = NULL;

This removed the HTTP header content..


Yes it would. You still haven't said why you need to.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Aug 21, 2013 11:01 am    Post subject: Re: Tried and got the result .. Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

lancelotlinc wrote:
gakd1987 wrote:
Sorry If I was mean but I am pretty eager to learn WMB and grab concepts..


Then why have you not attended the IBM training ?


Why do you persist with this thread?

There are a whole load of reasons why the poster has not attended training.
If the OP is from South Asia, companies are very loathe to send their people on formal training courses. Some even require employees to pay the company money as a 'deposit' so that they don't jump ship and move companies in the middle of a contract and any training that the employee wants to do has to be paid for by the employee themselves. You have to realise that the formal IBM training in India can cost two months salary.

Just you saying 'get some training' will not change this fact.

I've just finished interviewing 30+ people for a large contract in South Asia. Not one had been formally trained. Some were actually very competent developers. One had even presented a home grown broker training course.
Should he still attend the formal training? I think not.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Have to EDIT 'SOAP Request' node Response
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.