Skip to Content

AXIS receiver adapter error - Custom tags in Synchronous SOAP header

Dear Experts,

I used XSLT to populate the custom tags in SOAP header (synchronous proxy to SOAP - AXIS adapter). But, I get the error sap.aii.af.ra.ms.api.DeliveryException: (500)Internal Server Error when I run this interface. And whenever I remove the XSLT mapping it works perfect (no custom tags in SOAP header). Am really not sure why it's throwing the error (can't I populate custom tags in WS Header?). Below is the actual XML I send to the SOAP - AXIS receiver adapter. Any clue?

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

http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Header>

htp://cio.abc.com/commonheader/v3" xmlns:ns2=" http://newhorizon.xyz.com/IDISService">

<WSContext>

<FromAppId>ABC</FromAppId>

<ToAppId>XYZ</ToAppId>

</WSContext>

<WSMessageData>

<Timestamp>Tue, 24 May 2011 18:03:50</Timestamp>

</WSMessageData>

</WSHeader>

</SOAP-ENV:Header>

<SOAP-ENV:Body>

http://oracle.com/abc" xmlns:prx="urn: sap.com:proxy:ECC:/1SAI/TAS10D69783D5ACF6CBE834:700:2009/02/10">

<n0:itemList>000000000100000832</n0:itemList>

</n0:ItemAvailabilityRequest>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 25, 2011 at 02:03 AM

    Hello,

    For the AXIS Receiver Adapter, the option Do Not Use SOAP Envelope is missing. However, there is a module for SOAP Header Insertion which you can find in SAP Note 1039369 - FAQ XI Axis Adapter . Go to the Advanced Usage Questions and see section 42 - Can I insert some SOAP headers?

    Hope this helps,

    Mark

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 26, 2011 at 04:18 PM

    Try to test soap message with a tool (like SoapUI), and check error.

    Then, check for errors comparing wsdl and message.

    Add comment
    10|10000 characters needed characters exceeded