Loading ...
Sorry, an error occurred while loading the content.

2180Re: [soaplite] SOAP::Lite server/VB .Net client

Expand Messages
  • Duncan Cameron
    Dec 11, 2002
      On 2002-12-10 DaveHod <davehod wrote:
      >I have a simple web service written in Perl with the latest
      >SOAP::Lite. (The service returns a complex type)
      >The service works great with a Java client (using Apache Axis)
      >However, I cannot get it to work properly using a VB client. I have a
      >proxy running and can see both the request and response msgs, which
      >are functioning properly. However, when VB catches the response, it
      >gives me the following error:
      >"An unhandled exception of type 'System.InvalidOperationException'
      >occurred in system.xml.dll
      >Additional information: There is an error in XML document (1, 1153)."
      >Are there any known issues with SOAP::Lite and .Net clients?
      >I suspect that problem is that I need to modify the return of my call
      >somehow, but am not sure what that would be. My return code is below:
      > return SOAP::Data->name('Response') ->type('SOAPStruct' =>
      > \SOAP::Data->value(
      > SOAP::Data->name('authorized') ->type('boolean' =>
      > SOAP::Data->name('high') ->type('string' =>
      > SOAP::Data->name('low') ->type('string' =>
      > SOAP::Data->name('membername') ->type('string' =>
      > SOAP::Data->name('imageURL') ->type('string' =>
      > SOAP::Data->name('status') ->type('string' =>
      > SOAP::Data->name('code') ->type('integer' =>
      > )
      > );
      You probably want to have a namespace on the returned data items.
      See the INTEROPERABILITY section of the SOAP::Lite docs.

      Also, "There is an error in XML document (1, 1153)" is pointing to
      line 1, position 1153, which should show you what the problem is.

      Duncan Cameron
    • Show all 2 messages in this topic