Skip to Content
avatar image
Former Member

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);

}

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 07, 2008 at 04:20 PM

    Hi,

    Did you solve the problem?

    Thanks 😊

    Add comment
    10|10000 characters needed characters exceeded