System.Web.Services.Protocols.SoapException:

Discussion in 'Java' started by msorvino, Jun 7, 2005.

  1. msorvino

    msorvino Guest

    I'm having trouble authenticating against a web service. Both my axis
    client and my .net client are throwing a similar error. The .net trace
    and client code is listed below.

    thanks in advance.

    ..Net Error Details
    ======================
    Server was unable to process request. --> Object reference not set to
    an instance of an object.
    Description: An unhandled exception occurred during the execution of
    the current web request. Please review the stack trace for more
    information about the error and where it originated in the code.

    Exception Details: System.Web.Services.Protocols.SoapException: Server
    was unable to process request. --> Object reference not set to an
    instance of an object.

    Source Error:

    Line 460: public DetailData GetDetailPalm(int DataProvider,
    string strID) {
    Line 461: object[] results = this.Invoke("GetDetailPalm",
    new object[] {
    Line 462: DataProvider,
    Line 463: strID});




    Stack Trace:


    [SoapException: Server was unable to process request. --> Object
    reference not set to an instance of an object.]

    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
    message, WebResponse response, Stream responseStream, Boolean
    asyncCall)
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
    methodName, Object[] parameters)
    MLS_WebClient.GetListUsSeattle.Realtor33.GetDetailPalm(Int32
    DataProvider, String strID) in XXX\MLS_WebClient\Web
    References\GetListUsSeattle\Reference.cs:461
    MLS_WebClient.LoginForm.btnLogin_Click(Object sender, EventArgs e)
    in c:\documents\executive wireless\mls_webclient\login.aspx.cs:63
    System.Web.UI.WebControls.Button.OnClick(EventArgs e)

    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
    eventArgument)
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
    sourceControl, String eventArgument)
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
    System.Web.UI.Page.ProcessRequestMain()

    client

    ..Net Client Code:
    ===================
    GetListUsSeattle.Realtor33 realtor = new
    GetListUsSeattle.Realtor33();
    String strUsername = txtUsername.Text;
    String strPassword = pwd.Text;
    NetworkCredential credentials = new NetworkCredential("username",
    "password");
    realtor.Credentials = credentials;
    GetListUsSeattle.DetailData b = null;
    b = realtor.GetDetailPalm(1,"");
    msorvino, Jun 7, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. yamadora1999
    Replies:
    2
    Views:
    483
    yamadora1999
    May 25, 2005
  2. jim

    System.Web.Services.Protocols.SoapException

    jim, Aug 26, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    100
  3. jim

    System.Web.Services.Protocols.SoapException

    jim, Aug 28, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    114
  4. Florencio Laso
    Replies:
    1
    Views:
    288
    Raffaele Rialdi [MVP]
    Mar 27, 2007
  5. runnin_bare
    Replies:
    0
    Views:
    941
    runnin_bare
    Nov 13, 2009
Loading...

Share This Page