I got the job done!!
1 Use CommonsHTTPSender
download commons-httpclient, commons-codec
client-config.wsdd:
<?xml version="1.0" encoding="UTF-8"?>
<deployment
name="commonsHTTPConfig"
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<!-- use CommonsHTTPSender instead of the default HTTPSender -->
<transport name="http"
pivot="java:org.apache.axis.transport.http.CommonsHTTPSender" />
<transport name="local" pivot =
"java:org.apache.axis.transport.local.LocalSender" />
<transport name="java"
pivot="java:org.apache.axis.transport.java.JavaSender" />
</deployment>
But then i got another problem because the server didn't accept transfer
encoding chunked so i sould do:
Hashtable headers= new Hashtable();
headers.put("chunked", "false");
call.setProperty(HTTPConstants.REQUEST_HEADERS,
headers);
That's all!!
^L^
mcguire wrote:
>
> I'm trying to use axis to face a web service. The server says its name
> is "Kabira SOAP Service".
>
> After some work to get the message sent as it would like i'm stuck in
> reading the response.
>
> I get a Read timed out error. I found that the client reads the response
> correctly, but the socket keeps open so SAX thinks there is more data
> to read.
>
> what should i do?
>
> Overide SOAPPart.getSOAPEnvelope to ignore Read time out exception
> because response is already read (what about real timeouts?)
>
> Set that property that i didn't found and tells axis to read only
> "Content-Length" bytes?
>
> ...?
>
> Thanks
>
--
View this message in context:
http://www.nabble.com/Read-Timed-out-%28but-already-readed%21%21%29-%28axis-1.4%29-tf3762817.html#a10715130
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]