Unable To Parse GETORDER Response By Using Dataprovider And Its Instance (Doc ID 2163598.1)

Last updated on JULY 10, 2017

Applies to:

Oracle Communications Order and Service Management - Version 7.2.2 and later
Information in this document applies to any platform.

Symptoms

SAXParseException while parsing XML using XPATH

In OSM ORP transformation, we are trying to use GetOrder API to fetch a data from different order by using Data Provider and its instance.

While retrieving the response and traversing through its throwing the below error:

Caused by: net.sf.saxon.trans.XPathException: org.xml.sax.SAXParseException: The prefix "osmc" for element "osmc:_root" is not bound.

Though OSMC namespace is declared. We have also tried to traverse the response by using local-name(making it namespace independent) still the issue persist

declare namespace osmc="urn:oracle:names:ordermanagement:cartridge:kaushik:1.0.0.0.0:view:kaushikCreationTask";

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms