I have successfully virtualized the native service (SOAP WS) to Mediator via CentraSite. When I load the VSD to soap UI and run, I encounter the below error. However, I am able to call the native service successfully through Mediator (as I see the debugLog executed on the server.log)
21:53:52 GMT+03:00 [MED.0110.0028E] [MED6721742443-299] ← Proxy service: APIDemo_VS(0.1). Error in the Mediator outbound client. com.softwareag.pg.mediators.AuthMode cannot be cast to com.softwareag.pg.mediators.AuthMode
An error occured writing the response to an HTTP request.
Caused by: org.apache.axis2.AxisFault: Could not compress response
Caused by: com.wm.util.LocalizedIOException: [ISC.0077.9001] Stream is already closed
Have you set the Authentication of the Virtualized service properly in Mediator?
{Mahesh} As I mentioned earlier the service is getting executed (as I see the debugLog statements on the serverlog). Hence there should not be an issue with Authentication as I have set the http authentication correctly during virtualization.
Also Were you able to see the WSDL content with the Virtualized web-service URL in browser?
{Mahesh} Yes
[MED.0110.0028E] [MED5028669508-347] ← Proxy service: Error in the Mediator outbound client. com.softwareag.pg.mediators.AuthMode cannot be cast to com.softwareag.pg.mediators.AuthMode