ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB ODM -Error in DecisionWhichRoute

Post new topic  Reply to topic
 IIB ODM -Error in DecisionWhichRoute « View previous topic :: View next topic » 
Author Message
GeneRK4
PostPosted: Sun Jul 20, 2014 7:41 pm    Post subject: IIB ODM -Error in DecisionWhichRoute Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Jul 21, 2014 4:40 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
GeneRK4
PostPosted: Mon Jul 21, 2014 5:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
ec10024
PostPosted: Fri Jul 22, 2016 2:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB ODM -Error in DecisionWhichRoute
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.