[tufin]Illegal processing instruction target, xml (case insensitive) is reserved by the specs. at [row,col {unknown-source}]: [2,5]

When I submit the xml body to Tufin SecureChange, Tufin’s response is xml (case insensitive) is reserved by the specs. at [row,col {unknown-source}]: [2,5] this is an exception threw by the Java app in tufin, the reason is because I put a declaration in my mako template, I remove the utf-8 declaration and submit the body with utf-8 the problem resolves.

I used postman to test the mako template output, postman only returned http 400 bad syntax, the reason was not as clear as the response received by requests module. Kudos to python’s requests module!

Referene: https://stackoverflow.com/questions/23758823/error-processing-incoming-soapmessage-with-xml-data, See helderdarocha’s answer.

Advertisements
This entry was posted in Python, Scripting and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s