Technote (troubleshooting)
Problem(Abstract)
I am using a Web Service Proxy and transactions ONLY complete succesfully when the probe is enabled.
Symptom
An error message similar to the following is logged:
20120706T192729Z [xmlparse][error] wsgw(MyWebService): tid(7315670)[response]: local:///process-message.xsl:15: {http://www.datapower.com/extensions}variable not valid in this context
Cause
The issue happens when DataPower fails to stream a stylesheet due to a streaming rule configured in the 'Compile Options Policy' attached to the XML Manager. In this case, the stylesheet cannot be streamed because it makes a DataPower extension function call (dp:variable).
Diagnosing the problem
Check to see if the XML Manager attached to the service has a Compile Options Policy configured with a streaming rule.
Resolving the problem
When the probe is enabled, this disables streaming. Transactions therefore complete successfully when the probe is enabled and fails when the probe is disabled.
Try removing the Streaming Rule from the 'Compile Options Policy' attached to the XML Manager or use the stylesheet that can stream the payload in the Compile Options Policy.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.