Build An EIDE Web Service
{"Image DocumentName": "Build An EIDE Web Service", "Image ImageDescription": "// Web Service method supporting EIDE PutPID function. [WebMethod] public PutPIDResponse PutPID( MessageInfoType MessageInfo, PIDType PID) { // Instantiate MessageInfo dataset. eide_MessageInfo datasetMessageInfo = new eide_MessageInfo(); OracleDataAdapterMessageInfo.Fill(datasetMessageInfo, tblMessageInfo ); // Insert the MessageInfo into the dataset. datasetMessageInfo.tblMessageInfo.AddtblMessageInfoRow. ( MessageInfo.SysGenID, MessageInfo.TimeStamp, MessageInfo.Sender, MessageInfo.Receiver, MessageInfo.EntityCode, MessageInfo.ProcessID, MessageInfo.DataSet, MessageInfo.ListID, MessageInfo.ResponseSysGenID, MessageInfo.Comment, 0, MessageInfo.UserID, ); // Save the Data. OracleDataAdapterMessageInfo.Update(datasetMessageInfo, tblMessageInfo ); // Build and return appropriate response. PutPIDResponse resp = new PutPIDResponse(); resp.ReplyBlock = new ReplyBlock(); resp.ReplyBlock.Reply = new ReplyType(); resp.ReplyBlock.Reply.ReplyCode = ReplyTypeReplyCode.processedOK; resp.ReplyBlock.Reply.ReplyText = Message Info Successfully Saved. return resp; } 16. OK! You are done. You have built a fully functional Web Service, capable of receiving XML over the internet, converting the XML to application data and saving it into a RDBMS. This is the only code you actually had to write.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}