Posted: Mon Oct 01, 2007 1:42 pm Post subject: How to set up $LocalEnvironment/SOAP/Envelope
Knight
Joined: 25 Aug 2006 Posts: 589
I am using the SOAPenvelope node (IA9O) on WMB V6 CSD3.
I want to set up my own SOAP envelope. So I unchecked the create soap envelop and use the default location of $LocalEnvironment/SOAP/Envelope as the default envelope location.
I have a compute node infront which has ESQL
SET OutputLocalEnvironment.SOAP.Envelope='<soapenv:Envelope xmlns:soapenc="http............XMLSchema-instance">'
Using debug I can see Environment.SOAP.Envelope='........' just before entering the SOAPEnvelope node.
But it blow up as soon as it enters the SOAPEnvelope node. The error in the event viewer says "
( BKR1.default ) Java exception: ''java.lang.RuntimeException''; thrown from class name: ''com.ibm.broker.soap.SoapWrapperNode'', method name: ''assembleSOAPMessage'', file: ''SoapWrapperNode.java'', line: '162'
( BKR1.default ) The method ''evaluate'' in Java node ''SOAPEnvelope'' has thrown the following exception: 'java.lang.RuntimeException: The location identified by the XPath expression "$LocalEnvironment/SOAP/Envelope" does not exist'.
The compute node has compute mode set to 'all'. Sorry I made a mistake in my post. I saw
LocalEnvironment.SOAP.Envelope='........' just before entering the SOAPEnvelope node NOT
Environment.SOAP.Envelope='........' just before entering the SOAPEnvelope node.
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