none
List of special Character used in BizTalk

    Question

  • Hi

    We are developing an Mobile Application which is integrated using Biztalk.

    The Input request will have the username and password which contain the special characters.

    it would be appreciated if i get the details of list of Special character should not used in BizTalk .

    How to handle the password field in BizTalk.

    Regards,
    Aboorva


    Regards, Aboorva Raja R Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, January 01, 2014 7:06 AM

Answers

  • Hi,

    By setting the appropriate encoding of the inbound message in the disassembler(or in schema) you can handle the special characters. Refer http://www.w3schools.com/xml/xml_encoding.asp for various XML Encoding.

    This encoding can also handle the special characters in your password field.


    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

    Wednesday, January 01, 2014 8:36 AM
  • To answer your specific question, there aren't any.  Meaning there are no specific characters that BizTalk cannot process.

    However, you must be aware of the encoding or escaping practices of the various internal components, such as those in System.Xml and use their API instead of manipulating Xml as a string for instance.  The API will automatically escape and un-escape any reserved characters defined by Xml so you don't have to worry about it.

    Similar for passwords, there's really no special way to handle them in BizTalk.  You app though should at least hash or otherwise obfuscate them:  http://msdn.microsoft.com/en-us/library/aa545602(v=CS.70).aspx

    Thursday, January 02, 2014 1:29 PM

All replies

  • Hi,

    By setting the appropriate encoding of the inbound message in the disassembler(or in schema) you can handle the special characters. Refer http://www.w3schools.com/xml/xml_encoding.asp for various XML Encoding.

    This encoding can also handle the special characters in your password field.


    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

    Wednesday, January 01, 2014 8:36 AM
  • The restrictions (if any) would be because the message/data representation in BizTalk is XML. So special characters and other XML reserved characters is what you should be looking out for. Check out this http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references on Wikipedia.

    A password is a text field and that is how it has to be handled. If you want to send across encrypted passwords then remember the called system should know how to decrypt them. Most often this is never the scenario which is why inbound messages either use Certificates for client authentication/signing or the WCF/HTTP endpoints are exposed over SSL.

    To get data over the wire use the URLEncode method. This is XML safe and ensures that the data gets across with no corruption.

    Regards.

    Wednesday, January 01, 2014 9:14 AM
  • Hi ,

    Thanks For your replies.

    I checked the possiblity to use the special character. The below special character is not supported in BizTalk ( ampersand -& , Open tag- <).

    how to handle the above special characters(& ,<)  in Biztalk.

    Is it required to have the encoding component else we can use any properties for password fields in our schema properties.


    Regards, Aboorva Raja R Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, January 01, 2014 9:26 AM
  • Hi ,

    Thanks For your reply.

    I checked the possiblity to use the special character. The below special character is not supported in BizTalk ( ampersand -& , Open tag- <).

    how to handle the above special characters(& ,<)  in Biztalk.

    Is it required to have the encoding component else we can use any properties for password fields in our schema properties. The request wil be in the form of JSON message using wcf-custom adapter we converting into xml.



    Regards, Aboorva Raja R Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, January 01, 2014 9:27 AM
  • This is a good explanation and solution from Microsoft: How to locate and special characters in XML...

    Leonid Ganeline [BizTalk MVP] BizTalk Development Architecture

    Wednesday, January 01, 2014 3:26 PM
    Moderator
  • To answer your specific question, there aren't any.  Meaning there are no specific characters that BizTalk cannot process.

    However, you must be aware of the encoding or escaping practices of the various internal components, such as those in System.Xml and use their API instead of manipulating Xml as a string for instance.  The API will automatically escape and un-escape any reserved characters defined by Xml so you don't have to worry about it.

    Similar for passwords, there's really no special way to handle them in BizTalk.  You app though should at least hash or otherwise obfuscate them:  http://msdn.microsoft.com/en-us/library/aa545602(v=CS.70).aspx

    Thursday, January 02, 2014 1:29 PM