Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Using Webservices on XI with C#

Hello,

I'am trying to use the WebService AdapterMessageMonitor. After call the void getMessageList from the basicbindings class i get the following error message:

com.sap.aii.mdt.server.adapterframework.ws.OperationFailedException

Do anybody know the reason for that?

Thanks in advance for the support.

Best Regards

try

{

basicBinding ws = new basicBinding();

ws.Timeout = 1000;

ws.PreAuthenticate = true;

NetworkCredential myCredentials = new NetworkCredential(user, passwd);

ws.Credentials = myCredentials;

AdapterFilter Filter = new AdapterFilter();

Filter.archive = false;

Filter.dateType = 0;

Filter.nodeId = 0;

Filter.onlyFaultyMessages = false;

Filter.retries = 0;

Filter.retryInterval = 0;

Filter.timesFailed = 0;

Filter.toTime = System.DateTime.Now;

ws.Timeout = 2500000;

AdapterFrameworkData[] data = new AdapterFrameworkData[200];

data = ws.getMessageList(Filter, 200).list;

}

catch (System.Web.Services.Protocols.SoapException ex)

{

Console.WriteLine(ex.Message);

}

Former Member
Not what you were looking for? View more on this topic or Ask a question