Re: .NET client sending long strings error
- From: "Cindy Lee" <cindylee@xxxxxxxxxxx>
- Date: Mon, 8 Aug 2005 16:13:20 -0700
FYI:
It was a problem with network credentials with axis and .net.
..net first sends with no credentials, when it gets rejected, it sends it
again with the credentials. Pre-auth doesn't work.
Had to set this in the header, of my web reference.cs file.
"Cindy Lee" <cindylee@xxxxxxxxxxx> wrote in message
news:eYV5vKtkFHA.1148@xxxxxxxxxxxxxxxxxxxxxxx
> I get a readtimeout error when I send a webservice over 80k. I don't
think
> a c# string can handle that lengh, or do i need to reserve memory for it?
> It's not a time out error, because if I send a file that's 70k, it returns
> in 1-2 seconds.
> It's connecting to a java apache axis server, and when I use a java
client,
> it sends the string perfectly.
> In my .cs file, is there another data type I should change it to, or
> This is my cs code
> [WebMethod(BufferResponse=false)]
> [System.Web.Services.Protocols.SoapRpcMethodAttribute("",
> RequestNamespace="http://server.com",
> ResponseNamespace="http://server/Service")]
> [return: System.Xml.Serialization.SoapElementAttribute("emailReturn")]
> public object[] email(int[] in0, int in1, string in2, string in3,
string
> in4, string in5, int in6) {
> object[] results = this.Invoke("email", new object[] {
> in0,
> in1,
> in2,
> in3,
> in4,
> in5,
> in6});
> return ((object[])(results[0]));
> }
>
>
> ERROR is:
> System.Web.Services.Protocols.SoapException: java.net.SocketTimeoutEx
> ception: Read timed out
> at
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
> ntMessage message, WebResponse response, Stream responseStream, Boolean
> asyncCal
> l)
> at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
> methodN
> ame, Object[] parameters)
> at AlertServiceService.email(Int32[] in0, Int32 in1, String in2, String
> in3,
> String in4, String in5, Int32 in6)
> at AlertClient.Client.Main(String[] args) in
> c:\umg\win\alertclient\src\clien
> t.cs:line 133
>
>
.
- Prev by Date: Re: First Web Service - Having Problems
- Next by Date: SSL on non-standard port
- Previous by thread: Re: .NET Runtime error on Web Servers
- Next by thread: SSL on non-standard port
- Index(es):
Relevant Pages
|