hbjastad
9 years agoContributor
WSDL not displaying when hitting WAR
I have created a Virt from WSDL, and it works well within Ready!API. I can access the SOAP interface, and I can add '?wsdl' to retrieve the WSDL. But when I package the Virt as war and try to hit it with the added '?wsdl' I only get "Log is disabled." and no WSDL.
The server log shows the following, which leads me to believe that Ready!API tries to provide the WSDL:
[WsdlMockDispatcher] Mounted WSDL for interface [ABCEndpoint] at [/abc?WSDL]
Switching on the web UI helped debug the problem - the context path had been added in the Virt, so that it was needed twice:
/abc/abc?WSDL
The solution was to change the context path in the virt to just
/