on 07-11-2013 5:15 PM
We are trying to use SOAP adapter with HTTP (Axis) trasnport protocol for communication to a server which uses Windows NTLM Authentication mode. Looking at couple of documents we could figure out that the below jar files are good enough to get this deployed.
So we have created a the com.sap.aii.af.axisproviderlib.sda file using these jars and got it deployed on the server. And we are using the confugrations in the module bean as
.However we are getting an error as below which I feel is related to the deployment we tried of:
Message processing failed. Cause: 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:73) at com.sap.aii.adapter.axis.modules.HandlerBean.process(HandlerBean.java:86) at sun.reflect.GeneratedMethodAccessor459.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47) at
Even if i change the module sequence I am getting error as :
failed to initialize: org.apache.axis.ConfigurationException: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/UsernamePasswordCredentials org.apache.axis.ConfigurationException: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/UsernamePasswordCredentials at com.sap.aii.adapter.axis.ra.Adapter.createHandler(Adapter.java:570) at com.sap.aii.adapter.axis.ra.Adapter.init(Adapter.java:262) at
If I use the handler.type as ''java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender'' I am getting the User Authentication failure(401). So I feel the handler.type is supposed to be as ''com.sap.aii.adapter.axis.ra.transport.http.CommonsHTTPSender''.
Please let me know if any configurations are missing.
Tilak,
Did you got this resolved? I'm getting the same 401- Unauthorized error as well.. Any clues?
Justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now the components are showing up in “http://localhost:port/XIAxisAdapter/MessageServlet”when SDA file is deployed. The SDA file contains two jar files apachtwo jara-commons-httpclient.jar and commons-httpclient-3.1.jar for HttpClient.
.
But now we are getting a new error for receiver channel which is
Axis: fatal error in invocation: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
MP: exception caught with cause javax.ejb.TransactionRolledbackLocalException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException; nested exception is: javax.ejb.EJBTransactionRolledbackException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
Configuerations done for the receiver Soap (Axis ) channel is as below.
Please let us know if we need to do some additional configurations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Check the note 1776179 Axis Adapter Error: org.apache.axis.ConfigurationException: handler is not instantiated. This suggests the error is thrown because of a missing wss4j library. Try deploying this and check if that solves your issue.
Regards
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
Thanks a lot for the reply.
The note you shared is looking at the WS-Security concept,however I am looking at handler.type using CommonsHTTPSender process, and in the Message Servlet I am still seeing CommsHTTP Client not being available. So I am looking forward to understand what jar file is required in addition.
Regards,
Tilak B
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.