WebService Proxy Error: Positive number required

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default WebService Proxy Error: Positive number required

    We are attempting to utilize a J2EE\IBM WSA webservice and on the oneway
    method call I get the following exception

    System.ArgumentOutOfRangeException: Positive number required.\r\nParameter
    name: bufferSize\r\n at System.IO.StreamReader

    System.ArgumentOutOfRangeException: Positive number required.\r\nParameter
    name: bufferSize\r\n at System.IO.StreamReader..ctor(Stream stream, Encoding
    encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)\r\n at
    System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
    message, WebResponse response, Stream responseStream, Boolean asyncCall)\r\n
    at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
    methodName, Object[] parameters)\r\n at
    IntelliWhere.TrackForce.FieldClient.Emulator.Track ForceClientServicesRemote.ClientServices.RunListAc knoweledge(String
    SessionToken, String RunListID, String jobIDs) in
    D:\\@Data\\@WIP\\FieldClientTesting\\Benchmark\\Cl ientEmulator\\Web
    References\\TrackForceClientServicesRemote\\Refere nce.cs:line 90\r\n at
    IntelliWhere.TrackForce.FieldClient.Emulator.Emula tionBatchThread._emulateAckRunList()
    in
    d:\\@data\\@wip\\fieldclienttesting\\benchmark\\cl ientemulator\\processjoblistemulation.cs:line 818"

    --------------------------------------------
    Neil Macdonald
    Senior Software Engineer
    IntelliWhere Product Development Centre
    Intergraph Corporation
    Intergraph Mapping and Geospatial Solutions
    Neil Macdonald [Intergraph] Guest

  2. Similar Questions and Discussions

    1. Proxy authenticated required
      Hi I am trying to call a web service from behind a MS ISA Server on a sbs2003 machine. The calling program is coming up with this error; The...
    2. request failed with HTTP status 407: Proxy Authentication Required
      Hi all. I have been strugling with trying to get access to a web reference in my web project that is outside my firewall (ISA 2000 server running...
    3. Proxy authentication required
      (Type your message here) -------------------------------- From: samy coco I have a windows application which invokes Web services: ...
    4. Turning a negative number into a positive
      Hi, how can I turn a number such as -5 into +5 e.g. I have a variable: myVar = -5 how can I turn that into: myVar = +5
    5. turn negitive number into positive
      I have a number being returned to me. What ever the number is, I need to transform it into a positive number. I'm trying to create a serial number...
  3. #2

    Default RE: WebService Proxy Error: Positive number required

    Are you passing a negative # (or zero) in this parameter?
    --------------------
    >Thread-Topic: WebService Proxy Error: Positive number required
    >thread-index: AcUdSmYLGHZvZym2RsyFsrXbZCq5NA==
    >X-WBNR-Posting-Host: 144.137.152.10
    >From: =?Utf-8?B?TmVpbCBNYWNkb25hbGQgW0ludGVyZ3JhcGhd?=
    <NeilMacdonaldIntergraph@discussions.microsoft.com >
    >Subject: WebService Proxy Error: Positive number required
    >Date: Sun, 27 Feb 2005 20:03:02 -0800
    >Lines: 27
    >Message-ID: <BC6ED1BB-9DDF-4D1F-B68C-F018C68EDF53@microsoft.com>
    >MIME-Version: 1.0
    >Content-Type: text/plain;
    > charset="Utf-8"
    >Content-Transfer-Encoding: 7bit
    >X-Newsreader: Microsoft CDO for Windows 2000
    >Content-Class: urn:content-classes:message
    >Importance: normal
    >Priority: normal
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
    >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
    >Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGXA03.phx.gbl
    >Xref: TK2MSFTNGXA02.phx.gbl
    microsoft.public.dotnet.framework.aspnet.webservic es:28320
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
    >
    >We are attempting to utilize a J2EE\IBM WSA webservice and on the oneway
    >method call I get the following exception
    >
    >System.ArgumentOutOfRangeException: Positive number required.\r\nParameter
    >name: bufferSize\r\n at System.IO.StreamReader
    >
    >System.ArgumentOutOfRangeException: Positive number required.\r\nParameter
    >name: bufferSize\r\n at System.IO.StreamReader..ctor(Stream stream,
    Encoding
    >encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)\r\n
    at
    >System.Web.Services.Protocols.SoapHttpClientProto col.ReadResponse(SoapClien
    tMessage
    >message, WebResponse response, Stream responseStream, Boolean
    asyncCall)\r\n
    >at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
    >methodName, Object[] parameters)\r\n at
    >IntelliWhere.TrackForce.FieldClient.Emulator.Trac kForceClientServicesRemote
    ..ClientServices.RunListAcknoweledge(String
    >SessionToken, String RunListID, String jobIDs) in
    >D:\\@Data\\@WIP\\FieldClientTesting\\Benchmark\\C lientEmulator\\Web
    >References\\TrackForceClientServicesRemote\\Refer ence.cs:line 90\r\n at
    >IntelliWhere.TrackForce.FieldClient.Emulator.Emul ationBatchThread._emulateA
    ckRunList()
    >in
    >d:\\@data\\@wip\\fieldclienttesting\\benchmark\\c lientemulator\\processjobl
    istemulation.cs:line 818"
    >
    >--------------------------------------------
    >Neil Macdonald
    >Senior Software Engineer
    >IntelliWhere Product Development Centre
    >Intergraph Corporation
    >Intergraph Mapping and Geospatial Solutions
    >
    Dan Rogers Guest

  4. #3

    Default Re: WebService Proxy Error: Positive number required

    Were you able to resolve this issue, I have run into the exact same
    issue will trying to call a legacy ASP based webservice provided by a
    third party. Your response would be grateful.
    cheers.

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Cookie Monster Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139