Help with SOAP exception

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

    Help with SOAP exception

    Hi,

    I currently get a SOAP exception when connecting to a web service.
    This is fine but I am unable to find a way of pulling up the XML which
    has been returned. Does anyone know how I can do this?

    Appreciate any help.
  • =?ISO-8859-1?Q?G=F6ran_Andersson?=

    #2
    Re: Help with SOAP exception

    nomad wrote:
    Hi,
    >
    I currently get a SOAP exception when connecting to a web service.
    This is fine but I am unable to find a way of pulling up the XML which
    has been returned. Does anyone know how I can do this?
    >
    Appreciate any help.
    Do you really need the XML returned?

    If you are looking for the cause of the exception, catch the soap
    exception and look at the inner exception.

    --
    Göran Andersson
    _____
    Göran Anderssons privata hemsida.

    Comment

    • nomad

      #3
      Re: Help with SOAP exception

      On 30 Jun, 10:51, Göran Andersson <gu...@guffa.co mwrote:
      nomad wrote:
      Hi,
      >
      I currently get a SOAP exception when connecting to a web service.
      This is fine but I am unable to find a way of pulling up the XML which
      has been returned.  Does anyone know how I can do this?
      >
      Appreciate any help.
      >
      Do you really need the XML returned?
      >
      If you are looking for the cause of the exception, catch the soap
      exception and look at the inner exception.
      >
      --
      Göran Andersson
      _____http://www.guffa.com
      Hi,

      Unfortunately the inner exception is null. I need the xml that is
      returned so I can log the value of the faultstring node so I know why
      it produced an error.

      Comment

      • =?ISO-8859-1?Q?G=F6ran_Andersson?=

        #4
        Re: Help with SOAP exception

        nomad wrote:
        On 30 Jun, 10:51, Göran Andersson <gu...@guffa.co mwrote:
        >nomad wrote:
        >>Hi,
        >>I currently get a SOAP exception when connecting to a web service.
        >>This is fine but I am unable to find a way of pulling up the XML which
        >>has been returned. Does anyone know how I can do this?
        >>Appreciate any help.
        >Do you really need the XML returned?
        >>
        >If you are looking for the cause of the exception, catch the soap
        >exception and look at the inner exception.
        >>
        >--
        >Göran Andersson
        >_____http://www.guffa.com
        >
        Hi,
        >
        Unfortunately the inner exception is null. I need the xml that is
        returned so I can log the value of the faultstring node so I know why
        it produced an error.
        Can't you use the Code property of the SoapException?

        --
        Göran Andersson
        _____
        Göran Anderssons privata hemsida.

        Comment

        Working...