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 » How to set up $LocalEnvironment/SOAP/Envelope

Post new topic  Reply to topic
 How to set up $LocalEnvironment/SOAP/Envelope « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Mon Oct 01, 2007 1:42 pm    Post subject: How to set up $LocalEnvironment/SOAP/Envelope Reply with quote

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'.

Can some one show me how to do this ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Oct 01, 2007 1:45 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So you set stuff in LocalEnvironment, see stuff in Environment, and then get an error that stuff isn't set in LocalEnvironment?

Did you change the Compute mode to pass the LE?

Are you sure the LE is what you have coded to be set, and not the Environment?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
KIT_INC
PostPosted: Mon Oct 01, 2007 6:21 pm    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

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.
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 » How to set up $LocalEnvironment/SOAP/Envelope
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.