Author |
Message |
Topic: Problem in accessing Namespace in Java. |
OMG
Replies: 2 Views: 2989
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Aug 07, 2012 4:21 am Subject: Problem in accessing Namespace in Java. |
I have a XML message as below:
<?xml version="1.0" encoding="UTF-8"?>
<Log xmlns:BMW="BMW-EXTENSIONS" xmlns:ace="Lookup table for taxes" xm ... |
Topic: URGENT::Error in accessing Oracle Database From Compute Node |
OMG
Replies: 10 Views: 8710
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Apr 04, 2012 11:29 pm Subject: URGENT::Error in accessing Oracle Database From Compute Node |
Yesss!!! I have resolved it!!!
@fjb_saper:
Without the "THE" keyword deployment was successful but it was failing while debugging with the error : "
I have researched it ... |
Topic: URGENT::Error in accessing Oracle Database From Compute Node |
OMG
Replies: 10 Views: 8710
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Apr 04, 2012 9:34 pm Subject: URGENT::Error in accessing Oracle Database From Compute Node |
@fjb_saper :
I have followed your suggestion but it is generating error while deployment.
The error is : Illegal data type for target. A non-list field reference is required. The expression supplyi ... |
Topic: URGENT::Error in accessing Oracle Database From Compute Node |
OMG
Replies: 10 Views: 8710
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Apr 04, 2012 4:21 am Subject: URGENT::Error in accessing Oracle Database From Compute Node |
@adubya : then also the error prevails!
please help!!  |
Topic: URGENT::Error in accessing Oracle Database From Compute Node |
OMG
Replies: 10 Views: 8710
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Apr 04, 2012 2:33 am Subject: URGENT::Error in accessing Oracle Database From Compute Node |
Thanks Esa.
The deployment error has been resolved using your suggestion but now it's giving error while debugging as : " |
Topic: URGENT::Error in accessing Oracle Database From Compute Node |
OMG
Replies: 10 Views: 8710
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Apr 04, 2012 2:14 am Subject: URGENT::Error in accessing Oracle Database From Compute Node |
But I don't need the whole row. I need only a single column value corresponding to the row. If we run the query in any SQL editor it gives correct value but in WMB it's generating the error. |
Topic: URGENT::Error in accessing Oracle Database From Compute Node |
OMG
Replies: 10 Views: 8710
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Apr 04, 2012 1:32 am Subject: URGENT::Error in accessing Oracle Database From Compute Node |
Hi
I am trying to fetch a single value from a Oracle Database Table (TABLE1) with the following code in Compute Node:
DECLARE XXX TIMESTAMP;
SET XXX = (SELECT A.START_DATE FROM Database.SY ... |
Topic: Trouble in accessing attribute values using XPATH in WMB |
OMG
Replies: 15 Views: 12004
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Mar 01, 2012 1:25 am Subject: Trouble in accessing attribute values using XPATH in WMB |
Hi All,
I have resolved the issue using the following code
vCancelFlag = (inputBody.getFirstElementByPath("./Transaction/CancelFlag")).getValueAsString();
no ' ... |
Topic: Trouble in accessing attribute values using XPATH in WMB |
OMG
Replies: 15 Views: 12004
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Mar 01, 2012 12:45 am Subject: Trouble in accessing attribute values using XPATH in WMB |
hi adubya
vCancelFlag = (inputBody.getFirstElementByPath("./Transaction/@CancelFlag")).getValueAsString(); this one is also throwing the same NullPointerException.  |
Topic: Trouble in accessing attribute values using XPATH in WMB |
OMG
Replies: 15 Views: 12004
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Mar 01, 2012 12:22 am Subject: Trouble in accessing attribute values using XPATH in WMB |
@Esa :
yes I have used the following statement as
vCancelFlag = (inputBody.getFirstElementByPath("./Transaction@CancelFlag")).getValueAsString();
But it's t ... |
Topic: Trouble in accessing attribute values using XPATH in WMB |
OMG
Replies: 15 Views: 12004
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Feb 29, 2012 11:41 pm Subject: Re: Trouble in accessing attribute values using XPATH in WMB |
Please share the syntax to extract this attribute values in MbElement using XPATH.
 |
Topic: Trouble in accessing attribute values using XPATH in WMB |
OMG
Replies: 15 Views: 12004
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Feb 29, 2012 11:36 pm Subject: Re: Trouble in accessing attribute values using XPATH in WMB |
I am not able to access the attribute values from the a XML message using XPATH.
The example xml message is like
<Transaction CancelFlag="false" TrainingModeFlag="false" Off ... |
Topic: Trouble in accessing attribute values using XPATH in WMB |
OMG
Replies: 15 Views: 12004
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Feb 29, 2012 11:35 pm Subject: Trouble in accessing attribute values using XPATH in WMB |
I am not able to access the attribute values from the a XML message using XPATH.
The example xml message is like
<Transaction CancelFlag="false" TrainingModeFlag="false" Offli ... |
Topic: Java iteration error |
OMG
Replies: 7 Views: 2291
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Feb 27, 2012 1:02 am Subject: Java iteration error |
I have used this logic for the 'for loop' part but getting a java error as "Can only iterate over an array or an instance of java.lang.Iterable".
Is there any idea why this error is comin ... |
Topic: ESQL to Java conversion |
OMG
Replies: 78 Views: 58244
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Feb 23, 2012 10:14 pm Subject: ESQL to Java conversion |
The main problem is that I am not a Java person but I have to code it in Java using JDBC only. That's the given criteria and the biggest constraint also.
I have checked some sample where XPATH were ... |