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.

 View Only
  • 1.  SoapClient replacing xml tags

    Posted Tue April 21, 2015 07:09 AM

    Hello

    Did you already encounter this problem ? :
    I have configured a consumer webservice based on a wsdl
    It should receive 3 parameters :

    • Token
    • Type
    • XML

    My customer receive well Token and Type information but not the XML one.
    When I check what is geenrated by webMethods, I can see the problem :

    <tns:SendXML xmlns:tns=“http://tempuri.org/”>
    tns:Token83649fe8-cd90-4ce7-aebb-e9376fbedd9e</tns:Token>
    tns:TypeetOrder</tns:Type>
    tns:[b][color=red]_x0058_[/color][/b]ML

    webMethods replaced the tns:XML tag by tns:_x0058_ML !!

    I am lost : I don’t know how to correct this.

    Thanks for your help


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 2.  RE: SoapClient replacing xml tags

    Posted Tue April 21, 2015 10:54 AM

    I see x0058 is a Hexadecimal character. Provide more details here, are you a provider/consumer?


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 3.  RE: SoapClient replacing xml tags

    Posted Tue April 21, 2015 10:59 AM

    Check with your provider web service. What is your wM version and IS fix levels.


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 4.  RE: SoapClient replacing xml tags

    Posted Tue April 21, 2015 12:34 PM

    Probably the tag should not be named xml as this is a reserved tag for the header of any xml-type content:

    <?xml version="1.0" encoding="UTF-8"> That might be the reason why the X got encoded to it hexadecimal representation. Can you try to rename the tag to i.e. XMLContent? Regards, Holger
    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 5.  RE: SoapClient replacing xml tags

    Posted Tue April 21, 2015 12:37 PM

    I am not sure for the reserved XML tag as I can validate the filestructure in XML SPY.

    Anyway, I used a workaround : I used a simple http client to post the soap enveloppe.
    But this error is really strange…


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: SoapClient replacing xml tags

    Posted Thu July 02, 2015 05:35 AM

    Even i faced same issue. i changed the name and it worked
    as Holger suggested its may be happening because xml is reserve word.


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 7.  RE: SoapClient replacing xml tags

    Posted Thu July 02, 2015 11:45 AM

    Had this issue with 6.5 version of WM years ago. WM will just encode the X or x if you use xml/XML as one of the field name.
    Since 6.5 is out of support, better migrate.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods