I’m calling stored procedure through WM JDBC adapter service which returns a reference cursor. But while invoking the adapter service I’m getting the following error. Can someone please help me out on this.
com.wm.app.b2b.server.ServiceException: [ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service adapterServices:reconcileShipmentEquipmentAdpSvc.
[ADA.1.316] Cannot execute the SQL statement “{call CARDEX.CARDEX_WRAPPER.RECON_SHIPMENT_EQUIP_WRAPPER( ?, ?, ?, ?, ?, ?, ?)}”. "
(0) Cursor is closed."
Cursor is closed.
Hi
When the response is null and webMethods trying to reference that cursor, you will get that error.
in the Stored procedure script, try sending an empty cursor instead of null and see if u can over come this problem