on 06-08-2015 1:10 PM
Hi,
i developed custom axis handler to convert soap fault message into response , because my bpm failing when webservice returns fault message.
Generated com.sap.aii.af.axisproviderlib sda file using sdaMakerTool.jar and successfully deployed.
Handler details
java project: customhandler
package : xyz.com
class name: abc which extends BasicHandler
replaced standard trp handler java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender with
java:customhandler.xyz.com.abc in module configuration.
trp handle.type ava:customhandler.xyz.com.abc
When i execute my scenario i am getting following error. its looking like my custom handler is not recognized. am i missing something here?
trp handler.type java:customhandler.xyz.com.abc
org.apache.axis.ConfigurationException: handler is not instantiated org.apache.axis.ConfigurationException: handler is not instantiated at com.sap.aii.adapter.axis.modules.HandlerCore.process(HandlerCore.java:75) at com.sap.aii.adapter.axis.modules.HandlerBean.process(HandlerBean.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at .................................
Regards,
Jag
Hi Jagadish,
Please check this note 1776179 - Axis Adapter Error: org.apache.axis.ConfigurationException: handler is not instantiated
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we already deployed whatever components given on note 1776179 - Axis Adapter Error: org.apache.axis.ConfigurationException: handler is not instantiated
Hi,
Have you check if wss4j library is deployed in "http://host:port/XIAxisAdapter/MessageServlet"?
Regards,
Hi Iñaki,
Following components deployed in PO system.
com.sap.aii.af.axisproviderlib\lib\axis.jar
com.sap.aii.af.axisproviderlib\lib\commons-discovery-0.2.jar
com.sap.aii.af.axisproviderlib\lib\commons-logging-1.0.4.jar
com.sap.aii.af.axisproviderlib\lib\xmlsec-1.4.2.jar
com.sap.aii.af.axisproviderlib\lib\xalan-2.7.1.jar
com.sap.aii.af.axisproviderlib\lib\commons-codec-1.3.jar
com.sap.aii.af.axisproviderlib\lib\commons-net-1.0.0-dev.jar
com.sap.aii.af.axisproviderlib\lib\commons-httpclient-3.0.jar
com.sap.aii.af.axisproviderlib\lib\wss4j-1.5.7.jar
com.sap.aii.af.axisproviderlib\lib\addressing-1.0.jar
com.sap.aii.af.axisproviderlib\lib\Sandesha-1.0.jar
Resolution:
Issue resolved by specifying handler value as
java:<package name(don't include java project name)>.<java class name>
Ex:
trp handler.type java:xyz.com.abc
xyz.com - package name
abc - class name
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.