cancel
Showing results for 
Search instead for 
Did you mean: 

Soap Execute Reference is not allowed in prolog error

Asad_Humayun
New Contributor II

Hi All,

When creating a pipeline with a soap execute, i’m getting the error “Failure: An error occurred while parsing the request document, Reason: Reference is not allowed in prolog., Resolution: Please verify the validity of the XML document”

I’m using a adding a list of ids to an array $users . Then i use the xml generator to pass through the working xml (as per soapui) which references that $users array into the soap execute. Soap execute custom envelope only contains ‘$xml’.

The resulting error is “Failure: An error occurred while parsing the request document, Reason: Content is not allowed in prolog., Resolution: Please verify the validity of the XML document”.

xml

I guess the question is, how do i reference an array or field within the customised envelope of the soap execute snap?

1 ACCEPTED SOLUTION

Asad_Humayun
New Contributor II

Found the resolution in Passing XML to SOAP Execute Snap.

#evaluate($xml) is what goes into the customised envelope

View solution in original post

1 REPLY 1

Asad_Humayun
New Contributor II

Found the resolution in Passing XML to SOAP Execute Snap.

#evaluate($xml) is what goes into the customised envelope