<?xml version="1.0" encoding="UTF-8"?>
<svd:UDTO xmlns:svd="http://smart.com.ph/svd/"
xmlns:xsi="http://www.w3.org/2014/XMLSchema-instance"
xsi:schemaLocation="http://smart.com.ph/svd/ UDTOSVD.xsd">
<svd:OriginalRequest>
<svd:OriginalRequestPayload>
<svd:SubscriberNumber>9479927462</svd:SubscriberNumber>
<svd:Amount>100.0</svd:Amount>
<svd:TimeStamp>2014-07-28T12:00:00</svd:TimeStamp>
</svd:OriginalRequestPayload>
<svd:OriginalRequestCorellId>svd:OriginalRequestCorellId</svd:OriginalRequestCorellId>
<svd:OriginalRequestMsgId>svd:OriginalRequestMsgId</svd:OriginalRequestMsgId>
<svd:OriginalRequestAuthToken>svd:OriginalRequestAuthToken</svd:OriginalRequestAuthToken>
<svd:TimeStamp>2014-07-28T12:00:00</svd:TimeStamp>
</svd:OriginalRequest>
<svd:OriginalResponse>
<svd:OriginalResponsePayload/>
<svd:OriginalResponseReplyToQName>StaticVsDynamic.REPLY</svd:OriginalResponseReplyToQName>
<svd:OriginalResponseReplyToQMgr>IB9MGR</svd:OriginalResponseReplyToQMgr>
</svd:OriginalResponse>
<svd:AtomicRequest>
<svd:AtomicRequestPayload>
<svd:AtomicServiceOneRequest>
<svd:SubscriberNumber>9479927462</svd:SubscriberNumber>
<svd:Amount>100.0</svd:Amount>
<svd:TimeStamp>2014-07-28T12:00:00</svd:TimeStamp>
<svd:Comments>svd:Comments</svd:Comments>
</svd:AtomicServiceOneRequest>
</svd:AtomicRequestPayload>
<svd:AtomicRequestQName>AtomicServiceOne.IN</svd:AtomicRequestQName>
<svd:AtomicRequestQMgr>IB9Mgr</svd:AtomicRequestQMgr>
<svd:AtomicRequestReplyToQName>StaticVsDynamic.IN</svd:AtomicRequestReplyToQName>
<svd:AtomicRequestReplyToQMgr>IB9Mgr</svd:AtomicRequestReplyToQMgr>
<svd:AtomicRequestJavaClassPath></svd:AtomicRequestJavaClassPath>
<svd:TimeStamp>2014-07-28T12:00:00</svd:TimeStamp>
</svd:AtomicRequest>
<svd:AtomicResponse>
<svd:AtomicResponsePayload/>
</svd:AtomicResponse>
<svd:MessageVariables>
<svd:OriginalReplyToQ>StaticVsDynamic.REPLY</svd:OriginalReplyToQ>
<svd:OriginalReplyToQMgr>IB9Mgr</svd:OriginalReplyToQMgr>
<svd:OriginalCorrelId>svd:OriginalCorrelId</svd:OriginalCorrelId>
<svd:OriginalMsgId>svd:OriginalMsgId</svd:OriginalMsgId>
<svd:AtomicServiceQ>svd:AtomicServiceQ</svd:AtomicServiceQ>
<svd:AtomicServiceReplyTo>StaticVsDynamic.IN</svd:AtomicServiceReplyTo>
<svd:AtomicServiceQMgr>IB9Mgr</svd:AtomicServiceQMgr>
<svd:JavaClassPath></svd:JavaClassPath>
<svd:ScriptBody></svd:ScriptBody>
<svd:OtherVariables><!--OVParam1 is switch for static or dynamic-->
<svd:OVParam1>dynamic</svd:OVParam1>
<!--OVParam2 is repeat counter for iterations of the test-->
<svd:OVParam2>11</svd:OVParam2>
<!--OVParam3 will have the RUN Start Time-->
<svd:OVParam3>tbd</svd:OVParam3>
<!--OVParam4 will have the RUN End time taken just before writing the result file.-->
<svd:OVParam4>tbd</svd:OVParam4>
<!--OVParam5 will hold the total elapsed time since start of run for every message.-->
<svd:OVParam5>tbd</svd:OVParam5>
</svd:OtherVariables>
<svd:RouteToLabel>ATOMICSERVICE</svd:RouteToLabel>
</svd:MessageVariables>
<svd:EventKey>SVDMAIN</svd:EventKey>
</svd:UDTO>
The xml document started as a Generated xml from the schema in IIB so the svd namespace prefix was found then.
Further in the Route node the filter pattern that is throwing the exception is...
uses the [...] editor to build it...I have stared at it till I am blue in the face, figuratively, and do not see the error. Is it a bug? If so is there a work around?
The error is being reported by the XPath engine.
The XPath engine does not use the namespace declarations ( xmlns attributes ) in the XML file. You must specify them when you build the XPath.
So...did you specify the namespace prefixes when you constructed the XPath? _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
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