To develop a SOAP service, you must add the following permissions to the the <security-permissions/>
element in the sbb-jar.xml
file.
When using a custom javax.xml.soap implementation library, different permissions may be required for the resource adapter and SBB.
|
1 |
Allow access to Document Object Model (DOM) classes required by the SAAJ API library. permission java.lang.RuntimePermission "accessClassInPackage.com.sun.org.apache.xerces.internal.dom"; |
---|---|
2 |
Allow access to the Java API for XML Processing (JAXP) classes required by the SAAJ API library. permission java.lang.RuntimePermission "accessClassInPackage.com.sun.org.apache.xerces.internal.jaxp"; |
Release 2.2.0 of the SOAP resource adaptor includes SOAP libraries that are redundant when using Java SDK 1.6 and above. Therefore, when editing the permissions of a deployed service with REM or Rhino Console, Rhino must be restarted to allow classes to be loaded in the correct order. |