Author |
Message |
Topic: DFDL parser- String fields has Space or low-Value |
agrawalamit166
Replies: 23 Views: 21047
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Sep 13, 2016 3:52 pm Subject: DFDL parser- String fields has Space or low-Value |
Thanks Timber,
You are absolutely right. We should not get mix element Nul with Spaces.
We figured out the problem, it's from mainframe side; they were copying data from 80 char field to 200 char ... |
Topic: DFDL parser- String fields has Space or low-Value |
agrawalamit166
Replies: 23 Views: 21047
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Sep 13, 2016 1:52 pm Subject: DFDL parser- String fields has Space or low-Value |
you are right.. here is the one field data (200 characters). where I am getting issue:
first 67 characters - Actual response
next 13 characters - nul character
next 120 characters - space
45 46 ... |
Topic: DFDL parser- String fields has Space or low-Value |
agrawalamit166
Replies: 23 Views: 21047
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Sep 13, 2016 12:31 pm Subject: DFDL parser- String fields has Space or low-Value |
sorry, my mistake... Here is hex data:
45 46 34 39 30 4c 4f 47 20 2d 20 49 6e 76 61 6c 69 64 20 41 63 74 69 6f 6e 3a 20 2a 52 45 56 4f 4b 45 2a 20 4d 75 73 74 20 62 65 20 53 45 54 55 50 2c 20 41 55 5 ... |
Topic: DFDL parser- String fields has Space or low-Value |
agrawalamit166
Replies: 23 Views: 21047
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Sep 13, 2016 12:10 pm Subject: DFDL parser- String fields has Space or low-Value |
Are any of those characters that are not allowed in CDATA sections?
CDATA contains only nul character like I mentioned "&_#0;" (remove underscore)
After CDATA I can see spaces &quo ... |
Topic: DFDL parser- String fields has Space or low-Value |
agrawalamit166
Replies: 23 Views: 21047
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Sep 13, 2016 11:52 am Subject: DFDL parser- String fields has Space or low-Value |
Thanks a lot...
I saved mainframe response message in file and run against DFDL schema in IIB toolkit. Then I got this response. I was able to parse message successfully.
I verified success vs fa ... |
Topic: DFDL parser- String fields has Space or low-Value |
agrawalamit166
Replies: 23 Views: 21047
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Sep 13, 2016 9:34 am Subject: DFDL parser- String fields has Space or low-Value |
Thanks Timber, for summarize things.
i just checked 3rd scenario (Mixed fields, contains message with nul character)
I defined
<dfdl:format binaryFloatRep="{$dfdl:binaryF ... |
Topic: DFDL parser- String fields has Space or low-Value |
agrawalamit166
Replies: 23 Views: 21047
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Sep 13, 2016 7:58 am Subject: DFDL parser- String fields has Space or low-Value |
but the same can be achieved more simply using nilKind='nilLiteralCharacter'. I think nilLiteralCharacter is the simplest way to model a field that is filled with N instances of the same character.
... |
Topic: DFDL parser - getting weird character |
agrawalamit166
Replies: 4 Views: 4029
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Sep 12, 2016 7:47 am Subject: DFDL parser - getting weird character |
Please ask your question on the original thread ( http://www.mqseries.net/phpBB2/viewtopic.php?t=72929 ), or else explain why this is a different question.
No, this one differs from that, because the ... |
Topic: DFDL parser- String fields has Space or low-Value |
agrawalamit166
Replies: 23 Views: 21047
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Sep 12, 2016 7:41 am Subject: DFDL parser- String fields has Space or low-Value |
That can only be valid if the field is defined to be exactly 1 byte long
That's not true, I have length >1, and it works fine for me. |
Topic: DFDL parser - getting weird character |
agrawalamit166
Replies: 4 Views: 4029
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri Sep 09, 2016 3:53 pm Subject: DFDL parser - getting weird character |
HTTP://C:\\Temp\\response.png
I define DFDL format <dfdl:format binaryFloatRep="{$dfdl:binaryFloatRep}" byteOrder="{$dfdl:byteOrder}" encodin ... |
Topic: DFDL parser- String fields has Space or low-Value |
agrawalamit166
Replies: 23 Views: 21047
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Sep 08, 2016 9:54 am Subject: DFDL parser- String fields has Space or low-Value |
Thanks Shanson,
I found the issue:
I have
dfdl:nilKind="literalCharacter" dfdl:nilValue="%SP; "
for String value to recognize null in DFDL xsd.
I was trying ... |
Topic: DFDL parser- String fields has Space or low-Value |
agrawalamit166
Replies: 23 Views: 21047
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Sep 07, 2016 1:28 pm Subject: DFDL parser- String fields has Space or low-Value |
Hi,
IIB service gets fixed length message from mainframe using CICS request (EBCDIC 037 - 785). few string fields are recognized NULL value as Space and other string fields are recognized NULL valu ... |
Topic: atomic block and additional instances query |
agrawalamit166
Replies: 6 Views: 6436
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Jun 30, 2016 2:37 pm Subject: atomic block and additional instances query |
suppose If I run 4 messages at a time .how can I get count values to be 1,2,1,2 on declaring count as SHARED variable
Add condition in ATOMIC block
if 2 then make that 1. |
Topic: Decimal - remove grouping-separator |
agrawalamit166
Replies: 0 Views: 1613
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Jun 09, 2016 11:38 am Subject: Decimal - remove grouping-separator |
Hi,
I am getting value from back-end as format '7,342,343.32'.
at my side (IIB9004), I have defined field as decimal in XSD. and I am using mapping node to map the field. Since Decimal supports gr ... |
Topic: WSDL Fault Issue |
agrawalamit166
Replies: 3 Views: 2834
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Dec 21, 2015 7:55 am Subject: Re: WSDL Fault Issue |
Why are you generating a message set for a WSDL? What version are you using?
I am using WMB 7.0.0.7. I was creating message set just for validation. (I actually do not need message set in project)
... |