SOAP Response Headers are different on two instances (SOAP qualified responses from Servicenow)


Description

SOAP Response Headers are different (SOAP qualified responses from Servicenow)

Cause

boolean property called glide.wsdl.schema.UnqualifiedElementFormDefault.  This property has the value of true by default.

Resolution

Set the Property

Name : glide.wsdl.schema.UnqualifiedElementFormDefault 

Type : true|false

Value : false

Additional Information

Out of the box i.e glide.wsdl.schema.UnqualifiedElementFormDefault value is true : 

<?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><executeResponse><Change_Sysid>8defa3f3dbd610500734522bdc9619e7</Change_Sysid><Change_Number>CHG0030719</Change_Number></executeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

glide.wsdl.schema.UnqualifiedElementFormDefault value is false

<?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><executeResponse xmlns="http://www.service-now.com/CreateChange"><Change_Sysid>fa7f2fb7db1ed010fb30f3651d961956</Change_Sysid><Change_Number>CHG0103109</Change_Number></executeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>