cancel
Showing results for 
Search instead for 
Did you mean: 

<context>XIAdapter</context> <code>ADAPTER.JAVA_EXCEPTION</code> <text><![CDATA[

0 Kudos

Hi Guys.. we are using SAP PO 7.4 SP13,  getting an exception when a SOAP Request send from Hybris throwing following response.

<?xml version='1.0'?>

<!-- see the documentation -->

<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>

  <SOAP:Body>

    <SOAP:Fault>

      <faultcode>SOAP:Server</faultcode>

      <faultstring>Server Error</faultstring>

      <detail>

        <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>

          <context>XIAdapter</context>

          <code>ADAPTER.JAVA_EXCEPTION</code>

          <text><![CDATA[

See log trace with id: n/a

          ]]></text>

        </s:SystemError>

      </detail>

    </SOAP:Fault>

  </SOAP:Body>

</SOAP:Envelope>

here is the URL Request

http://HOST:PORT/XISOAPAdapter/MessageServlet?senderParty=&senderService=PIM_TES&interface=ARTMAS.AR...{0}


here is how its called from Linux


curl -u USER1:password1 -H "Content-Type:text/xml" --data "" http://host:port/XISOAPAdapter/MessageServlet?senderParty=&senderService=PIM_TES&interface=ARTMAS.AR...

if I fire with data, I am getting  401 Unauthorized exception in the log.

anyone come across this error

Thanks

Sam

Accepted Solutions (0)

Answers (2)

Answers (2)

shashank_agarwal
Participant
0 Kudos

HI,

If you are giving correct Username & Password , there must be only authorization issue ,please ensure you have all the authorization with all PO/PI roles.

Check with BASIS once.

Also ensure your firewall settings .

Thanks.

0 Kudos

The user has the following authorisation.

  • SAP_XI_APPL_SERV_USER
  • SAP_XI_IS_SERV_USER

Still I am getting the same error.

<?xml version='1.0'?>

<!-- see the documentation -->

<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>

  <SOAP:Body>

    <SOAP:Fault>

      <faultcode>SOAP:Server</faultcode>

      <faultstring>Server Error</faultstring>

      <detail>

        <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>

          <context>XIAdapter</context>

          <code>ADAPTER.JAVA_EXCEPTION</code>

          <text><![CDATA[

See log trace with id: n/a

          ]]></text>

        </s:SystemError>

      </detail>

    </SOAP:Fault>

  </SOAP:Body>

</SOAP:Envelope>

Thanks

Sam

manoj_khavatkopp
Active Contributor
0 Kudos

Make sure you are passing user id and password .

0 Kudos

Yes I am passing User ID and Password. but still getting the exception.

manoj_khavatkopp
Active Contributor
0 Kudos

Did u trying putting the URL in the browser and using the same userid and password or alternatively try by SOAP UI , so that you can make sure the issue is with the credentials or is it that linux server is not able to reach PI server.

0 Kudos

Yes I tried it directly.. and getting following message.

Message Servlet is in Status OK

Status information:

Servlet com.sap.aii.adapter.soap.web.MessageServlet (Version $Id: //tc/xpi.adapters/NW731EXT_18_REL/src/_soap_application_web_module/webm/api/com/sap/aii/adapter/soap/web/MessageServlet.java#2 $) bound to /MessageServlet

Classname ModuleProcessor: null

Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean

Lookupname for remoteModuleProcessorLookupName: null

ModuleProcessorClass not instantiated

ModuleProcessorLocal is Instance of com.sun.proxy.$Proxy564

ModuleProcessorRemote not instantiated

Wondering is it something to do with Firewall ?!

Thanks

Sam