Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Web Service Issue

Web Service Issue

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadminsecurity
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    azam316
    wrote on last edited by
    #1

    hi everyone, I am having some problems while accessing a certain method of a web service thourgh my asp.net application. The web service exposes 2 methods 1) string GetXml(......) 2) byte[] GetBinary(string path) Method 1) runs smoothly and returns the string. While calling method 2) raises an exception (Server was unable to process request --> Object reference not set to an instance of the object) or sometimes (Server was unable to process request --> Parameter cannot be null. Parameter name InString). Another asp.net application accesses the same web service methods without any errors. The code for using the web service in this application and mine is identical, except for mine is in C# and the other one is in VB.NET Does anyone has any idea why this is happening? The web service is offlimits, so i cant debug it and it uses basic authentication. Please guide me!!! thanx in advance! ☺«««DTA»»»☺

    A 1 Reply Last reply
    0
    • A azam316

      hi everyone, I am having some problems while accessing a certain method of a web service thourgh my asp.net application. The web service exposes 2 methods 1) string GetXml(......) 2) byte[] GetBinary(string path) Method 1) runs smoothly and returns the string. While calling method 2) raises an exception (Server was unable to process request --> Object reference not set to an instance of the object) or sometimes (Server was unable to process request --> Parameter cannot be null. Parameter name InString). Another asp.net application accesses the same web service methods without any errors. The code for using the web service in this application and mine is identical, except for mine is in C# and the other one is in VB.NET Does anyone has any idea why this is happening? The web service is offlimits, so i cant debug it and it uses basic authentication. Please guide me!!! thanx in advance! ☺«««DTA»»»☺

      A Offline
      A Offline
      Andy Brummer
      wrote on last edited by
      #2

      Try using a logging proxy or sniffer like httpLook[^] to see what is different in the messages that the VB client and the C# client are sending to the web service.


      I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups