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

SOAPx4 Update

Expand Messages
  • Dietrich Ayala :: Sub Pop
    I ve posted an update of SOAPx4 [1]. 1. includes a new higher level API that makes soap client usage to be *much* easier. 2. contains wsdl class, that is
    Message 1 of 7 , Jun 30, 2001
    • 0 Attachment
      I've posted an update of SOAPx4 [1].

      1. includes a new higher level API that makes soap client usage to be *much*
      easier.
      2. contains wsdl class, that is integrated into the higher level client api.
      3. many bug fixes

      thx, d.

      [1] http://dietrich.ganx4.com/soapx4
    • NAKAMURA, Hiroshi
      Hi Dietrich, R1 interop results: SOAPx4 server / SOAP4R client. File: clientSOAPx4.log - Wiredumps for SOAP4R client / SOAPx4 server. Date: Mon Jul 02 10:03:39
      Message 2 of 7 , Jul 1 6:20 PM
      • 0 Attachment
        Hi Dietrich,

        R1 interop results: SOAPx4 server / SOAP4R client.

        File: clientSOAPx4.log - Wiredumps for SOAP4R client / SOAPx4 server.
        Date: Mon Jul 02 10:03:39 JST 2001

        Passed:
        echoVoid
        echoString
        echoString (space)
        echoString (whitespaces)
        echoStringArray
        echoInteger(Int: 2147483647)
        echoInteger(Int: -2147483648)
        echoIntegerArray
        echoFloat
        echoDate
        echoBase64

        Failed:
        [1] echoIntegerArray with empty Array ...
        "Method call failed for 'echoIntegerArray' with params: "
        [2] echoFloatArray ... -INF -> 0
        [3] echoStruct ... Returned struct 'echoStruct' is not typed but
        it's OK for SOAP processors with schema.
        [4] echoAnyTypeArray ... Illegal attribue value of arrayType; ":struct[]"
        [5] echoStructArray ... ditto

        Hope this helps,
        // NaHi

        / / /

        [1] echoIntegerArray with empty Array ...
        "Method call failed for 'echoIntegerArray' with params: "

        == Request from SOAP4R.

        POST http://dietrich.ganx4.com/soapx4/soap.php HTTP/1.0
        Host: dietrich.ganx4.com
        Connection: close
        Content-Length: 511
        Content-Type: text/xml
        User-Agent: SOAP4R/1.3.2
        SOAPAction: "urn:soapinterop"

        <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"
        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:n1="http://soapinterop.org/"><SOAP-ENV:Body
        SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><n1:echoIntegerArray><inputIntegerArray
        xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="n2:Array"
        n2:arrayType="xsd:int[0]"></inputIntegerArray></n1:echoIntegerArray></SOAP-ENV:Body></SOAP-ENV:Envelope>

        == Response from server.

        HTTP/1.0 500 Internal Server Error
        Date: Mon, 02 Jul 2001 01:03:44 GMT
        Server: Apache/1.3.17 (Unix) PHP/4.0.4pl1
        X-Powered-By: PHP/4.0.4pl1
        Content-Length: 720
        Content-Type: text/xml; charset=UTF-8
        X-Cache: MISS from ifront0.sarion.co.jp
        Proxy-Connection: close

        <?xml version="1.0"?>
        <SOAP-ENV:Envelope 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" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:si="http://soapinterop.org/xsd" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <SOAP-ENV:Body>
        <SOAP-ENV:Fault>
        <faultcode xsi:type="xsd:string">Server</faultcode>
        <faultstring xsi:type="xsd:string">Method call failed for 'echoIntegerArray' with params: </faultstring>
        <faultactor xsi:type="xsd:string"></faultactor>
        <faultdetail xsi:type="xsd:string"></faultdetail>
        </SOAP-ENV:Fault>
        </SOAP-ENV:Body>
        </SOAP-ENV:Envelope>

        / / /

        [2] echoFloatArray ... -INF -> 0

        = Wire dump

        == Request from SOAP4R.

        POST http://dietrich.ganx4.com/soapx4/soap.php HTTP/1.0
        Host: dietrich.ganx4.com
        Connection: close
        Content-Length: 684
        Content-Type: text/xml
        User-Agent: SOAP4R/1.3.2
        SOAPAction: "urn:soapinterop"

        <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"
        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:n1="http://soapinterop.org/"><SOAP-ENV:Body
        SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><n1:echoFloatArray><inputFloatArray
        xmlns:n2="http://www.w3.org/2001/XMLSchema" xmlns:n3="http://schemas.xmlsoap.org/soap/encoding/" n3:arrayType="n2:float[3]"
        xsi:type="n3:Array"><floatAry xsi:type="xsd:float">NaN</floatAry><floatAry xsi:type="xsd:float">INF</floatAry><floatAry
        xsi:type="xsd:float">-INF</floatAry></inputFloatArray></n1:echoFloatArray></SOAP-ENV:Body></SOAP-ENV:Envelope>

        == Response from server.

        HTTP/1.0 200 OK
        Date: Mon, 02 Jul 2001 01:03:46 GMT
        Server: Apache/1.3.17 (Unix) PHP/4.0.4pl1
        X-Powered-By: PHP/4.0.4pl1
        Status: 200
        Content-Length: 721
        Content-Type: text/xml; charset=UTF-8
        X-Cache: MISS from ifront0.sarion.co.jp
        Proxy-Connection: close

        <?xml version="1.0"?>
        <SOAP-ENV:Envelope 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" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:si="http://soapinterop.org/xsd" xmlns:ns6="soapinterop" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <SOAP-ENV:Body>
        <ns6:echoFloatArrayResponse>
        <echoFloatArray xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:ur-type[3]">
        <item xsi:type="xsd:float">NaN</item>
        <item xsi:type="xsd:float">INF</item>
        <item xsi:type="xsd:int">0</item>
        </echoFloatArray>
        </ns6:echoFloatArrayResponse>
        </SOAP-ENV:Body>
        </SOAP-ENV:Envelope>

        / / /

        [3] echoStruct ... Returned struct 'echoStruct' is not typed but
        it's OK for SOAP processors with schema.

        == Request from SOAP4R.

        POST http://dietrich.ganx4.com/soapx4/soap.php HTTP/1.0
        Host: dietrich.ganx4.com
        Connection: close
        Content-Length: 579
        Content-Type: text/xml
        User-Agent: SOAP4R/1.3.2
        SOAPAction: "urn:soapinterop"

        <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"
        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:n1="http://soapinterop.org/"><SOAP-ENV:Body
        SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><n1:echoStruct><inputStruct xmlns:n2="http://soapinterop.org/xsd"
        xsi:type="n2:SOAPStruct"><varString xsi:type="xsd:string">a</varString><varFloat xsi:type="xsd:float">1.1</varFloat><varInt
        xsi:type="xsd:int">1</varInt></inputStruct></n1:echoStruct></SOAP-ENV:Body></SOAP-ENV:Envelope>

        == Response from server.

        HTTP/1.0 200 OK
        Date: Mon, 02 Jul 2001 01:03:47 GMT
        Server: Apache/1.3.17 (Unix) PHP/4.0.4pl1
        X-Powered-By: PHP/4.0.4pl1
        Status: 200
        Content-Length: 664
        Content-Type: text/xml; charset=UTF-8
        X-Cache: MISS from ifront0.sarion.co.jp
        Proxy-Connection: close

        <?xml version="1.0"?>
        <SOAP-ENV:Envelope 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" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:si="http://soapinterop.org/xsd" xmlns:ns6="soapinterop" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <SOAP-ENV:Body>
        <ns6:echoStructResponse>
        <echoStruct>
        <varString xsi:type="xsd:string">a</varString>
        <varFloat xsi:type="xsd:float">1.1</varFloat>
        <varInt xsi:type="xsd:int">1</varInt>
        </echoStruct>
        </ns6:echoStructResponse>
        </SOAP-ENV:Body>
        </SOAP-ENV:Envelope>

        / / /

        [4] echoAnyTypeArray ... Illegal attribue value of arrayType; ":struct[]"

        == Request from SOAP4R.

        POST http://dietrich.ganx4.com/soapx4/soap.php HTTP/1.0
        Host: dietrich.ganx4.com
        Connection: close
        Content-Length: 1159
        Content-Type: text/xml
        User-Agent: SOAP4R/1.3.2
        SOAPAction: "urn:soapinterop"

        <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"
        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:n1="http://soapinterop.org/"><SOAP-ENV:Body
        SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><n1:echoStructArray><inputStructArray
        xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="n2:Array" n2:arrayType="xsd:ur-type[3]"><ur-typeAry
        xmlns:n3="http://soapinterop.org/xsd" xsi:type="n3:SOAPStruct"><varString xsi:type="xsd:string">a</varString><varFloat
        xsi:type="xsd:float">1.1</varFloat><varInt xsi:type="xsd:int">1</varInt></ur-typeAry><ur-typeAry
        xmlns:n4="http://soapinterop.org/xsd" xsi:type="n4:SOAPStruct"><varString xsi:type="xsd:string">b</varString><varFloat
        xsi:type="xsd:float">2.2</varFloat><varInt xsi:type="xsd:int">2</varInt></ur-typeAry><ur-typeAry
        xmlns:n5="http://soapinterop.org/xsd" xsi:type="n5:SOAPStruct"><varString xsi:type="xsd:string">c</varString><varFloat
        xsi:type="xsd:float">3.3</varFloat><varInt
        xsi:type="xsd:int">3</varInt></ur-typeAry></inputStructArray></n1:echoStructArray></SOAP-ENV:Body></SOAP-ENV:Envelope>

        == Response from server.

        HTTP/1.0 200 OK
        Date: Mon, 02 Jul 2001 01:03:48 GMT
        Server: Apache/1.3.17 (Unix) PHP/4.0.4pl1
        X-Powered-By: PHP/4.0.4pl1
        Status: 200
        Content-Length: 1061
        Content-Type: text/xml; charset=UTF-8
        X-Cache: MISS from ifront0.sarion.co.jp
        Proxy-Connection: close

        <?xml version="1.0"?>
        <SOAP-ENV:Envelope 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" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:si="http://soapinterop.org/xsd" xmlns:ns6="soapinterop" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <SOAP-ENV:Body>
        <ns6:echoStructArrayResponse>
        <echoStructArray xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType=":struct[3]">
        <item>
        <varString xsi:type="xsd:string">a</varString>
        <varFloat xsi:type="xsd:float">1.1</varFloat>
        <varInt xsi:type="xsd:int">1</varInt>
        </item>
        <item>
        <varString xsi:type="xsd:string">b</varString>
        <varFloat xsi:type="xsd:float">2.2</varFloat>
        <varInt xsi:type="xsd:int">2</varInt>
        </item>
        <item>
        <varString xsi:type="xsd:string">c</varString>
        <varFloat xsi:type="xsd:float">3.3</varFloat>
        <varInt xsi:type="xsd:int">3</varInt>
        </item>
        </echoStructArray>
        </ns6:echoStructArrayResponse>
        </SOAP-ENV:Body>
        </SOAP-ENV:Envelope>

        / / /

        [5] echoStructArray ... Illegal attribue value of arrayType; ":struct[]"

        = Wire dump

        == Request from SOAP4R.

        POST http://dietrich.ganx4.com/soapx4/soap.php HTTP/1.0
        Host: dietrich.ganx4.com
        Connection: close
        Content-Length: 1028
        Content-Type: text/xml
        User-Agent: SOAP4R/1.3.2
        SOAPAction: "urn:soapinterop"

        <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"
        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:n1="http://soapinterop.org/"><SOAP-ENV:Body
        SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><n1:echoStructArray><inputStructArray
        xmlns:n2="http://soapinterop.org/xsd" xmlns:n3="http://schemas.xmlsoap.org/soap/encoding/" n3:arrayType="n2:SOAPStruct[3]"
        xsi:type="n3:Array"><SOAPStructAry><varString xsi:type="xsd:string">a</varString><varFloat
        xsi:type="xsd:float">1.1</varFloat><varInt xsi:type="xsd:int">1</varInt></SOAPStructAry><SOAPStructAry><varString
        xsi:type="xsd:string">b</varString><varFloat xsi:type="xsd:float">2.2</varFloat><varInt
        xsi:type="xsd:int">2</varInt></SOAPStructAry><SOAPStructAry><varString xsi:type="xsd:string">c</varString><varFloat
        xsi:type="xsd:float">3.3</varFloat><varInt
        xsi:type="xsd:int">3</varInt></SOAPStructAry></inputStructArray></n1:echoStructArray></SOAP-ENV:Body></SOAP-ENV:Envelope>

        == Response from server.

        HTTP/1.0 200 OK
        Date: Mon, 02 Jul 2001 01:03:49 GMT
        Server: Apache/1.3.17 (Unix) PHP/4.0.4pl1
        X-Powered-By: PHP/4.0.4pl1
        Status: 200
        Content-Length: 1061
        Content-Type: text/xml; charset=UTF-8
        X-Cache: MISS from ifront0.sarion.co.jp
        Proxy-Connection: close

        <?xml version="1.0"?>
        <SOAP-ENV:Envelope 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" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:si="http://soapinterop.org/xsd" xmlns:ns6="soapinterop" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <SOAP-ENV:Body>
        <ns6:echoStructArrayResponse>
        <echoStructArray xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType=":struct[3]">
        <item>
        <varString xsi:type="xsd:string">a</varString>
        <varFloat xsi:type="xsd:float">1.1</varFloat>
        <varInt xsi:type="xsd:int">1</varInt>
        </item>
        <item>
        <varString xsi:type="xsd:string">b</varString>
        <varFloat xsi:type="xsd:float">2.2</varFloat>
        <varInt xsi:type="xsd:int">2</varInt>
        </item>
        <item>
        <varString xsi:type="xsd:string">c</varString>
        <varFloat xsi:type="xsd:float">3.3</varFloat>
        <varInt xsi:type="xsd:int">3</varInt>
        </item>
        </echoStructArray>
        </ns6:echoStructArrayResponse>
        </SOAP-ENV:Body>
        </SOAP-ENV:Envelope>

        > -----Original Message-----
        > From: Dietrich Ayala :: Sub Pop [mailto:dietricha@...]
        > Sent: Sunday, July 01, 2001 2:27 AM
        > To: soapbuilders
        > Subject: [soapbuilders] SOAPx4 Update
        >
        >
        > I've posted an update of SOAPx4 [1].
        >
        > 1. includes a new higher level API that makes soap client usage to be *much*
        > easier.
        > 2. contains wsdl class, that is integrated into the higher level client api.
        > 3. many bug fixes
        >
        > thx, d.
        >
        > [1] http://dietrich.ganx4.com/soapx4
        >
        >
        > -----------------------------------------------------------------
        > 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/
        >
        >
        >
      • milos@yahoo.com
        I am getting similar results. The client and server do seem to work, but per the SOAP Validator, there are some missing functions. I am also wondering about
        Message 3 of 7 , Jul 2 5:25 AM
        • 0 Attachment
          I am getting similar results. The client and server do seem to
          work, but per the SOAP Validator, there are some missing
          functions.

          I am also wondering about the license for this?
        • NAKAMURA, Hiroshi
          Hi, ... I did not know that there was another interop resource. And I tried to pass the test but I got some errors. I don t know what was wrong. Can somebody
          Message 4 of 7 , Jul 3 10:24 PM
          • 0 Attachment
            Hi,

            > From: milos@... [mailto:milos@...]
            > Sent: Monday, July 02, 2001 9:25 PM

            > I am getting similar results. The client and server do seem to
            > work, but per the SOAP Validator, there are some missing
            > functions.

            I did not know that there was another interop resource.
            And I tried to pass the test but I got some errors.
            I don't know what was wrong. Can somebody please help me?

            I cannot imagine how other servers pass the test...

            Regards,
            // NaHi

            / / /

            Error message:
            Error: It returned 1/1/1904; 12:47:35 AM, the correct result is 2/5/2040; 5:15:51 PM.

            Request:
            <dat xsi:type="xsd:timeInstant">1904-01-01T00:47:35-07:00</dat>

            Response:
            <ur-typeAry xsi:type="xsd:timeInstant">1903-12-31T17:47:35Z</ur-typeAry>

            TZ not supported?

            / / /

            Error message:
            Error: It returned 4276.66666667, the correct result is 4276.666667

            Request:
            <doub xsi:type="xsd:float">4276.66666667</doub>

            Response:
            <ur-typeAry xsi:type="xsd:float">4276.666667</ur-typeAry>

            Isn't it regal single-precision 32-bit floating point value?
          • Simon Fell
            ... You applied the offset incorrectly to get to UTC (This has caught a lot of people out, including me) 1904-01-01T00:47:35-07:00 means that it is 7 hours
            Message 5 of 7 , Jul 3 10:30 PM
            • 0 Attachment
              On Wed, 4 Jul 2001 14:24:48 +0900, in soap you wrote:

              >Request:
              > <dat xsi:type="xsd:timeInstant">1904-01-01T00:47:35-07:00</dat>
              >
              >Response:
              > <ur-typeAry xsi:type="xsd:timeInstant">1903-12-31T17:47:35Z</ur-typeAry>
              >
              >TZ not supported?
              >

              You applied the offset incorrectly to get to UTC (This has caught a
              lot of people out, including me)

              1904-01-01T00:47:35-07:00 means that it is 7 hours behind UTC, not
              that you need to take 7 hours off to get to UTC.
              the correct UTC version of 1904-01-01T00:47:35-07:00 is
              1904-01-01T07:47:35Z

              Cheers
              Simon
            • NAKAMURA, Hiroshi
              Hi, ... Doh! SOAP4R s TZ implementation was wrong. 1904-01-01T00:47:35Z-07:00 should be interpreted as 1904-01-01T07:47:35Z. This might be the reason why I
              Message 6 of 7 , Jul 3 10:32 PM
              • 0 Attachment
                Hi,

                > From: NAKAMURA, Hiroshi [mailto:nahi@...]
                > Sent: Wednesday, July 04, 2001 2:25 PM

                > Error message:
                > Error: It returned 1/1/1904; 12:47:35 AM, the correct result is 2/5/2040; 5:15:51 PM.
                >
                > Request:
                > <dat xsi:type="xsd:timeInstant">1904-01-01T00:47:35-07:00</dat>
                >
                > Response:
                > <ur-typeAry xsi:type="xsd:timeInstant">1903-12-31T17:47:35Z</ur-typeAry>
                >
                > TZ not supported?

                Doh!

                SOAP4R's TZ implementation was wrong. 1904-01-01T00:47:35Z-07:00
                should be interpreted as 1904-01-01T07:47:35Z. This might be
                the reason why I got error. Very sorry...

                // NaHi
              • NAKAMURA, Hiroshi
                Hi Simon, ... Thanks! I fixed my implementation. Do you know something about another float precision error? // NaHi
                Message 7 of 7 , Jul 3 10:58 PM
                • 0 Attachment
                  Hi Simon,

                  > From: Simon Fell [mailto:soap@...]
                  > Sent: Wednesday, July 04, 2001 2:31 PM

                  > >Request:
                  > > <dat xsi:type="xsd:timeInstant">1904-01-01T00:47:35-07:00</dat>
                  > >
                  > >Response:
                  > > <ur-typeAry xsi:type="xsd:timeInstant">1903-12-31T17:47:35Z</ur-typeAry>
                  > >
                  > >TZ not supported?
                  > >
                  >
                  > You applied the offset incorrectly to get to UTC (This has caught a
                  > lot of people out, including me)
                  >
                  > 1904-01-01T00:47:35-07:00 means that it is 7 hours behind UTC, not
                  > that you need to take 7 hours off to get to UTC.
                  > the correct UTC version of 1904-01-01T00:47:35-07:00 is
                  > 1904-01-01T07:47:35Z

                  Thanks! I fixed my implementation.

                  Do you know something about another float precision error?

                  // NaHi
                Your message has been successfully submitted and would be delivered to recipients shortly.