Forum Discussion

sowmya's avatar
sowmya
New Contributor
13 years ago

Error in SOAP response

Hi,

I am testing the wsdl using soap ui4.5.1 tool i am finding the below response error.I have to get response from database and i am using mysql driver to connect this.

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring xml:lang="en">java.lang.NullPointerException</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


In HTTP log- Tue Mar 19 12:31:28 IST 2013:DEBUG:<< "HTTP/1.1 500 Internal Server Error[\r][\n]"
getting this error.
Soap log in eclipse- Tue Mar 19 11:59:41 IST 2013:DEBUG:runInUIThreadAsync: asyncExec com.eviware.soapui.eclipse.EclipseSoapUIDesktop$ModelItemDesktopPanelOpener

How i have to clear this errors and how i have to test in soap.

Thanks in advance and waiting for the solution, please help to solve this error.


Regards
sowmya
  • I also am new to soap testing and I am getting the following errors. Any help would be greatly appreciated, or point me toward a help file I can use.

    Wed May 01 14:47:31 CDT 2013:ERROR:org.apache.http.client.ClientProtocolException
    org.apache.http.client.ClientProtocolException
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:822)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
    at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:236)
    at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:345)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:241)
    at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.http.ProtocolException: Content-Length header already present
    at org.apache.http.protocol.RequestContent.process(RequestContent.java:67)
    at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:108)
    at org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:174)
    at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.preProcess(HttpClientSupport.java:106)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:452)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
    ... 11 more
  • mannyvel's avatar
    mannyvel
    Occasional Contributor
    As the output shows, your server is returning a 500 internal server error, which probably means your server isn't configured correctly.

    Have you tried hitting your endpoint with a web browser to see if it works?
  • nmrao's avatar
    nmrao
    Icon for Champion Level 2 rankChampion Level 2
    Sowmya,

    Have you overcome the problem ? If not, you may check with your service provide. From the response, it seemed to be a defect in the service operation you were trying to test.

    Icorkren,

    You could have posted your issue in a separate thread. From your post, it is not clear what you were trying to do, when the error is noticed. More details would help others to help you faster.

    Regards,
    Rao.