Topic
1 reply Latest Post - ‏2013-03-23T02:19:21Z by spriet
SystemAdmin
SystemAdmin
6092 Posts
ACCEPTED ANSWER

Pinned topic Exception when we pass chars to int field

‏2013-02-13T19:34:14Z |
WESB takes 0 as default value for interger type variable. If we expose service with integer as input then ESB throws serialization error if we pass characters. Is there any way so that this variable should accept character or blank data?

Thanks in advance.

-Sachin
Updated on 2013-03-23T02:19:21Z at 2013-03-23T02:19:21Z by spriet
  • spriet
    spriet
    58 Posts
    ACCEPTED ANSWER

    Re: Exception when we pass chars to int field

    ‏2013-03-23T02:19:21Z  in response to SystemAdmin
    Hello, I am not sure I understand the problem. Is it that you want to assign a field to xsd:int but pass in a string? This is bad practice and also would violate xml schema validation.

    Also you did not mention where the exception is coming from. Is it an XML Map?

    Dave Spriet
    BPM Architect, BPM SWAT