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 » HTTPReply - No Data

Post new topic  Reply to topic
 HTTPReply - No Data « View previous topic :: View next topic » 
Author Message
fazz
PostPosted: Fri Oct 15, 2004 1:10 am    Post subject: HTTPReply - No Data Reply with quote

Centurion

Joined: 20 Feb 2004
Posts: 144
Location: England

Hi,

I would really appreciate some help with the HTTP nodes.
I'm starting to loose my hair over them!

I have a flow which has a HTTPInput node, this receives the client call OK, I am decoding the SOAP message and writing it to a queue, this works fine. I then need to send a reply back, so I use the HTTPReply node, I enocde a SOAP message and send to this node which reports no errors (that i can see anway) the client receives a response but the data is null.

This is the trace after the HTTPReply node:
Quote:
(
(0x01000000):Properties = (
(0x03000000):MessageSet = NULL
(0x03000000):MessageType = NULL
(0x03000000):MessageFormat = NULL
(0x03000000):Encoding = NULL
(0x03000000):CodedCharSetId = NULL
(0x03000000):Transactional = UNKNOWN
(0x03000000):Persistence = UNKNOWN
(0x03000000):CreationTime = NULL
(0x03000000):ExpirationTime = NULL
(0x03000000):Priority = NULL
(0x03000000):ReplyIdentifier = NULL
(0x03000000):ReplyProtocol = 'SOAP-HTTP'
(0x03000000):Topic = NULL
)
(0x01000010):XMLNS = (
(0x05000018): = (
(0x06000011): = '1.0'
(0x06000012): = 'UTF-8'
)
(0x01000000)http://schemas.xmlsoap.org/soap/envelope/:Envelope = (
(0x07000012)xmlns:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/'
(0x01000000)http://schemas.xmlsoap.org/soap/envelope/:Body = (
(0x01000000):ProcessMessageResponse = (
(0x02000000): = '<?xml version="1.0" encoding="UTF-8"?><MWWS version="1.0"><SYSHDR><SID>MWSC.SCR01</SID></SYSHDR><DATA><ERR>000</ERR><ERRDESC></ERRDESC></DATA></MWWS>'
)
)
)
)
)
(
(0x01000000):SOAP = (
(0x01000000):Params = (
(0x01000000):ValidHdrs =
(0x01000000):ValidOps =
(0x03000000):ServiceType = 'DOC'
)
(0x01000000):Service = (
(0x03000000):ServiceName = 'MessageService'
(0x03000000):ServiceRole = 'Endpoint'
(0x03000000):ServiceActor = 'http://localhost:7080/MessageService'
)
)
)


Any ideas anyone??

Thanks
Fazz
Back to top
View user's profile Send private message
JLRowe
PostPosted: Fri Oct 15, 2004 4:33 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

This looks like the culprit, you are sending your response message as a single string value:

(0x02000000): = '<?xml version="1.0" encoding="UTF-8"?><MWWS version="1.0"><SYSHDR><SID>MWSC.SCR01</SID></SYSHDR><DATA><ERR>000</ERR><ERRDESC></ERRDESC></DATA></MWWS>'
Back to top
View user's profile Send private message Send e-mail
fazz
PostPosted: Fri Oct 15, 2004 6:38 am    Post subject: Reply with quote

Centurion

Joined: 20 Feb 2004
Posts: 144
Location: England

Hi John,

The client is expecting the xml in one long string inside the ProcessMessage tag (don't know why).

I have found the problem. It is discussed in this thread..

http://www.mqseries.net/phpBB2/viewtopic.php?t=16334&highlight=namespace

...to do with un-wanted xml namespaces. It was causing the client problems.

Thanks for replying

Fazz
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 » HTTPReply - No Data
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.