XML API For Query Is Not Working With Task Element giving error Namespace/version not found. (Doc ID 1546538.1)

Last updated on APRIL 22, 2013

Applies to:

Oracle Communications Order and Service Management - Version 7.0.1 to 7.2.2.0 [Release 7.0.0 to 7.2]
Information in this document applies to any platform.

Goal

 As per XMLAPI guide TaskID is an input parameter for a query,  but the result is "Unknown request parameter found: TaskID"

As per Query.xsd you should use Task Element not TaskID.

i.e.

<xs:element name="Task" minOccurs="0">
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="mnemonicType">
                            <xs:attributeGroup ref="cartridgeAttributeGroup"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
 </xs:element>

But Query Request i.e.

<Query.Request xmlns="urn:com:metasolv:oms:xmlapi:1">
<OrderID>123*</OrderID>
<Task>coax_telephony_query_telephone_line_resource_business_fallout</Task>
<Namespace>Endcustomer_Services</Namespace>
<Version>3.0.2</Version>
</Query.Request>

Is giving following error:

<Query.Error xmlns="urn:com:metasolv:oms:xmlapi:1">
<Error code="150" desc="Request parameter error">Namespace/version not found.</Error>
<Query.Error>


Solution

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