Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tESBConsumer does not understand null value

Hello, i am trying to make a simple service where i input person_code and date in the request. Since date is optional it shouldnt be converting it, but i get this error:

The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:request. The InnerException message was 'There was an error deserializing the object of type DataTransmission.Envelopes.BitesRequest. The value '' cannot be parsed as the type 'DateTime'.'. Please see InnerException for more details.
Can someone tell me how i could make it optional for ESBconsumer to not convert optional fields?
this is my job
Labels (2)
6 Replies
Anonymous
Not applicable
Author

Hi spiderman,
The screenshot is too small to see it clearly.
Could you please upload your screenshot by talend forum Image Upload Section?
For registered users, please click on "post reply" (not through the quick post") and pay more attention on the limitation(20 images per post, each image must be less then 1024x768 pixels and 200 KB, .png is preferred)
This would be easier for you and more convenient for other users than pasting urls.
Best regards
Sabrina
Anonymous
Not applicable
Author

having trouble using your image upload feature. so i just added a link of a larger image. http://s22.postimg.org/64vxmvypr/process.png
Anonymous
Not applicable
Author

Hi,
Could you please indicate the build version you're using?
Best regards
Sabrina
Anonymous
Not applicable
Author

I am using Talend Open Studio ESB v5.4.1.r111943
Anonymous
Not applicable
Author

Hi,
We will make a testing for your issue on Talend Open Studio ESB v5.4.1.r111943 then come back to you asap.
Best regards
Sabrina
Anonymous
Not applicable
Author

It seems that the problem is in the request of service i am trying to get response from.
I tried to pass null value in the DATE field of request using SOAPUI, and the same error appeared as when i tried to do the same with talend. So i added a namespace ( http://www.w3.org/2001/XMLSchema-instance) and assigned an attribute i:nil="true" to the DATE tag, and i got a response.
The question now is how i add a prefixed attribute in talend? when i add i:nil attribute in tXMLMap i get the error displayed in picture2. How should i add an attribute with assigned namespace in tXMLMap?
0683p000009MC7I.png 0683p000009MDVk.png