Hi Asankha,

 

The reason I am going with the nhttp transport, is that I have these
services running over HTTPS as well and I am not sure if there is any other
way to use HTTPS with Axis2 without using nio connectors.

 

Please do let me know if there is an alternative available.

 

Thanks,

-Salman

 

 

  _____  

From: Asankha Perera [mailto:[email protected]] On Behalf Of Asankha
C. Perera
Sent: Wednesday, April 29, 2009 7:44 AM
To: [email protected]
Subject: Re: Error communicating between two websevice

 

Hi Salman



I am working on a web service which acts as a client as well as server. 

I am trying to deploy two instances of this web service on separate servers
and try and setup a communication link between them.

.... 

[ERROR] Received an internal server error : Internal Server Error

Exception in thread "HttpCoreNIOSender"

java.lang.NullPointerException

     at
org.apache.axis2.transport.nhttp.ClientHandler.inputReady(ClientHandler.java
:236)

.... 

To Configure Axis2 I have made following changes to Axis2.xml:

<transportReceiver name="http"
class="org.apache.axis2.transport.nhttp.HttpCoreNIOListener">

                <parameter name="port" locked="false">9000</parameter>

                <parameter name="non-blocking"
locked="false">true</parameter>

    </transportReceiver>

The "org.apache.axis2.transport.nhttp" transports are no longer bundled with
vanilla Axis2. Unless you have any specific requirement, please switch over
to the normal http transports, and possibly your problems would go away.

cheers
asankha



-- 
Asankha C. Perera
AdroitLogic, http://adroitlogic.org
 
http://esbmagic.blogspot.com
 
 
 

Reply via email to