Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6471

Corrupted Soap:envelope in client call

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.8, 2.7.15
    • None
    • Soap Binding
    • Talend ESB 5.5.2; Talend ESB 5.6.2.

    • Unknown

    Description

      I'm using a generated by CXF's wsdl2java maven plugin Remedy AR web service client.
      After updating ESB from 5.1.1 to 5.5.2 and then to 5.6.2 Soap call from Talend ESB became corrupted.

      This is the call from 5.1.x (w. CXF 2.6.15 - 2.7.7):
      Encoding: UTF-8
      Content-Type: text/xml
      Headers:

      {Accept=[*/*], SOAPAction=["urn:IT_Helpdesk/Create"]}

      Payload:
      <soap:Envelope xmlns:soap=""><soap:Header><AuthenticationInfo xmlns="urn:IT_Helpdesk"><userName>user</userName><password>xxxx</password></AuthenticationInfo></soap:Header><soap:Body><Create xmlns="urn:IT_Helpdesk"><Technical_Group_ID>000000000000078</Technical_Group_ID><Technical_Specialist_ID>000000000002162</Technical_Specialist_ID><Curator_ID>000000000002162</Curator_ID><Request_Kind>Инцидент</Request_Kind><Short_Description>test</Short_Description><MatrixSelect>000000000000512</MatrixSelect><Priority>04</Priority><TT_Status>New</TT_Status><Request_Type>WEB</Request_Type><Requestor>Peryshkin Sergey</Requestor><Contact_Phone>4432</Contact_Phone><Technical_Group>IT Helpdesk</Technical_Group><Technical_Specoalist>support</Technical_Specoalist><Curator>support</Curator><Short_Note>test</Short_Note><Note_Preview>test</Note_Preview><Email_Autor_value>sergey.peryshkin@orange.com</Email_Autor_value><Email_Autor>0</Email_Autor><Email_Curator_value>rus.support@orange.com</Email_Curator_value><Email_Curator>0</Email_Curator><Email_Tech_value>rus.support@orange.com</Email_Tech_value><Email_Tech>0</Email_Tech><Email_Auto_ON>0</Email_Auto_ON><vip></vip></Create></soap:Body></soap:Envelope>

      Here is what I get under 5.5.2/5.6.2 (CXF 2.7.11, 2.7.15, ...):
      Encoding: UTF-8
      Http-Method: POST
      Content-Type: text/xml
      Headers:

      {Accept=[*/*], SOAPAction=["urn:IT_Helpdesk/Create"]}

      Payload:
      <soap:Envelope xmlns:soap=""><soap:Body><Create xmlns="urn:IT_Helpdesk" xmlns:xsi="" xsi:type="AuthenticationInfo"><userName>user</userName><password>xxxx</password></Create></soap:Body></soap:Envelope>

      Soap:header becomes mixed with Soap:body somehow, with "AuthenticationInfo" header being pasted into operation part...

      I'm tested in in a clean command line call, without any dependencies except CXF, and discovered that anything's fine with 2.6.0 - 2.7.7.
      And payload is corrupted with 2.7.8 - 2.7.16.

      Attachments

        Activity

          People

            Unassigned Unassigned
            peryshkin Sergey Peryshkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: