webMethods

webMethods

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
Expand all | Collapse all

Cannot generate web service connector

  • 1.  Cannot generate web service connector

    Posted Mon June 28, 2004 09:30 PM

    I am not able to generate a web service connector, it throws a eexception.

    Can anybody help. I have pasted the entire web service. I am using webMethods 6.1

    <In-line WSDL file deleted by moderator>

    (Message edited by mcarlson on June 30, 2004)


    #webMethods
    #soa
    #API-Management


  • 2.  RE: Cannot generate web service connector

    Posted Mon June 28, 2004 11:46 PM


    Product.wsdl (7.6 k)

    I have uploaded the wsdl file


    #soa
    #webMethods
    #API-Management


  • 3.  RE: Cannot generate web service connector

    Posted Wed June 30, 2004 12:16 AM

    Hello newuser,
    what was the source of the wsdl?

    All the errors in generating the wsdl seems to be “unable to find the root element”.

    You can use a WSDL validator to find any problems you may have with the WSDL (eg. XMLSPY or WSVT from eclipse)

    If you are not able to get the correct version from the source or any validation tool, let us know.

    HTH.


    #soa
    #API-Management
    #webMethods


  • 4.  RE: Cannot generate web service connector

    Posted Wed June 30, 2004 12:47 AM

    I have noticed its not a valid wsdl since all the tags in the file should start and end with “wsdl” for example:
    -<wsdl:definitions>
    -</wsdl:definitions>

    • <wsdl:types>
    • </wsdl:types> etc…

    Please check with your source side people who have made this WSDL document exposed.

    HTH,


    #webMethods
    #API-Management
    #soa


  • 5.  RE: Cannot generate web service connector

    Posted Wed June 30, 2004 05:52 PM

    New user,

    It appears that you created your WSDL by viewing it your browser and copying the text directly from the browser. This included the hyphens used by the browser to format the view. Use the File-Save As command instead to make a copy of the WSDL on your file system.

    That copy should be able to be read by IS and other soap clients.

    Mark


    #webMethods
    #API-Management
    #soa


  • 6.  RE: Cannot generate web service connector

    Posted Wed June 30, 2004 06:32 PM

    hey RMG,
    not sure abt this… but is “wsdl” namespace ( wsdl: ) required/mandatory for WSDLs used by webMethods?

    let me know…

    Thanks

    • Saurabh.

    #webMethods
    #API-Management
    #soa


  • 7.  RE: Cannot generate web service connector

    Posted Wed June 30, 2004 07:24 PM

    yes “wsdl:” is required for all the elements like which i have mentioned above…
    may be the Mark comments applicable for this issue.

    Regards,


    #soa
    #webMethods
    #API-Management


  • 8.  RE: Cannot generate web service connector

    Posted Wed June 30, 2004 10:46 PM

    In our case we got the wsdl file prefix with “WSDL:” for some tags and this is not generated using Developer tool but its generated using some weblogic application tool.

    So it sounds “WSDL:” prefix is not mandatory for a valid WSDL,its new learn for me.

    Thanks,


    #webMethods
    #soa
    #API-Management


  • 9.  RE: Cannot generate web service connector

    Posted Wed June 30, 2004 11:20 PM

    And thats what makes wMUsers ROCK !! (among several others reasons)

    We learn new things in process of helping others.


    #webMethods
    #API-Management
    #soa