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

Not able to create document in designer : XSD error - unable to locate root element

  • 1.  Not able to create document in designer : XSD error - unable to locate root element

    Posted Wed September 16, 2015 05:34 AM

    Hi All,

    I am getting an error while validating a XSD which is again referring multiple xsds. All the required XSDs are in place. The same XSD shows valid when I check through XMLSPY. But it throws an error while creating the document in designer.

    Error " unable to locate the root element".

    Please help!
    XSDError.PNG


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


  • 2.  RE: Not able to create document in designer : XSD error - unable to locate root element

    Posted Wed September 16, 2015 08:08 AM

    Hi Mitali

    are you trying to load the XSD from your local workstation?

    If so, try to place the XSDs on your IS box and load the XSD via HTTP-URL.

    Designer is trying to load the referenced XSDs on the remote server.

    Regards,
    Holger


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


  • 3.  RE: Not able to create document in designer : XSD error - unable to locate root element

    Posted Wed September 16, 2015 09:47 AM

    Hi Holger,

    My xsds are in IS Box. Sorry I am not clear, how to load XSD via HTTP-URL?

    We have Windows OS. All the reference xsd files are in the same system.

    Thanks.


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


  • 4.  RE: Not able to create document in designer : XSD error - unable to locate root element

    Posted Wed September 16, 2015 03:07 PM

    Hi Mitali,

    do you have an IIS running on this Windows box?

    If not you can try to install an Apache Tomcat server.

    Place the xsds in the WEBROOT maintaining the directory structure needed to find the referenced xsds.

    Then import th xsd via URL http://hostname:port/.

    We had to do so on our solaris system as otherwise the wsdls were not retrieving the referenced xsds and fail to load.

    Regards,
    Holger


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


  • 5.  RE: Not able to create document in designer : XSD error - unable to locate root element

    Posted Wed September 16, 2015 03:37 PM

    IS is running on Windows. So can I try anything else to see where the issue is?


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


  • 6.  RE: Not able to create document in designer : XSD error - unable to locate root element

    Posted Wed September 16, 2015 03:59 PM

    Holger, even xsd exist in our local, we can import it to IS server and use it. Can’t we ?

    Thanks,


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


  • 7.  RE: Not able to create document in designer : XSD error - unable to locate root element

    Posted Wed September 16, 2015 04:06 PM

    If its ok for you, can you share the all the XSD;s here so that I can try from my end.


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


  • 8.  RE: Not able to create document in designer : XSD error - unable to locate root element

    Posted Thu September 17, 2015 08:17 AM

    Hi,

    when all components (Designer, IS, …) are on the same box, yes.

    But when IS is running on a different box than the Designer, there might be some issues whne trying load the referenced xsds.

    At least in earlier version Developer/Designer loaded the main xsd from local disk and then tried to find the referenced on the remote box where IS is running.

    The solution for this case is to put all the xsds in a webserver on the IS box and refer this URL when importing.

    Regards,
    Holger


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


  • 9.  RE: Not able to create document in designer : XSD error - unable to locate root element

    Posted Thu September 17, 2015 10:42 AM

    Thanks Holger and Mahesh.

    I did put the xsds now in one system where I have all the components together.Still the same issue. However I need to try the other option of loading the xsds on webserver and for I need to reach infra team. Let me check that out.


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


  • 10.  RE: Not able to create document in designer : XSD error - unable to locate root element

    Posted Thu September 17, 2015 11:13 AM

    For confidentiality purpose, i will not be able to post the XSDs here.


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