IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

IBM Security Verify Directory Integrator 10.0.2 (Java17) - AXIS2WSClientFC create invalid SOAP Request without Envelope definition

  • 1.  IBM Security Verify Directory Integrator 10.0.2 (Java17) - AXIS2WSClientFC create invalid SOAP Request without Envelope definition

    Posted Thu August 08, 2024 03:33 AM

    Hello,

    I did upgrade my IBM SDI 7.2 to newer version (ISVDI 10.0.2). After upgrade my ALs for communication with ISVG Identity Manager WS API stopped working.

    After debugging I realize the SOAP Request created by ISVDI component (Axis2WSClientFC) via XMLStreamWriter create invalid SOAP request without Envelop schema definition.

    Do you have any suggestions how to solved this issue?

    Thank you

    For example request to obtain ws session: 

    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope>
    <soapenv:Header></soapenv:Header>
    <soapenv:Body>
    <nssPluY:login>
    <ser:principal>itim manager</ser:principal>
    <ser:credential>XXXXXXXXXX</ser:credential>
    </nssPluY:login>
    </soapenv:Body>
    </soapenv:Envelope>

    and before execute Hook definition of this component: 

    var elmLogin = work.createElementNS("http://services.ws.itim.ibm.com", "login");
    var elmPrincipal = work.createElementNS("http://services.ws.itim.ibm.com", "principal");
    elmPrincipal.appendChild(work.createTextNode("itim manager"));
    var elmCredential = work.createElementNS("http://services.ws.itim.ibm.com", "credential");
    elmCredential.appendChild(work.createTextNode(system.getTDIProperty("XXXXXXXXXX")));

    elmLogin.appendChild(elmPrincipal);
    elmLogin.appendChild(elmCredential);

    work.appendChild(elmLogin);



    ------------------------------
    Jakub Nejdl
    ------------------------------


  • 2.  RE: IBM Security Verify Directory Integrator 10.0.2 (Java17) - AXIS2WSClientFC create invalid SOAP Request without Envelope definition

    Posted Thu August 08, 2024 04:40 AM

    Please raise a support case to get the AXIS related problem fixed.

    You can work around the problem by adding the Envelope manually - I never the the AXIS FC as there are almost always problems when doing something advanced - I just create an Entry and use the "dot syntax" (see the APIdoc) and then converts that to XML - that way I can fully control content and namespaces...

    HTH



    ------------------------------
    Franz Wolfhagen
    WW IAM Solution Engineer - Certified Consulting IT Specialist
    IBM Security Expert Labs
    ------------------------------



  • 3.  RE: IBM Security Verify Directory Integrator 10.0.2 (Java17) - AXIS2WSClientFC create invalid SOAP Request without Envelope definition

    Posted Thu August 08, 2024 06:42 AM

    Thank you for your response. 

    Issue is solved by this LA0030 fixpack.

    https://www.ibm.com/support/pages/node/7160594

    My fault.



    ------------------------------
    Jakub Nejdl
    ------------------------------