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 » SOAPExtract Node

Post new topic  Reply to topic
 SOAPExtract Node « View previous topic :: View next topic » 
Author Message
mvs
PostPosted: Wed Jul 25, 2007 1:43 am    Post subject: SOAPExtract Node Reply with quote

Voyager

Joined: 06 Jul 2007
Posts: 85

Hi,
I am using SOAPExtract node in our flow. The message goes to the failure terminal of the SOAPExtractNode.
The main aim of this flow is to remove SOAPEnvelope and pass message to the node.

My flow contans

InputNode->SoapExtractNode-->ComputeNode-->OutputNode

SoapExtractNode properties:
All are Default
Input message looks like
------------
<?xml version="1.0"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://ws3.st.mqsi.ibm.com/App/DocLiteral1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header><tns:requestHeader><tns:assessorUrl>header1</tns:assessorUrl></tns:requestHeader></soapenv:Header><soapenv:Body><tns:requestAvailability><tns:carDetails>body1</tns:carDetails><tns:claimID>body2</tns:claimID><tns:location>body3</tns:location><tns:reqDate>body4</tns:reqDate></tns:requestAvailability></soapenv:Body></soapenv:Envelope>
----------------

Trace results of SoapExtractNode is:

---------------------

(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-07-25 08:41:47.660'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'SAMPLEINQ'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Format = 'MQSTR '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d51204c4d4436554d5149202020204624a52022882702'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'LMD6UMQI '
(0x03000000):UserIdentifier = 'mqm '
(0x03000000):AccountingToken = X'0000000000000000000000000000000000000000000000000000000000000000'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 28
(0x03000000):PutApplName = 'WebSphere MQ Client for Java'
(0x03000000):PutDate = DATE '2007-07-25'
(0x03000000):PutTime = GMTTIME '08:41:47.660'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000010):XML = (
(0x05000018):XML = (
(0x06000011): = '1.0'
)
(0x01000000):soapenv:Envelope = (
(0x03000000):xmlns:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/'
(0x03000000):xmlns:soapenc = 'http://schemas.xmlsoap.org/soap/encoding/'
(0x03000000):xmlns:tns = 'http://ws3.st.mqsi.ibm.com/App/DocLiteral1'
(0x03000000):xmlns:xsd = 'http://www.w3.org/2001/XMLSchema'
(0x03000000):xmlns:xsi = 'http://www.w3.org/2001/XMLSchema-instance'
(0x01000000):soapenv:Header = (
(0x01000000):tns:requestHeader = (
(0x01000000):tns:assessorUrl = (
(0x02000000): = 'header1'
)
)
)
(0x01000000):soapenv:Body = (
(0x01000000):tns:requestAvailability = (
(0x01000000):tns:carDetails = (
(0x02000000): = 'body1'
)
(0x01000000):tns:claimID = (
(0x02000000): = 'body2'
)
(0x01000000):tns:location = (
(0x02000000): = 'body3'
)
(0x01000000):tns:reqDate = (
(0x02000000): = 'body4'
)
)
)
)
)
)
------------

Please help me in this regard why the message going to SoapExtract Node failure terminal.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jul 25, 2007 1:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are you trying to process a SOAP document, which has namespaces in it, with the XML domain which doesn't support namespaces?

What's the Exception?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mvs
PostPosted: Wed Jul 25, 2007 4:18 am    Post subject: SOAPExtract Node Reply with quote

Voyager

Joined: 06 Jul 2007
Posts: 85

Hi Jeff,
I am getting the below exception
$ more ExtractFAIL.log
+++++++++ExceptionList++++++++++++
(
(0x01000000):RecoverableException = (
(0x03000000):File = '/cmvc/mqsi/output/S600/sparc_solaris_2/S600-CSD03_P/src/DataFlowEngine/ImbDataFlowNode.cpp'
(0x03000000):Line = 616
(0x03000000):Function = 'ImbDataFlowNode::createExceptionList'
(0x03000000):Type = 'ComIbmJniNode'
(0x03000000):Name = 'FlowSoap#FCMComposite_1_3'
(0x03000000):Label = 'FlowSoap.SOAPExtract'
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 2230
(0x03000000):Text = 'Node throwing exception'
(0x01000000):RecoverableException = (
(0x03000000):File = '/build/S600_P/src/DataFlowEngine/PluginInterface/com_ibm_broker_plugin_CMbService.cpp'
(0x03000000):Line = 1631
(0x03000000):Function = 'ImbJavaExceptionUtils::throwableToNativeException'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 4367
(0x03000000):Text = 'Unhandled exception in plugin method.'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'evaluate'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'SOAPExtract'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'java.lang.RuntimeException: A message using an incorrect parser (xml) was detected in node: SOAPExtract
'
)
(0x01000000):RecoverableException = (
(0x03000000):File = '/build/S600_P/src/DataFlowEngine/PluginInterface/com_ibm_broker_plugin_CMbService.cpp'
(0x03000000):Line = 1649
(0x03000000):Function = 'ImbJavaExceptionUtils::throwableToNativeException'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 4395
(0x03000000):Text = 'Unhandled exception in plugin method'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'java.lang.RuntimeException'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'com.ibm.broker.soap.SoapExtractNode'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'removeSOAPEnvelope'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'SoapExtractNode.java'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '184'
)
)
)
)
)
**************Root+++++++++++++++++
(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-07-25 12:13:59.340'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
)
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 25, 2007 4:22 am    Post subject: Re: SOAPExtract Node Reply with quote

Grand High Poobah

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

mvs wrote:
(0x03000000):Text = 'java.lang.RuntimeException: A message using an incorrect parser (xml) was detected in node: SOAPExtract


jefflowrey wrote:
Are you trying to process a SOAP document, which has namespaces in it, with the XML domain which doesn't support namespaces?


Freaky coincidence, or clue?

(I'm asking - not good with SOAP!)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 25, 2007 2:43 pm    Post subject: Reply with quote

Grand High Poobah

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

No coincidence. Tell the author to get with the program and to use either the XMLNS or the XMLNSC parsers.

Could as well use an MRM parser but then that would be less fun...
_________________
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 » SOAPExtract Node
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.