IBM Support

XPath statements are case-sensitive when navigating through elements and attributes of Business Object

Troubleshooting


Problem

When using XPath inside a Java™ Snippet of BPEL or Mediation Flow to access the element of Business Object, you may experience problem with specific element not being found.

Symptom

The following error message is generated in the log files:


BpelEngine I CWWBE0071E: A two-way request for port type 'moduleName' and operation 'operationName' was accepted by activity 'Receive'. The process ended before a corresponding reply activity was executed.
com.ibm.bpe.api.RuntimeFaultException: CWWBE0003E: A runtime fault was returned by the implementation of activity 'SnippetName'.
java.lang.IllegalArgumentException: Class 'BOName' does not have a feature named 'elementName'.

Cause

Because XML node names are case-sensitive, XPath statements are also case-sensitive when navigating through elements and attributes of Business Object. You should use the exact case as it appears in the Business Object definition.

[{"Product":{"code":"SSQQFK","label":"WebSphere Integration Developer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Mediation Flow Editor","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.0","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

More support for:
WebSphere Integration Developer

Software version:
7.0

Operating system(s):
Linux, Windows

Document number:
427697

Modified date:
15 June 2018

UID

swg21507134

Manage My Notification Subscriptions