[
https://issues.apache.org/jira/browse/AXIS2-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517727
]
sumedha rubasinghe commented on AXIS2-2925:
-------------------------------------------
Hi Piotr,
I extracted the bellow section from your posting above.
<transportSender name=""
class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
<parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
<parameter name="SO_TIMEOUT" locked="false">12000</parameter>
<parameter name="CONNECTION_TIMEOUT" locked="false">12000</parameter>
</transportSender>
If above is what you have in your axis2.xml, your missing Transport Sender Name.
You need to have something like following there.
<transportSender name="http" (In the place of <transportSender name="")
/sumedha
> Axis doesn't use params from axis2.xml
> --------------------------------------
>
> Key: AXIS2-2925
> URL: https://issues.apache.org/jira/browse/AXIS2-2925
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.2
> Environment: System (uname):
> Linux 2.6.17-11mdv #1 SMP,
> Java (java -version):
> java version "1.4.2_12"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
> Reporter: Piotr Szarwas
> Assignee: sumedha rubasinghe
> Priority: Minor
> Fix For: 1.2
>
>
> Hi,
> I'm using axis in following way:
> SOAPConnectionFactory connectionFactory = SOAPConnection.newInstance()
> SOAPConnection soapConnection = connectionFactory.createConnection();
> response = soapConnection.call(message, wmHostInfo.getUrl());
> soapConnection.close();
> and I have following axis2.xml:
> <transportSender name=""
> class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
> <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
> <parameter name="SO_TIMEOUT" locked="false">12000</parameter>
> <parameter name="CONNECTION_TIMEOUT" locked="false">12000</parameter>
> </transportSender>
> I found that axis never use my params (I also tried to put then in different
> parts of config file). AIxis always use DEFAULT_TIMEOUT_MILLISECONDS from
> Options class. I thing problem apeare in HttpSender in line 285, here I
> always getting DEFAULT_TIMEOUT_MILLISECONDS, because options doesn't has
> setup params from config file.
> Piotr
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]