SOAP Parameters missing in envelope

Tagged:
  • mgerber
        4 years ago #19263

        Hello,

        I’m trying to set up a SOAP connection, but the Parameters are not included in the soap envelope for the request.

        I created the Connector call with the Wizzard and added the option strict and endpoint to the call. I did also create a Paramter for the call (see attached Photo).

        A test on the WebService with SoapUI was successful.

        Can anybody tell me what went wrong?

         

         

         

        Attachments:
        You must be logged in to view attached files.
        mgerber
            4 years ago #19267
            Up
            0
            Down
            ::

            The Parametername in the Picture is not completley visible…

            The Name is /soap/SitrisDetailRequest/Root/MetaData/SourceSystemID

            I tried the name with and without the “/” on the first position

            Kahn
                Has successfully completed the online course Introduction
                Has successfully completed the online course Intermediate (200)
                Has successfully completed the online course Advanced (300)
              4 years ago #19268
              Up
              0
              Down
              ::

              Hello, have you tried to provide the MetaData completely? If each field is required you have to provide all fields.

              mgerber
                  4 years ago #19271
                  Up
                  0
                  Down
                  ::

                  I put in all Parameters, but the result does not change…

                  Attachments:
                  You must be logged in to view attached files.
                  Kahn
                      Has successfully completed the online course Introduction
                      Has successfully completed the online course Intermediate (200)
                      Has successfully completed the online course Advanced (300)
                    4 years ago #19274
                    Up
                    0
                    Down
                    ::

                    Try to add this parameter configuration/soap/sanitizeInput Boolean, true

                    This parameter will convert everything into optional structures and please tell me if the parameters are provided.

                    mgerber
                        4 years ago #19277
                        Up
                        0
                        Down
                        ::

                        The Problem is still the same…

                        Attachments:
                        You must be logged in to view attached files.
                        Kahn
                            Has successfully completed the online course Introduction
                            Has successfully completed the online course Intermediate (200)
                            Has successfully completed the online course Advanced (300)
                          4 years ago #19282
                          Up
                          0
                          Down
                          ::

                          OK here is a very last resort solution:

                          1. Define your XML Envelope as a String
                          2. Provide the XML Enveleope to the following parameter: soap
                          3. Remove all other soap/ parameters
                          4. Provide the parameter configuration/soap/soapMode: Direct

                          Now the envelope will be passed directly to the service.

                          mgerber
                              4 years ago #19285
                              Up
                              0
                              Down
                              ::

                              This solution works…

                              Kahn
                                  Has successfully completed the online course Introduction
                                  Has successfully completed the online course Intermediate (200)
                                  Has successfully completed the online course Advanced (300)
                                4 years ago #19286
                                Up
                                0
                                Down
                                ::

                                Could you provide us the WSDL file, so that we can investigate why the envelope is not created when the parameters are provided separately?

                                mgerber
                                    4 years ago #19287
                                    Up
                                    0
                                    Down
                                    ::

                                    Here it is…

                                    mgerber
                                        4 years ago #19573
                                        Up
                                        0
                                        Down
                                        ::

                                        Meanwhile the Connector is routed to the productive Version of SOAP endpoint, the Connector works with Parameters.

                                        The WSDL file of the devolopment endpoint was (or still is) wrong. Taking the Productive Connector and changing the endpoint by Parameter also works….

                                      Viewing 11 posts - 1 through 11 (of 11 total)

                                      You must be logged in to reply to this topic.