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

RE: nuSOAP

Expand Messages
  • Robert van Engelen
    There are a number of problems. Most tests fail because there seems to be an additional text in XML in the wrong location. Probably generated by debugging
    Message 1 of 3 , Apr 6, 2002
      There are a number of problems. Most tests fail because there seems to be an
      additional text in XML in the wrong location. Probably generated by debugging
      output statements. The response XML doesn't pass my XML parser. See below:

      HTTP/1.1 200 OK
      Date: Sat, 06 Apr 2002 18:27:57 GMT
      Server: Apache/1.3.23 (Unix) PHP/4.1.2 mod_gzip/1.3.19.1a
      X-Powered-By: PHP/4.1.2
      Status: 200 OK
      Connection: Close
      Content-Length: 1631
      Content-Type: text/xml

      <?xml version="1.0"?>
      <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:si="http://soapinterop.org/xsd">
      <SOAP-ENV:Body>
      <echoStringResponse>
      <noname xsi:type="xsd:string">Hello World! <>&</noname>
      </echoStringResponse>
      successful</SOAP-ENV:Body>
      ^^^^^^^^^^_________________________ TEXT SHOULD NOT BE HERE
      </SOAP-ENV:Envelope>
      <!--
      soap_server: entering parseRequest() on 13:27 2002-04-06
      soap_server: Content-Length: 611
      soap_server: Content-Type: text/xml; charset=utf-8
      soap_server: Host: dietrich.ganx4.com
      soap_server: SOAPAction: "http://soapinterop.org/"
      soap_server: got encoding: UTF-8
      soap_server: method name: echoString
      soap_server: method 'echoString' exists
      soap_server: calling parser->get_response()
      soap_server: Parsed response dump:
      soap_server: array(1) {
      ["inputString"]=>
      &string(16) "Hello World! <>&"
      }
    • Dietrich Ayala
      Thanks Robert. This has been fixed. I m wondering how it passed through PHP s XML parser (Expat behind it) without throwing an error during my testing. Yikes.
      Message 2 of 3 , Apr 6, 2002
        Thanks Robert. This has been fixed.

        I'm wondering how it passed through PHP's XML parser (Expat behind it) without throwing an error during my testing. Yikes.

        At least it was "successful" :)

        Dietrich

        > -----Original Message-----
        > From: Robert van Engelen [mailto:engelen@...]
        > Sent: Saturday, April 06, 2002 11:22 AM
        > To: soapbuilders@yahoogroups.com
        > Subject: [soapbuilders] RE: nuSOAP
        >
        >
        >
        > There are a number of problems. Most tests fail because there seems to be an
        > additional text in XML in the wrong location. Probably generated by debugging
        > output statements. The response XML doesn't pass my XML parser. See below:
        >
        > HTTP/1.1 200 OK
        > Date: Sat, 06 Apr 2002 18:27:57 GMT
        > Server: Apache/1.3.23 (Unix) PHP/4.1.2 mod_gzip/1.3.19.1a
        > X-Powered-By: PHP/4.1.2
        > Status: 200 OK
        > Connection: Close
        > Content-Length: 1631
        > Content-Type: text/xml
        >
        > <?xml version="1.0"?>
        > <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
        > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
        > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
        > xmlns:si="http://soapinterop.org/xsd">
        > <SOAP-ENV:Body>
        > <echoStringResponse>
        > <noname xsi:type="xsd:string">Hello World! <>&</noname>
        > </echoStringResponse>
        > successful</SOAP-ENV:Body>
        > ^^^^^^^^^^_________________________ TEXT SHOULD NOT BE HERE
        > </SOAP-ENV:Envelope>
        > <!--
        > soap_server: entering parseRequest() on 13:27 2002-04-06
        > soap_server: Content-Length: 611
        > soap_server: Content-Type: text/xml; charset=utf-8
        > soap_server: Host: dietrich.ganx4.com
        > soap_server: SOAPAction: "http://soapinterop.org/"
        > soap_server: got encoding: UTF-8
        > soap_server: method name: echoString
        > soap_server: method 'echoString' exists
        > soap_server: calling parser->get_response()
        > soap_server: Parsed response dump:
        > soap_server: array(1) {
        > ["inputString"]=>
        > &string(16) "Hello World! <>&"
        > }
        >
        >
        > -----------------------------------------------------------------
        > This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Please
        > stay on-topic.
        >
        > To unsubscribe from this group, send an email to:
        > soapbuilders-unsubscribe@yahoogroups.com
        >
        >
        >
        > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
        >
        >
        >
      • Robert van Engelen
        nuSOAP interopresults look much improved! I ll update my on-line matrix when the MS interop services are up again. The thing gSOAP complains about is that
        Message 3 of 3 , Apr 14, 2002
          nuSOAP interopresults look much improved! I'll update my on-line matrix
          when the MS interop services are up again.

          The thing gSOAP complains about is that nuSOAP does not support
          sparse arrays and 2D arrays.

          Also the echoNestedStructResponse fails, because the varInt element
          has type xsd:string:

          <?xml version="1.0"?>
          <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
          xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
          xmlns:si="http://soapinterop.org/xsd">
          <SOAP-ENV:Body>
          <echoNestedStructResponse>
          <return xsi:type="si:SOAPStructStruct">
          <varString xsi:type="xsd:string">SOAP!</varString>
          <varInt xsi:type="xsd:int">2147483647</varInt>
          <varFloat xsi:type="xsd:float">3.40282002E+38</varFloat>
          <varStruct xmlns:ns8491="http://soapinterop.org/xsd" xsi:type="ns8491:SOAPStruct">
          <varString xsi:type="xsd:string">Hello</varString>
          <varInt xsi:type="xsd:string">
          ** HERE **
          2147483647</varInt>
          <varFloat xsi:type="xsd:string">3.40282002E+38</varFloat>
          </varStruct>
          </return>
          </echoNestedStructResponse>
          </SOAP-ENV:Body>
          </SOAP-ENV:Envelope>

          - Robert
        Your message has been successfully submitted and would be delivered to recipients shortly.