Invoking SOAP Webservice with a soapAction having special characters.

Invoking SOAP Webservice with a soapAction having special characters.

book

Article ID: KB0089494

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
How to send a SOAP Request when a soapAction includes special characters such as '/' '?

Examople: /Service-service/Endpoint/CopyTest

Environment:
= = = = = = =
TIBCO Product name and version: TIBCO BusinessEvents 4.x

Operating System(s): All Operating Systems

Symptom:
= = = =
SOAP Request will not be sent to the Web Service.

You will see an exception something similar to the following in the BusinessEvents engine log, when sending the SOAP request:

Exception: The element type "HR" must be terminated by the matching end-tag "</HR>".

Resolution:
= = = = = =
In order to resolve this, create a property 'soapAction' (case-sensitive) in the input soap event. Inside the rule, while creating the soap input event,  for the event property(soapAction), set the soapAction value from the SOAP Binding in the wsdl(web service description language) file. Make sure it is 'soapAction' property not the '@soapAction' in the mapper.

Issue/Introduction

Invoking SOAP Webservice with a soapAction having special characters.