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

XSD Redefine---webMethods Integration Server does not support it!!!

  • 1.  XSD Redefine---webMethods Integration Server does not support it!!!

    Posted Wed February 28, 2007 11:56 AM

    Hi ,
    I am trying to create a webServcieConnector from Wsdl .My wsdl is importing an XSD which is inturn using redefines .I got the following error

    [ITD.0012.0012] Error occurred while creating Web Service Connector
    com.webMethods.caffeine.utils.FormattedException: com.wm.app.b2b.server.ServiceException: [ISC.0092.9104] Detected use of ‘redefine’ - webMethods Integration Server does not support it.

    Any thoughts ?


    #API-Management
    #soa
    #webMethods


  • 2.  RE: XSD Redefine---webMethods Integration Server does not support it!!!

    Posted Wed February 28, 2007 04:35 PM

    XML schema redefines and recursive (self-referencing) definitions are not supported. While use of these structures is allowable, they are extremely uncommon and not generally recommended for maximum interoperability.

    You can edit the schemas defined inline or imported into the WSDL to remove the use of the redefines.

    Also, if you have a example request message, you can simply create a doc type that allows you to create it and build your own soap message to be sent to the provider using pub.client:soapHTTP or pub.client:soapRPC.

    As written here more times than I can count, the Flow code generated by the web services connector wizard is only a starting point and should never be used past development without modifications for ease of maintenance and improved error handling.

    In other words, just because the wizard won’t write the code to consume your service, does not mean that you can’t do it yourself.

    Improved support for XML schema is slated for delivery in IS 7.1 due out this summer. Hopefully, the web services connector wizard will go away or be replaced by something much better at the same time.

    Mark


    #webMethods
    #API-Management
    #soa


  • 3.  RE: XSD Redefine---webMethods Integration Server does not support it!!!

    Posted Wed February 28, 2007 05:57 PM

    Thanks for your input Mark .

    I will merge my MasterXMLvocab element definitions with redefines one and create the webServiceConnector .

    Ramesh K Tadapaneni


    #API-Management
    #soa
    #webMethods


  • 4.  RE: XSD Redefine---webMethods Integration Server does not support it!!!

    Posted Wed February 28, 2007 10:38 PM

    Thanks for your response to Ramesh, as it also helped me. I was wondering how sacred the wizard’s generated code was. You cleared that up.


    #API-Management
    #soa
    #webMethods


  • 5.  RE: XSD Redefine---webMethods Integration Server does not support it!!!

    Posted Wed February 28, 2007 11:29 PM

    “Sacred”? It’s not even good. :slight_smile:


    #webMethods
    #soa
    #API-Management