SOAP - Response 500 Internal Server Error while it's working fine with SOAPUI


#1

Webservice Info
http://www.thomas-bayer.com/axis2/services/BLZService?wsdl

getbank

<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:blz=“http://thomas-bayer.com/blz/”>
soapenv:Header/
soapenv:Body
blz:getBank
blz:blz37050198</blz:blz>
</blz:getBank>
</soapenv:Body>
</soapenv:Envelope>

Run with SOAPUI successfully

Error when running with Katalon

It’s working fine in another PC

Please tell me the cause and how to fix this

Please advise

Thanks


#2

Hi,

I am facing exact same issue where my SOAP request works perfectly in “SOAP UI”. However when run under Object repository under “Katalon Studio”. it is throwing "500 Internal Server Error"
Could you please share syntax definition which needs to be used under “Request Message” for <“Envelop”> and <“Body”>in Katalon to take care of this error.?
I am assuming “xmlns”, “xsi” and “schemalocation” which I am providing under under one of the tag is not getting recognized.
Kindly suggest

Error message as received in my Katalon

<?xml version="1.0" ?>

<S:Envelope xmlns:S=“http://schemas.xmlsoap.org/soap/envelope/”>
<S:Body>
<S:Fault xmlns:ns3=“http://www.w3.org/2003/05/soap-envelope”>
S:Server

com.sun.istack.SAXParseException2; org.xml.sax.SAXParseException; cvc-complex-type.3.2.2: Attribute ‘schemaLocation’ is not allowed to appear in element ‘RegistrationRequest’.


<ns2:exception xmlns:ns2=“http://jax-ws.dev.java.net/


#3

500 message is a server issue (usually uncatched exception)
400 or 404 could be a malformed call
so, you just found a bug on the application you are testing, contact your development team