Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-21580

Webservice request with multiple parameters. Wrong SOAP XML body

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK 4.1 (Release)
    • None
    • RPC: WebService
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows 7
      Browser: Other (specify version)
      Language Found: English

    Description

      Steps to reproduce:
      1. Generate SOAP webservice with method that needs more than 2 parameters
      2. Import the by the Data/Services tab
      3. Call the method
      4. The params are encoded all the the first value

      Example:
      [service].getTestMethod(param1, param2);

      Actual Results:
      <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SOAP-ENV:Body>
      <q1_:GetContractsIn xmlns:q1_="http://schemas.invenso.com/TimeTracker/GetContractsIn">
      <q1_:Database>
      param1
      </q1_:Database>
      <q1_:KlantId>
      param1
      </q1_:KlantId>
      </q1_:GetContractsIn>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>

      Expected Results:
      <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SOAP-ENV:Body>
      <q1_:GetContractsIn xmlns:q1_="http://schemas.invenso.com/TimeTracker/GetContractsIn">
      <q1_:Database>
      param1
      </q1_:Database>
      <q1_:KlantId>
      param2
      </q1_:KlantId>
      </q1_:GetContractsIn>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>

      Notice the value of tag <q1_:KlantId>

      Workaround (if any):
      Not found yet

      Brower: Google Chrome

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: