|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
IIB ODM -Error in DecisionWhichRoute |
« View previous topic :: View next topic » |
Author |
Message
|
GeneRK4 |
Posted: Sun Jul 20, 2014 7:41 pm Post subject: IIB ODM -Error in DecisionWhichRoute |
|
|
Master
Joined: 08 Jul 2013 Posts: 220
|
Hi,
I am trying out the sample in "http://www.ibm.com/developerworks/bpm/bpmjournal/1308_jackson/1308_jackson.html"
While Testing the flow,I am getting XML schema location error.
My XML input file is below,
Code: |
<?xml version="1.0" encoding="UTF-8"?>
<p:StockTrade xmlns:p="http://www.ibm.com/demo" ..xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ..xsi:schemaLocation="http://www.ibm.com/demo/StockTrade.xsd">
<customerID>1234567890</customerID>
<tickerSymbol>IBM</tickerSymbol>
<numberOfStock>100</numberOfStock>
<maximumPrice>20000.0</maximumPrice>
</p:StockTrade> |
The XML Schema location is "http://www.ibm.com/demo".
DecisionService node is described with Parameters as "$Root/XMLNSC/Sto:StockTrade".
I am still getting the below error even though the XML schema location seems to be correct.
Text:CHARACTER:ERROR RTERR024: in source ?, after line 1, before lines ?, Invalid schema location XML attribute value: http://www.ibm.com/demo/StockTrade.xsd
Need help to find the rootcause of this error...  |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jul 21, 2014 4:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Indeed the schema location is invalid. You are supposed to reference here the xsd containing that schema.
http://www.ibm.com/demo/StockTrade.xsd may be the namespace of the schema but certainly not the url at which the xsd can be found....
Try it and you'll get an error page...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
GeneRK4 |
Posted: Mon Jul 21, 2014 5:57 pm Post subject: |
|
|
Master
Joined: 08 Jul 2013 Posts: 220
|
I just tried with the sample message given in the link "http://www.ibm.com/developerworks/bpm/bpmjournal/1308_jackson/1308_jackson.html"
Code: |
<?xml version="1.0" encoding="UTF-8"?>
<p:StockTrade xmlns:p="http://www.ibm.com/demo"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.ibm.com/demo
../StockTradeRoutingApplication/StockTrade.xsd">
<customerID>1234567890</customerID>
lt;tickerSymbol>IBM</tickerSymbol>
<numberOfStock>100</numberOfStock>
<maximumPrice>20000.0</maximumPrice>
</p:StockTrade> |
Found that its working fine.. .Problem is I have not referred the Application "StockTradeRoutingApplication" inside which the xsd is present in the url. |
|
Back to top |
|
 |
ec10024 |
Posted: Fri Jul 22, 2016 2:00 am Post subject: |
|
|
Novice
Joined: 30 Jun 2016 Posts: 15
|
Try with this input, I hope it helps
Code: |
<?xml version="1.0" encoding="UTF-8"?>
<p:StockTrade xmlns:p="http://www.ibm.com/demo">
<customerID>1234567890</customerID>
<tickerSymbol>IBM</tickerSymbol>
<numberOfStock>100</numberOfStock>
<maximumPrice>20000.0</maximumPrice>
</p:StockTrade> |
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|