cancel
Showing results for 
Search instead for 
Did you mean: 

Using Webservices on XI with C#

Former Member
0 Kudos

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

}

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Did you solve the problem?

Thanks

Former Member
0 Kudos

Hi,

no, i couln't solve it.