简体   繁体   中英

xs:string field element in BizTalk schema changes to Uint16

I have a schema defined in my BizTalk project, from a JSON instance. The instance key/values are in double quotations so they this means they are strings. But the JSON Schema Wizard set it as xs:unsignedShort . I changed it to xs:string . When I run my project and some messages contains numbers grater than 65535 this error appears. I get this error from tracked instances from my custom (xml to json) pipeline: Reason: Value was either too large or too small for a UInt16. I also checked Schemas tab in Microsoft BizTalk Administration Console for my schema; the schema view is same as the project in Visual Studio. What is the problem? I got confused..

as it was already adviced by other users, you should follow the following steps:

  1. Stop the host instance of your process.
  2. Stop your process from the console (right click on your process and Stop).
  3. Deploy your solution on Visual Studio.
  4. Come back to the console! Right click on your project and Refresh.
  5. Start your process again (right click and start). The host instance will be automatically started while you start your process.

Sometimes until you do not stop the host instance and your process and restart them, the console caches the old process version. Step 3 and 4 are optional, but it can be useful to be sure to have deployed the last version of the process.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM