Author |
Message |
Topic: Updating error codes for pass thro service |
mrkumar
Replies: 0 Views: 1981
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri Sep 07, 2018 11:09 pm Subject: Updating error codes for pass thro service |
I am getting 500 error code and its a SOAP format.
I see HTML, SOAP 1.1 & SOAP 1.2 formats available for response when there is an exception in my pass thro service,
for example when user is ent ... |
Topic: Regarding Graphical mapping node Cache |
mrkumar
Replies: 8 Views: 7700
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Aug 08, 2016 2:35 pm Subject: Regarding Graphical mapping node Cache |
A serialized message tree is a byte string...
I forget how to do ASBITSTREAM in a mapping node.
you mean save the value of the cache as string by using ASBITSTREAM function ? |
Topic: Regarding Graphical mapping node Cache |
mrkumar
Replies: 8 Views: 7700
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Aug 08, 2016 10:43 am Subject: Regarding Graphical mapping node Cache |
A serialized Java object is a byte array. A byte array can be put into the global cache. Watch out for classloader issues.
thanks timber,
would it be safer to go for an approach that is non graph ... |
Topic: Regarding Graphical mapping node Cache |
mrkumar
Replies: 8 Views: 7700
|
Forum: WebSphere Message Broker (ACE) Support Posted: Sun Aug 07, 2016 10:23 am Subject: Regarding Graphical mapping node Cache |
I have ready the cache using graphical mapping node from the article
https://developer.ibm.com/integration/blog/2015/11/16/graphical-data-mapping-with-global-cache/
This is really helpful. howev ... |
Topic: Regarding namepsace in JSON |
mrkumar
Replies: 16 Views: 9950
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri Jul 08, 2016 2:42 pm Subject: Regarding namepsace in JSON |
Somewhere here, there's ESQL code to do a quicksort. That would show you some way of doing a generic walk through of a message tree.
The basic answer to your question is to use references, and loop ... |
Topic: Regarding namepsace in JSON |
mrkumar
Replies: 16 Views: 9950
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Jul 06, 2016 6:11 pm Subject: Regarding namepsace in JSON |
is that something that i have to loop through every elements and see if there is a type XMLNSC.NamespaceDecl and remove it in esql ?
merely don't copy it.
thank you for the wise suggestion.
... |
Topic: Regarding namepsace in JSON |
mrkumar
Replies: 16 Views: 9950
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Jul 06, 2016 6:10 pm Subject: Regarding namepsace in JSON |
is that something that i have to loop through every elements and see if there is a type XMLNSC.NamespaceDecl and remove it in esql ?
merely don't copy it.
thank you for the wise suggestion.
... |
Topic: JSON array using graphical mapping node |
mrkumar
Replies: 7 Views: 6624
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Jul 06, 2016 10:48 am Subject: JSON array using graphical mapping node |
is this a bug in the JSON parser to not have repeated JSON elements in a JSON array object ?No. This is not a bug. Please review what I said once again.
The JSON parser does not *assume* that two c ... |
Topic: JSON array using graphical mapping node |
mrkumar
Replies: 7 Views: 6624
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Jul 05, 2016 3:15 pm Subject: JSON array using graphical mapping node |
I've posted code that will convert repeating elements into JSON arrays - I believe it's somewhere on the forum in a related post.
a prodcut like IIB for sure should have a automatic conversion of a ... |
Topic: Regarding namepsace in JSON |
mrkumar
Replies: 16 Views: 9950
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Jul 05, 2016 9:27 am Subject: Regarding namepsace in JSON |
You can write code that copies elements from XMLNSC to JSON and skips elements of type XMLNSC.NamespaceDecl without knowing what the name of the elements are.
as of now , I am doing
SET OutputRoo ... |
Topic: Regarding namepsace in JSON |
mrkumar
Replies: 16 Views: 9950
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Jul 05, 2016 8:31 am Subject: Regarding namepsace in JSON |
It appears you are simply copying an entire XML structure, including namespace declarations, into a JSON record.
So I don't think "ReportNs": "http://www.sample.com/01/14/2010/V1.0/R ... |
Topic: Regarding namepsace in JSON |
mrkumar
Replies: 16 Views: 9950
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Jul 04, 2016 10:51 pm Subject: Regarding namepsace in JSON |
Your current schema is following the wsdl and has the namespaces. Create a different schema for your JSON without the namespaces and map one to the other. See how that works all out for you... :innoce ... |
Topic: Regarding namepsace in JSON |
mrkumar
Replies: 16 Views: 9950
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Jul 04, 2016 1:10 pm Subject: Regarding namepsace in JSON |
I meant the name space. When we have a namespace in xsd, it comes int he response xml, so when you convert that to JSON. it comes as xmlns attribute in JSON.
Why not show us what you mean. Ex ... |
Topic: JSON array using graphical mapping node |
mrkumar
Replies: 7 Views: 6624
|
Forum: WebSphere Message Broker (ACE) Support Posted: Sun Jul 03, 2016 7:06 pm Subject: JSON array using graphical mapping node |
I've posted code that will convert repeating elements into JSON arrays - I believe it's somewhere on the forum in a related post.
a prodcut like IIB for sure should have a automatic conversion of a ... |
Topic: Regarding namepsace in JSON |
mrkumar
Replies: 16 Views: 9950
|
Forum: WebSphere Message Broker (ACE) Support Posted: Sun Jul 03, 2016 3:42 pm Subject: Regarding namepsace in JSON |
Since the resposnse XML has namepsace. The JSON format is getting parser error in browser. Not sure that I understand. Please can you explain that again. I cannot work out whether you are having a pro ... |