E-IB:Getting "The request string ( data ) is not properly formed. (158,16005)" when Passing Ampersand Character Entity Reference in an Inbound SOAP Request

(Doc ID 654512.1)

Last updated on OCTOBER 09, 2015

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.46 to 8.49 [Release 8.4]
Information in this document applies to any platform.
***Checked for relevance on 09-OCT-2015***


Using web services on PeopleTools 8.46 - 8.49, and when passing in an inbound SOAP message an entity reference such as "&amp;" (the escape sequence for ampersand character '&'), for example  "<NAME1>Proctor&amp;Gamble</NAME1>", get the following error:

The request string ( data ) is not properly formed. (158,16005) PT_INTEGRATION.CIDefinition.OnExecute Name:getFunctionAndCiName PCPC:3128 Statement:60 Called from:PT_INTEGRATION.CIDefinition.OnExecute Name:OnEvent Statement:30

Below is a sample request and fault response messages that reproduce the error.


<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">;


<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">;
        <IBResponse type="error">
          <DefaultTitle>Integration Broker Response</DefaultTitle>
          <DefaultMessage>The request string ( Envelope ) is not properly formed. (158,16005) PT_INTEGRATION.CIDefinition.OnExecute  Name:getFunctionAndCiName  PCPC:3128  Statement:60
Called from:PT_INTEGRATION.CIDefinition.OnExecute  Name:OnEvent  Statement:30</DefaultMessage>


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms