CAA WS Client reply only returning payload for SOAP message.

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf CAA WS Client reply only returning payload for SOAP message.

  • Creator
    Topic
  • #54535
    Elisha Gould
    Participant

      Hi,

      Is there a way to receive the full reply message when using SOAP?

      When I set the Service Mode to “Message”, I can send the full SOAP Envelope, however the reply is only returning the payload (body) portion of the message.

      Ie for the following error message, only the portion in the Body is returned, when I need the full message including the header:

      Code:


         
             
                 7aa86a43-8946-4924-b8c5-39456e00bd3e
                 2015-01-20T13:18:53
             

             http://example.com/SomeAction
             SOAPUI
             e735750d-4e59-43a2-4c68-97d43734ba36
             urn:uuid:d01debfe-5aaa-4db8-82df-30eb9c4614ed
         

         
             
                 SOAP-ENV:Client
                 Failed to load this message into the XML schema
                 
                     
                         badlyFormedMsg
                         Some Error
                     

                 

             

         

    Viewing 4 reply threads
    • Author
      Replies
      • #81871

        I have submitted a question to R&D about this. In the meantime, please try doing a “msgdump $mh” in your response script. I believe the entire soap envelope is included in the USERDATA metadata field. If so, you may be able to extract what you need from there.

        -- Max Drown (Infor)

      • #81872

        Here’s a proc you can use for testing.

        Code:

        proc dumpMsg { args } {
           keylget args MODE mode
           set dispList {}

           switch -exact — $mode {
               start {}

               run {
                   keylget args MSGID mh
                   keylget args CONTEXT context
                   echo DEBUG: dumpMsg: $contextnn
                   msgdump $mh
                   echo nn
                   lappend dispList “CONTINUE $mh”
               }

               time {}
               shutdown {}
           }

           return $dispList
        }

        -- Max Drown (Infor)

      • #81873

        From R&D,

        This is AR 11731.

        -- Max Drown (Infor)

      • #81874

        Here’s some more info from R&D,

        Switch to Raw client.

        -- Max Drown (Infor)

      • #81875
        Elisha Gould
        Participant

          Many thanks for your reply Max.

      Viewing 4 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.