Re: .NET client sending long strings error



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
>
>


.



Relevant Pages

  • Re: Forward Credentials from ASP.NET Web-application to ASP.NET Web-Service?
    ... Yes, for Basic auth, the authorization header will contain a string like: ... You can definitely get the Default Credentials thing to work as well using ... Kerberos) in order for those credentials to work on a different machine on ...
    (microsoft.public.dotnet.security)
  • Re: ADFS Development Issues
    ... Public Function IsUserAuthenticated(ByVal strAdPath As String, ... On Apr 22, 5:23 am, "Joe Kaplan" ... You can use that to build a directoryentry to use as the search root. ... user's credentials. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Mixing authentication type flags & By design Bug from MS ?
    ... I've not seen behavior where you specify credentials, ... we were trying to use Signing and Sealing with the Secure flag. ... >> public static DirectoryEntry SecureConnectDC(string adsPath, string usr, ...
    (microsoft.public.dotnet.security)
  • Re: Stored Procedure from Access
    ... i don't want it to prompt for credentials. ... connection string within access to access a particular sql server. ... Authentication for the SQL Server connection, but if you're not going to ...
    (microsoft.public.access.formscoding)