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

Re: [soaplite] Namespace prefix problem with 0.52

Expand Messages
  • Paul Kulchenko
    Hi, Gisle! Yes, there s an issue. It was done in attempt to implement full support for namespaces in WSDL which didn t happen yet. You can get previous
    Message 1 of 2 , Dec 10 8:49 AM
      Hi, Gisle!

      Yes, there's an issue. It was done in attempt to implement full
      support for namespaces in WSDL which didn't happen yet. You can get
      previous behavior by removing "delete" in SOAP/Lite.pm, line 1665.
      Next version should do it properly. Thanks, Gisle.

      Best wishes, Paul.

      --- Gisle Aas <gisle@...> wrote:
      > The following script fails after upgrading to 0.52 (it worked with
      > 0.51):
      >
      >
      --------------------------------------------------------------------
      > print "1..1
      ";
      >
      > use SOAP::Lite;
      >
      > my $p =
      >
      SOAP::Lite->service("http://soaptest.activestate.com:8080/PSDBService.wsdl");
      > my $f = $p->readPackageAbstract("SOAP-Lite");
      >
      > print "not " unless $f eq "Library for SOAP clients and servers in
      > Perl";
      > print "ok 1
      ";
      >
      --------------------------------------------------------------------
      >
      > A wire dump shows this:
      >
      > POST /PerlEx/soap.plex HTTP/1.1
      > TE: deflate,gzip;q=0.3
      > Connection: TE, close
      > Accept: text/xml
      > Accept: multipart/*
      > Host: soaptest.activestate.com:8080
      > User-Agent: SOAP::Lite/Perl/0.52
      > Content-Length: 547
      > Content-Type: text/xml; charset=utf-8
      > SOAPAction: "urn:activestate"
      >
      > HTTP/1.1 100 Continue
      > Server: Microsoft-IIS/5.0
      > Date: Thu, 06 Dec 2001 21:48:20 GMT
      >
      > <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
      > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
      > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      > xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      >
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><namesp1:readPackageAbstract
      > xmlns:namesp1="http://activestate.com/"><PackageName
      >
      xsi:type="t:string">SOAP-Lite</PackageName></namesp1:readPackageAbstract></SOAP-ENV:Body></SOAP-ENV:Envelope>HTTP/1.1
      > 500 NOT OK
      > Content-type: text/xml
      >
      > <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body>
      > <Fault>
      > <faultcode>ClientError</faultcode>
      > <faultstring>
      > No namespace prefix t: in scope at line 1 at
      > C:/Perl/site/lib/XC/SOAP/Parse.pm line 62
      > </faultstring>
      > </Fault>
      > </Body></Envelope>
      >
      > ------------------------ Yahoo! Groups Sponsor
      >
      > To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to
      > http://docs.yahoo.com/info/terms/
      >
      >


      __________________________________________________
      Do You Yahoo!?
      Send your FREE holiday greetings online!
      http://greetings.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.