Hi Aditya, I think you have not set the SOAPAction (before invoking the data service from your proxy), for the data service operation you are trying to invoke.(See example below). In the attached error log, soapAction is set to SOAPAction: urn:mediate.
If you check headers of your request (in SOAPUI), you can get the exact value that needs to be set. <header name="Action" value="urn:BusinessOp"/> <property name="SOAPAction" scope="transport" value="urn:BusinessOp"/> Thanks, Himasha On Thu, Mar 22, 2018 at 12:22 PM, aditya shivankar < [email protected]> wrote: > Respected Sir, > > Please find the error logs attached. > > With Regards, > Aditya > > > On Thu, Mar 22, 2018 at 12:14 PM, aditya shivankar < > [email protected]> wrote: > >> Respected Sir, >> >> I have to read records from a file and insert them into Database tables. >> Below are the tables into which records are to be inserted. All fields >> are varchar. >> >> >> >> >> >> I created dataservice named 'MDS_USERBUSINESS'(attached) for this. >> >> Then created a proxy service named 'WriteToDB2.xml'(attached) which reads >> data from input file 'inputfor_writeToDb.xml' (attached) converts it into >> format required for dataservice and invokes data service.(attached) >> >> I tried to hit the proxy service from soapui. It inserted the data in db. >> >> >> >> But when i trigger the same service via putting file in inputDB folder >> using vfs. It is giving below error. Please guide. >> >> [2018-03-22 11:48:49,412] [EI-Core] ERROR - DBInOutMessageReceiver Error >> in in-out message receiver >> DS Fault Message: Input Message and request_box Axis Operation didn't >> match. >> DS Code: UNKNOWN_ERROR >> >> at org.wso2.carbon.dataservices.core.dispatch.DataServiceReques >> t.createDataServiceRequest(DataServiceRequest.java:96) >> >> With Regards, >> Aditya >> > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Himasha Guruge Senior Software Engineer WS*O2* *Inc.* Mobile: +94 777459299 [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
