Passed parameters to web service is null

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ladislav.k

    #1

    Passed parameters to web service is null

    Hallo, I have written web service with method:
    public long DoSomething(str ing base64String)
    {
    try
    {
    return doit();
    }
    catch
    {
    return -1;
    }
    }

    and client written also in c# that this webmethod is calling

    private void clientmethod()
    {
    ...
    localhost.webse rvice ws = new
    Name.Name.WebAp plication.local host.webservice ();
    long retvl = ws.DoSomething( base64String);
    }

    If I'm calling this client function, I'm passing base64 coded string, but on
    webservice side is parameter passed as null.
    Do somebody know where is problem?
    Thanks a lot
    LK


Working...