System.Runtime.Serialization.SerializationException

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

    #1

    System.Runtime.Serialization.SerializationException

    Hi All,

    I am calling a Java web service which is throwing some exception which the
    catch block is trapping successuly. I can see the "javax.ejb.EJBE xception:"
    in ex.message. but after this function i am getting the following exception
    in IDE window like

    An unhandled exception of type
    'System.Runtime .Serialization. SerializationEx ception' occurred in Unknown
    Module.

    Additional information: The type System.Web.Serv ices.Protocols. SoapException
    in Assembly System.Web.Serv ices, Version=1.0.500 0.0, Culture=neutral ,
    PublicKeyToken= b03f5f7f11d50a3 a is not marked as serializable

    suppose the function contains the hit to the Web service
    ds = obj.GetState(st rParam)

    it throw the error and going to the catch block

    Catch ex As Exception
    ObjTrans.Rollba ck()
    Throw
    Finally
    obj = Nothing
    End Try

    After this catch and finally i am getting that error which it shows in popup
    IDE window.

    Thanks in advace
    ..net Guy





  • olrt

    #2
    Re: System.Runtime. Serialization.S erializationExc eption


    Andy a écrit :
    Hi All,
    >
    I am calling a Java web service which is throwing some exception which the
    catch block is trapping successuly. I can see the "javax.ejb.EJBE xception:"
    in ex.message. but after this function i am getting the following exception
    in IDE window like
    >
    An unhandled exception of type
    'System.Runtime .Serialization. SerializationEx ception' occurred in Unknown
    Module.
    >
    Additional information: The type System.Web.Serv ices.Protocols. SoapException
    in Assembly System.Web.Serv ices, Version=1.0.500 0.0, Culture=neutral ,
    PublicKeyToken= b03f5f7f11d50a3 a is not marked as serializable
    >
    suppose the function contains the hit to the Web service
    ds = obj.GetState(st rParam)
    >
    it throw the error and going to the catch block
    >
    Catch ex As Exception
    ObjTrans.Rollba ck()
    Throw
    Finally
    obj = Nothing
    End Try
    >
    After this catch and finally i am getting that error which it shows in popup
    IDE window.

    Thanks in advace
    .net Guy
    And what is your question ? ;-)

    Comment

    • Andy

      #3
      Re: System.Runtime. Serialization.S erializationExc eption

      I have already pasted the error i am getting...
      :)

      Andy



      "olrt" wrote:
      >
      Andy a écrit :
      >
      Hi All,

      I am calling a Java web service which is throwing some exception which the
      catch block is trapping successuly. I can see the "javax.ejb.EJBE xception:"
      in ex.message. but after this function i am getting the following exception
      in IDE window like

      An unhandled exception of type
      'System.Runtime .Serialization. SerializationEx ception' occurred in Unknown
      Module.

      Additional information: The type System.Web.Serv ices.Protocols. SoapException
      in Assembly System.Web.Serv ices, Version=1.0.500 0.0, Culture=neutral ,
      PublicKeyToken= b03f5f7f11d50a3 a is not marked as serializable

      suppose the function contains the hit to the Web service
      ds = obj.GetState(st rParam)

      it throw the error and going to the catch block

      Catch ex As Exception
      ObjTrans.Rollba ck()
      Throw
      Finally
      obj = Nothing
      End Try

      After this catch and finally i am getting that error which it shows in popup
      IDE window.

      Thanks in advace
      .net Guy
      >
      And what is your question ? ;-)
      >
      >

      Comment

      Working...