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 » SOAP message with HTTPRequest header

Post new topic  Reply to topic
 SOAP message with HTTPRequest header « View previous topic :: View next topic » 
Author Message
accosun
PostPosted: Fri Dec 15, 2006 7:45 am    Post subject: SOAP message with HTTPRequest header Reply with quote

Apprentice

Joined: 20 Dec 2001
Posts: 45
Location: Moscow

Hi!

Please, give an advice, how should i handle the following situation:

From my MQInput node i receive message with both HTTPRequest and SOAP envelope as application data. It looks like:

POST /asg/asgAdmin HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://www.aaa.com/getall"
Host: www.ccc.com:80
Content-Length: 632
Expect: 100-continue
Connection: Close
<?xml version='1.0' encoding='UTF-8'?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" .......

I don't have any message definitions for it.

As i understand, no parser except BLOB can handle this kind of message.
And if so, i should parse HTTPRequest in particular Compute node by hand? Or maybe it'd be better to create a message definition for HTTPRequest and parse it first with MRM?
Or any other ideas?

Thank you in advance, Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Fri Dec 15, 2006 8:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You should fix the sending program so it doesn't put the HTTP Header in there.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
accosun
PostPosted: Fri Dec 15, 2006 8:26 am    Post subject: Reply with quote

Apprentice

Joined: 20 Dec 2001
Posts: 45
Location: Moscow

Hi Jeff!

jefflowrey wrote:
You should fix the sending program so it doesn't put the HTTP Header in there.


It was the first that i ask my manger to fix.

Unfortunatelly it's impossible. The only thing "they" (another department) can do is to reduce the number of fields in HTTPreq and to send only three: port, SOAP Action and Context-Type. "They" said, it's the only way to provide requied data.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Fri Dec 15, 2006 9:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

They don't properly understand SOAP over JMS/MQ, then.

But if this is the case, then you shouldn't make them use MQ. Give them an HTTPInput node to talk to.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jeevan
PostPosted: Sun Dec 17, 2006 5:10 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Jeff,

Is not this more standard design for a flow which uses http services


failure node
MQinput->Httprequest->/
\
\compute node [change mqmd] -> MQoutput


in another flow


Httpinput -> compute -> httprespond
| |
\Input \ output
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sun Dec 17, 2006 5:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I wouldn't consider that standard, no.

It is a general outline for two flows, 1) that invokes a web service, and 2) that provides a web service.

Assuming that the 2nd uses SOAP and the interface is described by a WSDL. Otherwise it's not a web service, it's just an HTTP request.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jeevan
PostPosted: Sun Dec 17, 2006 6:03 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Thank you for your clarification.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SOAP message with HTTPRequest header
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.