Hi,

​
​E
ven
​ ​
though
​renaming
 axis2_nhttp.xml
 ​to
axis2.xml

​enables
 to use the NHTTP transport
​, c
orrect way to do it
​, is by
 changing it in the carbon.xml to point to desired axis2.xml

  <!--
            Location of the main Axis2 configuration descriptor file,
a.k.a. axis2.xml file

            This can be a file on the local file system, or a URL

            e.g.
            1. /home/repository/axis2.xml - An absolute path
            2. conf/axis2.xml - In this case, the path is relative to
CARBON_HOME
            3. file:///home/carbon/repository/axis2.xml
            4. http://repository/conf/axis2.xml
        -->

<ConfigurationFile>${carbon.home}/repository/conf/axis2/axis2.xml</ConfigurationFile>

This is mentioned in [1] under "Configuring WSO2 ESB to use the NHTTP
transport"


Thanks,
Rajith

[1] https://docs.wso2.com/display/ESB481/Setting+Up+the+ESB+Samples


On Sun, Dec 21, 2014 at 1:50 PM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi,
>
> If a user wants to use nhttp transport, he can use this file by renaming
> it to axis2.xml
>
>
>
> Touched, not typed. Erroneous words are a feature, not a typo.
> On Dec 21, 2014 1:19 PM, "Harsha Thirimanna" <hars...@wso2.com> wrote:
>
>> This is just a file that configured for nhttp but not use. Carbon only
>> loads axis2.xml only.
>> On Dec 21, 2014 12:47 PM, "Shashika Karunatilaka" <shashi...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> What's the purpose of using axis2_nhttp.xml rather than using the
>>> axis2.xml as Axis2 configuration descriptor in ESB.
>>>
>>> Thank You.
>>>
>>> --
>>> Shashika Prabath Karunatilaka,
>>> Software Engineer,
>>> WSO2, Inc: http://wso2.com/
>>> mobile : +94 77 7487792
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Rajith Siriwardana*
Software Engineer | WSO2 Cloud
WSO2 Inc. | http://wso2.com
*lean. enterprise. middleware*

---------------------------------------------------
*http://people.apache.org/~siriwardana
<http://people.apache.org/~siriwardana>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to