Forum Discussion

marinoni's avatar
marinoni
New Contributor
12 years ago

PeopleSoft web service, 500 http response

Hello, I am using SoapUI to test a peoplesoft webservice. it works great from soapUI, but fails with a http 500 response from either c#.net or from a Natural application on a mainframe. I'm not sure why SoapUi would succeed and the others fail. Here is my soap request:
<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing/" xmlns:xsd="http://www.w3.org/2001/XMLSchema/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance/">
<soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<wsse:Security soap:mustUnderstand="1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>USER</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PASSWORD</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<getVendorInput xmlns="http://xmlns.oracle.com/Enterprise/FSCM/schema/getVendorInput.V1">
<getVendrInfo>
<UTZ_FP134IN_WRK class="R" xmlns="http://xmlns.oracle.com/Enterprise/FSCM/schema/getVendrInfo.V1">
<SETID>UTSHR</SETID>
<VENDOR_ID>0000000001</VENDOR_ID>
<VNDR_LOC>SHARED</VNDR_LOC>
<ADDRESS_SEQ_NUM>0</ADDRESS_SEQ_NUM>
</UTZ_FP134IN_WRK>
</getVendrInfo>
</getVendorInput>


and here is the output from the mainframe app:
#HEADER: HTTP/1.1 500 Internal Server Error?Connection: close?Date: Wed, 31 Jul
2013 19:08:19 GMT?Content-Length: 524?Content-Type: text/xml; charset=UTF-8?X-
Powered-By: Servlet/2.5 JSP/2.1??
_______________________________________________________________________________

_______________________________________________________________________________
_______________________________________________________________________________
BEFORE PARSE
<?xml version="1.0" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.
xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:
Server</faultcode><faultstring>Server Error</faultstring><detail><IBResponse
type="error" xmlns=""><DefaultTitle>Integration Broker Response</DefaultTitle><
StatusCode>20</StatusCode><MessageID>10201</MessageID><DefaultMessage>
Integration Gateway failed while processing the message</DefaultMessage></
IBResponse></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

2 Replies

  • nmrao's avatar
    nmrao
    Community Hero
    What is your concern if it works from soapui? If does not work in other client, then I believe, you may try posting the question in relevant forum for your query.
  • marinoni's avatar
    marinoni
    New Contributor
    Well, I found my error in the mainframe app - I had a tiny error in the SOAP envelope when I copied and pasted it from SoapUI. So my problem with c# app is probably similar. I'll try posting on some c# .net boards, thanks.