22K character test:
Invoke ReSTful Web Services with BizTalk Server 2010
This article presents a workable solution for consuming ReSTful services using BizTalk Server 2010.
We in the BizTalk Server CCxG team gratefully acknowledge the contributions of the following individuals for providing their valuable inputs in setting up the end-to-end scenario used in this article:
Shailesh Agre, BizTalk Server PSS
What is ReST?
ReST stands for Representational State Transfer and defines an architecture to create network applications, typically over the World Wide Web. In most cases, the protocol used for a ReST client-server communication is HTTP. An application that uses ReST architecture is called a ReSTful application. Such applications use HTTP requests to create, update, read, and delete data, thereby supporting all CRUD operations. These CRUD operations are performed by ReST by supporting the GET, PUT, POST, and DELETE methods.
The two fundamental aspects of a ReST design pattern are:
Let us understand this with an example. An organization "Contoso" has a significantly large customer base and wants to provide customers with the option to view their details as stored in Contoso's records. If Contoso decides to expose the customer details the ReSTful way, it would have to think on the lines of:
- Each customer is resource.
- Each customer can be identified by a unique URL.
Going by this theory, a URL that could probably provide details for a customer with ID = 9999 would look like:
Had there been no ReSTful way of retrieving customer details, one would have to send a SOAP request that would have probably looked like:
- Marked as answer by Ed Price - MSFTMicrosoft employee, Owner Tuesday, June 05, 2012 10:43 PM
No problem yet.
How can you find number of characters?
Just testing scenarios for a lot of text. It seems dependent on HTML settings that you're pasting in. So I don't know if it's a character limit or a bit limit. (Seems more like the latter.)
- Edited by Ed Price - MSFTMicrosoft employee, Owner Tuesday, June 05, 2012 11:19 PM
My question is - how do you know the number of characters in the text you're testing? In the Word I could not find a way to display number of characters, although it does show number of words, so I can estimate the total number of characters. I assume that size in bytes corresponds to the number of characters, correct?
Is there a way to show total number of characters in Word without saving the text first?
For every expert, there is an equal and opposite expert. - Becker's Law
- Edited by Ed Price - MSFTMicrosoft employee, Owner Tuesday, June 05, 2012 11:22 PM
So I'm up to 50K characters if I strip the formatting in Notepad first, which is how you'd type it in the thread. So the reality is that the max is 60K characters if and only if you use the forum formatting (or if you strip your formatting before you paste it in).
I got up to 56K characters, but I couldn't break 57K. I submitted a request to change the error message to this:
“Body must be over 4 to 57000 characters long. If you are pasting in content, the extra HTML styles could reduce your character limit all the way down to about 7000 characters.”