Forum Discussion

maximojo's avatar
maximojo
Frequent Contributor
9 years ago

WSDL not displaying when hitting url

Hi all,

 

Newb to Ready API here and service virtualization.

 

I created and ran a service using Service V (the base version). When I hit the url however I get a blank page. 

 

In the ready-api.log file I see the below.

 

I've validated the xml and the wsdl as best I can and no obvious issues. 

 

I can also run the samples provided by Smartbear fine.

 

Any ideas? Has this happened to anyone else?

Thanks in advance

m

 

2015-04-09 09:30:54,999 INFO  [WsdlMockDispatcher] Mounted WSDL for interface [BasicHttpBinding_IPCIService] at [/?WSDL]
2015-04-09 09:30:55,037 ERROR [log] /?wsdl
java.lang.NullPointerException
	at com.smartbear.servicev.engine.impl.soapui.SoapUIHttpVirt.regularDispatch(SoapUIHttpVirt.java:246)
	at com.smartbear.servicev.engine.impl.soapui.SoapUIHttpVirt.dispatch(SoapUIHttpVirt.java:136)
	at com.smartbear.servicev.engine.impl.soapui.SoapUIHttpVirt.dispatch(SoapUIHttpVirt.java:1)
	at com.smartbear.servicev.model.http.impl.HttpVirtServerHandler.dispatch(HttpVirtServerHandler.java:68)
	at com.smartbear.servicev.model.http.impl.HttpVirtServerHandler.handle(HttpVirtServerHandler.java:52)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

3 Replies

  •  Have you tried it with Ready! API 1.3?

     

    Also, if you can, please put the project in the discussion here and I could look at it.

  • MatthiasBuck's avatar
    MatthiasBuck
    Occasional Contributor

    I have the same question/problem.

     

    The browser displays:

    Server java.lang.NullPointerException

     

    I can import the same wsdl into SoapUi 5 and generate a mock service and it perfectly returns the wsdl when retrieving it via URL.

     

    I'm attaching both projects, SoapUi and ReadyAPI for review.

     

    SoapUi_5.1.2 - VehicleInfoService-soapui-project

    ReadyAPI_1.4.0 - VehicleInfoService-soapui-project

     

    Thanks!

  • Just tried this and for me the WSDL displays.  Try these steps:

     

    1. Select the SOAP virt in navigator window in serviceV 

    2. Select the virt url.  In my case it was - http://localhost:8088/mockServiceSoapBinding

    3. Now access the WSDL based on that virt url.  So in my case "http://localhost:8088/mockServiceSoapBinding?wsdl" displayed a WSDL