Decision Management (ODM,ADS)

 View Only
Expand all | Collapse all

Wrong SOAP response serialization

  • 1.  Wrong SOAP response serialization

    Posted Wed November 30, 2022 09:25 AM


    Hope you're doing well.


    I'm having a problem with a RuleService when serialization of the SOAP response.

    The operation in the rule contains two INPUT/OUTPUT which are complex objects.


    When generating a request using SoapUi, the input SOAP message is fine.

    But when the response is received the parameters serialization occurs using the name of the parameter with out any reference to resolve the class.


    See this SOAP request fragment:


    <soapenv:Envelope xmlns:soapenv=""



















                   <!--Zero or more repetitions:-->



    This is the first parameter:


    And this is the class name/type for the parameter



    linked to pa:xlmns


    This is the second parameter:


    And this is the class/type name for the parameter

                <pa: Referencias >



    After sending the request, the rule is executed fine, but the response comes this way:



             <calificacion xmlns="">

                <calificacion xmlns="" xmlns:ns1="">


                   <calificacion>REFERENCIAS EXCELENTES</calificacion>




             <referencias xmlns="">

                <referencias xmlns="" xmlns:ns2="">


    Please notice that the element is replaced with the name of the parameter, instead of the class/type name

    And the xmlns= references just the namespace, so the client is not able to resolve



                <calificacion xmlns="" xmlns:ns1="">



                <CalificacionApc xmlns="" xmlns:ns1="">



                <referencias xmlns="" xmlns:ns2="">


                <Referencias xmlns="" xmlns:ns2="">



    To complicate a little more, the cliente yis a legacy application and changing the involved times could be very expensive and time consuming.



    All of this happened when migrated from ODM v8.7 to ODM v8.11



    Please, any help is really appreciated!



    Best regards!


  • 2.  RE: Wrong SOAP response serialization

    Posted Thu December 01, 2022 11:09 AM
    By the way, the "Legacy System" referred to is a collection of Tool Kits from IBM BPM/BAW.

    Salvador Cadena Roa