WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

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

 View Only
  • 1.  Web service application migration to WebSphare Liberty 19

    Posted Tue March 17, 2020 04:14 AM
    Edited by Omar Adel Tue March 17, 2020 04:20 AM
    ​Hello All,
    I have an issue in migrating a webservice application to WebSphere liberty version, the issue that the SOAP request fails due to the format of the soap message, the message is formatted in a different way on WebSphere liberty than it was in WAS 7, as you can see below the start tag in Liberty is SOAP-ENV however it was soapenv, also the name space url are differ ants, is there any way I can return to the old format, as this causing some problem on the target service provider ?
    Liberty Format
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
       
    xmlns:bus="http://bussinessfacade.fawryswitch.ebpp.fawryis.com/">
       
    <SOAP-ENV:Header />
       
    <SOAP-ENV:Body>
           
    <bus:processRequest>
               
    <arg0 xmlns="http://bussinessfacade.fawryswitch.ebpp.fawryis.com/">
                   
    <Request>
                   
    </Request>
               
    </arg0>
           
    </bus:processRequest>
       
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>



     







    WAS 7 Format
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
       
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
       
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bus="http://bussinessfacade.fawryswitch.ebpp.fawryis.com/">
       
    <soapenv:Header />
       
    <soapenv:Body>
           
    <bus:processRequest xmlns="">
               
    <arg0>
                   
    <Request>
                       
                   
    </Request>
               
    </arg0>
           
    </bus:processRequest>
       
    </soapenv:Body>
    </soapenv:Envelope>


    ------------------------------
    Omar Adel
    ------------------------------


  • 2.  RE: Web service application migration to WebSphare Liberty 19

    Posted Thu March 19, 2020 09:42 AM
    The namespace prefix of SOAP-ENV in Liberty, instead of the soapenv in WAS v7 should not cause any failure at the target service provider. The namespace prefixes in both Liberty and WAS 7 and referencing the same namespace, so the target Web service provider should not fail. If it is failing, then the issue is with the service provider.

    ------------------------------
    Syed Wadood
    ------------------------------