Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-377

setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • current (nightly)
    • 1.6 Alpha
    • Server - Engine
    • None

    Description

      I figured out that there is a problem like this. If you set a attribute to the SOAP Method using this setSOAPMethodAttribute and if we define this attribute in a new namespace (as the following ex), the server side crashes.

      example code
      ----------

      InteropTestPortType ws(endpoint, APTHTTP1_1);

      ws.setSOAPMethodAttribute("myattrilocalname",
      "mattrpprfx", "http://myattr.com", "myattrival");

      The out put from the client is
      -----------------------
      ....
      .......
      <SOAP-ENV:Body>
      <ns1:echoString xmlns:ns1="http://soapinterop.org/"
      mattrpprfx:myattrilocalname="myattrival">
      <inputString xsi:type="xsd:string">hello world</inputString>
      </ns1:echoString>
      ...
      .......

      The server crashes, because the namespace is not declared.

      Attachments

        Activity

          People

            roshan W.M. Roshan Weerasuriya
            roshan W.M. Roshan Weerasuriya
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: