BizTalk Blog by Chris Han

System Design for Enterprise Agility,

  Home  |   Contact  |   Syndication    |   Login
  68 Posts | 9 Stories | 173 Comments | 79 Trackbacks

News

Article Categories

Archives

Post Categories

Image Galleries

BizTalk Bloggers

BizTalk on MSDN

Patterns & Architecture

SharePoint

I got this piple line validator error.

The reason causes this problem is the application sends in an empty tag for the field which type is expected as 'Long' by BizTalk schema. By sending an empty tag, BizTalk piple line validator intepreted it as a string type with empty value, therefore failed in type validation.

The point is clear, if you want to validate the message, make sure you don't send in empty tag for any un-string type fields.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Thursday, August 04, 2005 2:13 PM

Feedback

# re: Message validation error - element has an invalid value according to its data type 5/7/2010 1:09 AM aqueel
HTTP/1.1 100 Continue Server: Microsoft-IIS/5.0 Date: Fri, 07 May 2010 06:06:57 GMT X-Powered-By: ASP.NET HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 07 May 2010 06:06:57 GMT X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/xml; charset=utf-8 Content-Length: 496 ?ErrorE00003The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:length' element is invalid - The value '' is invalid according to its datatype 'Short' - The string '' is not a valid Int16 value.

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: