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 » Incorrect parser in SOAPEnvelope

Post new topic  Reply to topic
 Incorrect parser in SOAPEnvelope « View previous topic :: View next topic » 
Author Message
j2soccer
PostPosted: Mon May 21, 2007 11:53 am    Post subject: Incorrect parser in SOAPEnvelope Reply with quote

Newbie

Joined: 21 May 2007
Posts: 5

Hi,

I got a msg flow

HTTPInput --> SOAPExtract --> Compute --> SOAPEnvelope --> HTTPReply

For the compute node, a have an ESQL with the ff main() module...

DECLARE ns NAMESPACE 'http://www.acmeOrders.com/ShippingService';

CREATE COMPUTE MODULE test_Compute
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN

CALL CopyMessageHeaders();
-- CALL CopyEntireMessage();

DECLARE refShipPartResponse REFERENCE TO OutputRoot.XMLNSC.ns:shipPartResponse;
CALL Perform2(refShipPartResponse);


RETURN TRUE;
END;
-- CopyMessageHeaders() and CopyEntireMessage() were removed...
END MODULE;

and another external PROCEDURE with the following definition

CREATE PROCEDURE Perform2(INOUT refShipPartResponse REFERENCE) BEGIN
SET refShipPartResponse.ns:status = 'Status';
END;


I can read the values coming from the InputRoot, however I keep on getting this exception whenever I call this webservice...

-- start

BIP2230E: Error detected whilst processing a message in node 'test.SOAPExtract'. : F:\build\S600_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp: 922: ImbJniNode::evaluate: ComIbmJniNode: test#FCMComposite_1_5
BIP2230E: Error detected whilst processing a message in node 'test.SOAPEnvelope'. : F:\build\S600_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp: 922: ImbJniNode::evaluate: ComIbmJniNode: test#FCMComposite_1_6
BIP4367E: The method ''evaluate'' in Java node ''SOAPEnvelope'' has thrown the following exception: 'java.lang.RuntimeException: A message using an incorrect parser (WSRoot) was detected in node: SOAPEnvelope'. : F:\build\S600_P\src\DataFlowEngine\PluginInterface\com_ibm_broker_plugin_CMbService.cpp: 1629: ImbJavaExceptionUtils::throwableToNativeException: :
BIP4395E: Java exception: ''java.lang.RuntimeException''; thrown from class name: ''com.ibm.broker.soap.SoapWrapperNode'', method name: ''getMessageBody'', file: ''SoapWrapperNode.java'', line: '463' : F:\build\S600_P\src\DataFlowEngine\PluginInterface\com_ibm_broker_plugin_CMbService.cpp: 1647: ImbJavaExceptionUtils::throwableToNativeException: :

-- end



Note: However, this form works...didn't call the procedure here.

CREATE COMPUTE MODULE test_Compute
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN

CALL CopyMessageHeaders();
-- CALL CopyEntireMessage();

SET OutputRoot.XMLNSC.ns:shipPartResponse.ns:status = 'Status';
RETURN TRUE;
END;
-- CopyMessageHeaders() and CopyEntireMessage() were removed...
END MODULE;


I would really appreciate your help with this.
Back to top
View user's profile Send private message
Vijji
PostPosted: Mon May 21, 2007 12:15 pm    Post subject: Reply with quote

Voyager

Joined: 30 Aug 2005
Posts: 83

Hi j2soccer,

Actually in ur first template you are not creating field .With out creating a field how can u refer it .

So first u have to create a field to the OutputRoot.XMLNSC.ns:shipPartResponse.
Then create a reference for it and call external procedure.

Let me know what happened.

Cheers,
Vijji.
Back to top
View user's profile Send private message
j2soccer
PostPosted: Mon May 21, 2007 4:13 pm    Post subject: Reply with quote

Newbie

Joined: 21 May 2007
Posts: 5

Thanks for the reply Vijji. Kind of miss creating the 'reference'. Now it worked.

CREATE FIELD OutputRoot.XMLNSC.ns:shipPartResponse;

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 » Incorrect parser in SOAPEnvelope
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.