IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Need to remove the soap header prefix

    Posted 06/07/10 01:22 PM

    Using handlers I have added soap header to the soap request. But “tns:” prefix is added to it automatically and the header looks like :

    tns:BasicSecurityToken
    xxxxxxxxxxxxxxx
    yyyyyyyyyyyyy
    3333333333333
    </tns:BasicSecurityToken>

    And Is is required stricly to have header as :


    xxxxxxxxxxxxxxx
    yyyyyyyyyyyyy
    3333333333333


    In short “tns:” prefix infront of BasicSecurityToken has to be removed. Please help on this regard.


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Need to remove the soap header prefix

    Posted 06/07/10 11:20 PM

    Did you try replace service after adding header entry to the soapData?

    tns:BasicSecurityToken

    replace with BasicSecurityToken

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Need to remove the soap header prefix

    Posted 06/08/10 11:12 AM

    I already explained that I have used handlers to add the header so it is obvious that headers are represented in the form of document. Is there any point in using replace service with documents?

    Moreover, for the soapClient service the soapHeaders document appears in the pipeline only when the header document is prefixed. Is it a bug in webmethod?

    Also if values can be set in soapHeaders then why only key-value pair? Can’t I set the value of my header :

    xxxxxxxxxxxxxxx
    yyyyyyyyyyyyy
    3333333333333

    Why do I need to register the handleRequest service? When exactly it gets called in the soapClient service invocation process? What all possible things I can do inside it?


    #webMethods
    #Integration-Server-and-ESB