ERROR com.tibco.bx.core.BxSystemImpl - {msg=BX-600013: Message, [{http://www.service-now.com/[]}[]] does not match message definition.

ERROR com.tibco.bx.core.BxSystemImpl - {msg=BX-600013: Message, [{http://www.service-now.com/[]}[]] does not match message definition.

book

Article ID: KB0084137

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for ServiceNow 6.0.0

Description

Some users may encounter the following error when using the ServiceNow plugin.

==================
[Thread-47] ERROR com.tibco.bx.core.BxSystemImpl - {msg=BX-600013: Message, [{http://www.service-now.com/problem}insertSoapOut] does not match message definition., threadId=137Thread-47), scheme=BW, processId=bw0a110, processName=tibco.bw.palette.servicenow.sample.alloperationsforproblem.Process, modelId=null, moduleVersion=1.0.0.qualifier, moduleName=tibco.bw.palette.servicenow.sample.AllOperationsForProblem, msg_id=com.tibco.bx.core.Resources.MESSAGE_NOT_MATCHING_DEFINTION}[Thread-47] ERROR com.tibco.bw.binding.soap - TIBCO-BW-BINDING-SOAP-550120: Error occurred while processing reply message from the service provider of the Operation [{http://www.service-now.com/problem}insert], SoapReferenceBinding [SOAPReferenceBinding], Application [tibco.bw.palette.servicenow.sample.AllOperationsForProblem.application:1.0] due to exception [com.tibco.bx.core.faults.BxException]
[Thread-47] ERROR com.tibco.bw.binding.soap - BX-600013: Message, [{http://www.service-now.com/problem}insertSoapOut] does not match message definition.
==================

The web service client encounters one of these errors:
        -The SOAP response from the ServiceNow Web service is invalid.
        -The SOAP response cannot be parsed.
        -The namespace is missing in the SOAP response.

By default, response elements in ServiceNow SOAP responses are not qualified. Some web service clients may only accept qualified responses.  All elements within a qualified schema must be associated with a namespace. This association is made by prepending an element with a prefix defined by a xmlns attribute. It is also possible to specify a qualified namespace without a prefix in a qualified schema. This is known as the default namespace. All global elements within an unqualified schema must be associated with a namespace and all child elements must not be associated with a namespace. The default namespace is invalid when used in an unqualified schema.

Environment

TIBCO ActiveMatrix BusinessWorks 6.X.X

Resolution

 Include the request parameter elementFormDefault=qualified in the request URI.

     For example, use <instance>.service-now.com/<table_name>.do?WSDL&elementFormDefault=qualified to obtain a qualified WSDL,
     or
     use <instance>.service-now.com/<table_name>.do?SOAP&elementFormDefault=qualified to obtain a qualified response when querying a table.

     Example:  https://<instance-name>.service-now.com/problem.do?WSDL&elementFormDefault=qualified

     For more information/clarification, contact ServiceNow support.

Issue/Introduction

Some web service clients may consider SOAP responses from a ServiceNow instance to be invalid.

Additional Information

https://hi.service-now.com/kb_view.do?sysparm_article=KB0546188
http://supportapps.na.tibco.com/sr/case/371/01466371.htm