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.  Webservice exception

    Posted 01/10/13 06:37 AM

    Happy new year to everyone!

    I got a SOAP exception while calling a webservice from IS. I have generated a stup using the mobile jdk (wscompile.exe) and all went well. When I call the service I get:

    javax.xml.rpc.JAXRPCException

    Element {}name not found in org.kxml2.kdom.Element@87afebf

    WSDL: [url=‘http://10.20.122.129:5555/ws/dbTaskdataSupport.ws:getTrasseVeroeffentlichen?WSDL’] http://10.20.122.129:5555/ws/dbTaskdataSupport.ws:getTrasseVeroeffentlichen?WSDL[/url]

    Any idea?

    Thanks

    Marco

    Marco Stoffel


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


  • 2.  RE: Webservice exception

    Posted 01/10/13 09:42 AM

    Hi Marco

    After testing a bit the service, I got to the following:

    •   The output document contains a number of non-required child documents/fields
      
    •   If the response does not contain one of those non-required fields, then it will not be correctly interpreted and the exception is thrown.
      

    A workaround is filling those fields with “empty string”. Seems that the only important thing is that the elements are present in the SOAP response.

    I suppose this is a bug somewhere (not necessarily in the WMMD code), cause those fields are defined as not required.

    Hope this helps,

    Javier


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