Hello I am trying to write a REQUEST DOCUMENT statement to access a Peoplesoft web service. I get an HTTP 500 response when I run it, yet the same SOAP request works in SoapUI. What could be causing this? a difference in the headers? The SOAP request is the same unless I made a typo.
REQUEST DOCUMENT FROM #FROM
WITH
HEADER 'Content-Type' 'text/xml;charset=UTF-8'
** HEADER 'Content-Type' 'text/xml;charset=iso-8859-1'
'SOAPAction' 'UTZ_FP134_VENDOR_ADDR.v1'
** 'Accept-Encoding' 'gzip,deflate'
** 'Content-type' 'text/xml;charset=UTF-8'
'Host' 'z-hr-fin-test-broker.shared.utsystem.edu'
** 'Content-Length' '1548'
** 'Connection' 'Keep-Alive'
'Request-method' 'POST'
** 'User-Agent' 'Apache-HttpClient/4.11(java 1.5)'
DATA ALL #DOCUMENT
** ENCODED CODEPAGE 'UTF-8'
ENCODED CODEPAGE 'iso-8859-1'
RETURN
HEADER ALL #HEADER
NAME 'Content-Type' #DOC-CHARSET
PAGE #PAGE ENCODED
RESPONSE #RC
GIVING #RTERR
I have successfully written a similar request to a different PeopleSoft interface in Natural, yet this one perplexes me so far. Thanks for any help! (Notice I have a lot of stuff commented out that I have tried. I tried making the header like the SoapUI header).