Skip to Content
0
Former Member
Apr 06, 2006 at 12:29 PM

Error SOAP client calls XI

111 Views

Hello,

I have created a java SOAP client to call a XI SOAP service. My code to do this:

String endpoint =

"http://sdfsd:8000/XISOAPAdapter/" +

"MessageServlet?channel=:t_Client:SAPCALL";

Service service = new Service();

Call call = (Call) service.createCall();

call.setUsername("sss");

call.setPassword("sss");

When I call it I get this error from XI:

Caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:UPDATE:HTTP status code401 Unauthorized

at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:418)

at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:125)

at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:511)

at com.sap.engine.frame.core.thread.Task.run(Task.java:60)

at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:74)

at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:140)

]]></text>

In the SXMB_MONI application I see the same error:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Empfänger-Ermittlung

-->

- http://sap.com/xi/XI/Message/30" xmlns:SOAP=" http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="XICACHE">UPDATE</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>HTTP status code401 Unauthorized</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Es ist ein Fehler beim Auffrischen des XI Runtime Caches aufgetreten.</SAP:Stack>

<SAP:Retry>N</SAP:Retry>

</SAP:Error>

Does anyone knows where the error comes from?

Thank you,

Juraj