Skip to Content
avatar image
Former Member

SOAP RCV AXIS failed to access method

Hello experts - I have a File -> PI -> SOAP RCV async scenario.

The WS being reached at the target is HTTPS and the certificate chain was imported in TrustedCAs view.

I'm using AXIS at the SOAP RCV channel in order to encapsulate WSSE UsernameToken and Password in the SOAP Envelope.

The issue is, whenever any message is sent I get the following error at the receiver.


Axis: fatal error in invocation: java.lang.IllegalAccessError: tried to access method<init>([Ljava/security/cert/X509Certificate;)V (class loader, resolved from class (class loader

Can anyone cast some light on what am I missing?

Few facts that might be relevant:

  • XIAxisAdapter/MessageServlet is green for all required components (details below)
  • XPI Inspector shows the certificate chain ok, but I simply deleted the certificates from TrustedCAs and updated/activated the channel and restarted SSL Provider. The same error persist. Unless it's necessary to restart Java, it seems the error is happening before the Certificate chain validation.

Axis Adapter Message Servlet

Component Versions

Adapter Common Library Version: 1.7.3007.20130625153404.0000, NW730EXT_07_REL (2013-06-25T22:17:34+0000)
Adapter Application Version: 1.7.3007.20130625153404.0000, NW730EXT_07_REL (2013-06-25T22:18:05+0000)
Axis Version: Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT)

Required Components

  • Apache-Axis
    Found: org.apache.axis.AxisEngine at /usr/sap/P5D/DVEBMGS08/j2ee/cluster/bin/ext/
  • Jakarta-Commons Discovery
    Found: org.apache.commons.discovery.Resource at /usr/sap/P5D/DVEBMGS08/j2ee/cluster/bin/ext/
  • Jakarta-Commons Logging
    Found: org.apache.commons.logging.Log at /usr/sap/P5D/DVEBMGS08/j2ee/cluster/bin/ext/

Number of Missing Components: 0
Status: OK

Optional Components

  • XML Security API
    Found: at /usr/sap/P5D/DVEBMGS08/j2ee/cluster/bin/ext/
  • Apache Xalan
    Found: org.apache.xalan.Version at /usr/sap/P5D/DVEBMGS08/j2ee/cluster/bin/ext/
  • Jakarta-Commons Codec
    Found: org.apache.commons.codec.Encoder at /usr/sap/P5D/DVEBMGS08/j2ee/cluster/bin/ext/
  • Jakarta-Commons Net
    Warning: optional component missing --- looking for in; see
  • Jakarta-Commons HttpClient
    Found: org.apache.commons.httpclient.HttpClient at /usr/sap/P5D/DVEBMGS08/j2ee/cluster/bin/ext/
  • Apache WSS4J
    Found: at /usr/sap/P5D/DVEBMGS08/j2ee/cluster/bin/ext/
  • Apache Addressing
    Found: org.apache.axis.message.addressing.Constants at /usr/sap/P5D/DVEBMGS08/j2ee/cluster/bin/ext/
  • Apache Sandesha
    Warning: optional component missing --- looking for org.apache.sandesha.Constants in; see

Number of Missing Components: 2

Status: Warning

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 16, 2017 at 03:32 AM


    Just cross check whether the Jar files required for AXIS are imported.Below Link can be also useful for debugging

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 24, 2017 at 11:11 AM

    Hey Raghuraman - thank you for your feedback.

    I ended up using XSLT to fulfill my need. Accodingly to SAP, I'd need to upgrade a component version in order to fix that AXIS certificate chain validation.

    The XSLT code I used was:

    <?xml version="1.0"
    <xsl:stylesheet xmlns:xsl=""
     <xsl:output method="xml" version="1.0" encoding="UTF-8" />    
     <xsl:attribute-set name="attr-soap">   
      <xsl:attribute name="soapenv:mustUnderstand">1</xsl:attribute>  
     <xsl:attribute-set name="attr-pasw">    
      <xsl:attribute name="Type">
     <xsl:template match="/">    
        <xsl:element name="wsse:Security"
         <xsl:element name="wsse:UsernameToken">
          <xsl:element name="wsse:Username">user</xsl:element>          
          <xsl:element name="wsse:Password" use-attribute-sets="attr-pasw">password</xsl:element>                        
          <xsl:copy-of select="*"/>         
    Add comment
    10|10000 characters needed characters exceeded