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.


#TechXchangePresenter
 View Only
  • 1.  Web Service connector error

    Posted Thu May 11, 2006 11:16 AM

    Error…what I am getting
    com.wm.app.b2b.server.ServiceException: java.lang.Exception: missing required parameter 'document
    Steps :
    Selected web service conn…then given "
    [URL=“http://localhost/HelloWS/?wsdl”][U][SIZE=2][COLOR=#0000ff]http://localhost/HelloWS/?wsdl[/u][/color][/size][/URL][SIZE=2]" [B]Finish
    When I tried to run…getting error…given above…

    Webservice
    Is simple helloworld…no input…output is “hello world”

    PLease help me …i am a new bee.

    pav
    [/B][/size]


    #webMethods
    #soa
    #API-Management


  • 2.  RE: Web Service connector error

    Posted Thu May 11, 2006 03:56 PM

    Pav,

    Can you post the WSDL as an attachment?

    Mark


    #API-Management
    #webMethods
    #soa


  • 3.  RE: Web Service connector error

    Posted Fri May 12, 2006 02:03 PM

    PLease find the wsdl as attachment,

    thanks in advance.
    pav
    Service.wsdl (2.75 KB)


    #webMethods
    #soa
    #API-Management


  • 4.  RE: Web Service connector error

    Posted Fri May 12, 2006 05:03 PM

    The WSDL specifies an input message with no content. I don’t think you can generate a web services connector from an operation defined in this way.

    You can however, create an XML string consisting of only an empty “” tag convert that to a node, add it to a soap message body and use soapHTTP to send it to your web service.

    If you want a simple web service that will work with the IS web servcie connector wizard, just modify your .Net service to accept a string as its input parameter. Regenerate you WSDL and then it should work.

    Mark


    #soa
    #API-Management
    #webMethods


  • 5.  RE: Web Service connector error

    Posted Mon May 15, 2006 06:23 AM

    Mark,

    Regenerated WSDL as suggested with one input string.Still i am getting the same problem.Debugged it…realized it giving the mentioned problem at documentToXMLString service.

    Any idea?? why its failing…can u suggest me some material to help myself.

    Thanks,
    Pav


    #API-Management
    #webMethods
    #soa


  • 6.  RE: Web Service connector error

    Posted Mon May 15, 2006 04:03 PM

    Pav,

    I think you should read this post and work through the attached example before continuing. I think this will help you better understand what you need to do.

    Mark


    #webMethods
    #soa
    #API-Management