Thanks,
I have tried that but that gives me the same problem. 
Do I have enough stub files created?These are the ones I have:

customer.CustomerServiceInterface.java
customer.CustomerWS.java
customer.CustomerWSBindingStub.java
customer.CustomerWSLocator

customer.types.Customer.java
customer.types.CustomerAddress.java
customer.types.GetCustomerElement.java
customer.types.GetCustomerResponseElement.java
customer.types.GetTestFaultElement.java
customer.types.GetTestFaultResponseElement.java
customer.types.OraIntException.java

Do you think this is a complete set of required stub files? I think I am
missing something.







mgainty wrote:
> 
> Hello
> 
> you can set the timeout parameter thru the call object
> http://ws.apache.org/axis/java/apiDocs/index.html
> e.g.
> int newValue = 60;
> CallObject.setProperty(CONNECTION_TIMEOUT_PROPERTY,newValue)
> 
> HTH/
> M--
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please
> notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
> 
> ----- Original Message ----- 
> From: "CrystalCracker" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Wednesday, June 06, 2007 11:18 AM
> Subject: Re: SocketTimeoutExcetion: Read timed out
> 
> 
>>
>> Hi mgainty,
>> I am using axis 1.4. I am testing the calls from a standalone java
>> client.
>> I have the stubs, and the axis jar files in my lib, and I am just making 
>> the
>> call from a main method.
>> And I dont see any packake like org.apache.axis2.client.Options in my
>> axis.jar.
>> Do you mean I should get Axis2,and make the configuration changes in the
>> java code, and get a new axis jar??
>> Thanks a lot in advance.
>>
>>
>> mgainty wrote:
>>>
>>> the timeout default is 30 secs e.g.
>>>
>>> increment org.apache.axis2.client.Options
>>> {
>>>     /*** Default blocking timeout value. *******/
>>>     public static final int DEFAULT_TIMEOUT_MILLISECONDS = 30 * 1000;
>>> ..
>>> }
>>>
>>> set Socket timeout and Connection timeout in axis2.xml and reset
>>> AxisServlet
>>> For Socket timeout:
>>> <parameter name="SO_TIMEOUT" locked="false">some_int_value</parameter>
>>>
>>> For Connection timeout:
>>>  <parameter name="CONNECTION_TIMEOUT"
>>> locked="false">some_int_value</parameter>
>>>
>>> HTH/
>>> Martin
>>> This mail message and any files transmitted with it contain confidential
>>> information intended only for the person(s) to whom this email message
>>> is
>>> addressed.  If you have received this email message in error, please
>>> notify
>>> the sender immediately by telephone or email and destroy the original
>>> message without making a copy.  Thank you.
>>>
>>> ----- Original Message ----- 
>>> From: "CrystalCracker" <[EMAIL PROTECTED]>
>>> To: <[email protected]>
>>> Sent: Tuesday, June 05, 2007 6:31 PM
>>> Subject: SocketTimeoutExcetion: Read timed out
>>>
>>>
>>>>
>>>> Guys,
>>>> I am workin on my first webserice project using axis:
>>>> Here is how I have made the call after creating the client stubs from 
>>>> the
>>>> wsdl:
>>>>
>>>> getClientStub().getTestData();
>>>>
>>>> This is giving me the following SocketTimeOutException. Any idea what
>>>> could
>>>> be wrong??
>>>>
>>>> Thanks a lot.
>>>>
>>>>
>>>> AxisFault
>>>> faultCode:
>>>> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>>>> faultSubcode:
>>>> faultString: java.net.SocketTimeoutException: Read timed out
>>>> faultActor:
>>>> faultNode:
>>>> faultDetail:
>>>> {http://xml.apache.org/axis/}stackTrace:java.net.SocketTimeoutException:
>>>> Read timed out
>>>> at java.net.SocketInputStream.socketRead0(Native Method)
>>>> at java.net.SocketInputStream.read(SocketInputStream.java:129)
>>>> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>>>> at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
>>>> at
>>>> org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
>>>> at
>>>> org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
>>>> at
>>>> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
>>>> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>>>> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>>>> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
>>>> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>>>> at org.apache.axis.client.Call.invoke(Call.java:2767)
>>>> at org.apache.axis.client.Call.invoke(Call.java:2443)
>>>> at org.apache.axis.client.Call.invoke(Call.java:2366)
>>>> at org.apache.axis.client.Call.invoke(Call.java:1812)
>>>> at
>>>> com.rackspace.iss.oraint.customer.invoice.CustomerInvoiceWSBindingStub.getCustomerInvoice(CustomerInvoiceWSBindingStub.java:363)
>>>> at test.CustometInvoiceTest.main(CustometInvoiceTest.java:38)
>>>>
>>>> {http://xml.apache.org/axis/}hostname:user-e046cb8f85
>>>>
>>>> java.net.SocketTimeoutException: Read timed out
>>>> at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
>>>> at
>>>> org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
>>>> at
>>>> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
>>>> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>>>> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>>>> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
>>>> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>>>> at org.apache.axis.client.Call.invoke(Call.java:2767)
>>>> at org.apache.axis.client.Call.invoke(Call.java:2443)
>>>> at org.apache.axis.client.Call.invoke(Call.java:2366)
>>>> at org.apache.axis.client.Call.invoke(Call.java:1812)
>>>> at
>>>> com.rackspace.iss.oraint.customer.invoice.CustomerInvoiceWSBindingStub.getCustomerInvoice(CustomerInvoiceWSBindingStub.java:363)
>>>> at test.CustometInvoiceTest.main(CustometInvoiceTest.java:38)
>>>> Caused by: java.net.SocketTimeoutException: Read timed out
>>>> at java.net.SocketInputStream.socketRead0(Native Method)
>>>> at java.net.SocketInputStream.read(SocketInputStream.java:129)
>>>> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>>>> at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
>>>> at
>>>> org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
>>>> at
>>>> org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
>>>> ... 11 more
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/SocketTimeoutExcetion%3A-Read-timed-out-tf3874694.html#a10979051
>>>> Sent from the Axis - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/SocketTimeoutExcetion%3A-Read-timed-out-tf3874695.html#a10990814
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/SocketTimeoutExcetion%3A-Read-timed-out-tf3874695.html#a10992348
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to