Forum Discussion

thjoku's avatar
thjoku
Occasional Contributor
16 years ago

cant make any soap requests

Hello,
first I tried to import wsdl from the http://webservices.amazon.com/AWSECommerceService/
AWSECommerceService.wsdl, it didnt work, so i copied the xml file and tried to create a project.
then i tried to send a soap request
getting the following error. But Im able to browse through the help pages. So not sure whats the problem.

Thu Jan 28 13:35:25 PKT 2010:ERROR:java.lang.NullPointerException
  java.lang.NullPointerException
  at com.eviware.soapui.impl.wsdl.submit.transports.http.BaseHttpResponse.getRequestContent(BaseHttpResponse.java:264)
  at com.eviware.soapui.impl.wsdl.submit.transports.http.SinglePartHttpResponse.getRequestContent(SinglePartHttpResponse.java:117)
  at com.eviware.soapui.impl.wsdl.submit.transports.http.SinglePartHttpResponse.(SinglePartHttpResponse.java:41)
  at com.eviware.soapui.impl.wsdl.submit.transports.http.support.attachments.WsdlSinglePartHttpResponse.(WsdlSinglePartHttpResponse.java:36)
  at com.eviware.soapui.impl.wsdl.submit.filters.WsdlPackagingResponseFilter.afterWsdlRequest(WsdlPackagingResponseFilter.java:46)
  at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.afterAbstractHttpResponse(AbstractRequestFilter.java:70)
  at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.afterRequest(AbstractRequestFilter.java:64)
  at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:187)
  at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:122)
  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$Worker.runTask(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)

1 Reply

  • Sug's avatar
    Sug
    Occasional Contributor
    When you copy the amazon link from the userguide & paste it in import WSDL window, it will not work because the link is written as 2 lines in the userguide.
    Make this link as a single line & then paste it in import WSDL window. Imprting will be successful.
    Try the below link :
    http://webservices.amazon.com/AWSEComme ... rvice.wsdl