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.

 View Only
  • 1.  Name collision errors in 7.1

    Posted Fri May 18, 2012 09:06 PM

    Hello,

    I’m rather new to webMethods, so forgive if this is an easy question. I was tasked with updating a schema and WSDL then testing out the services to ensure they all still functioned with the new documents. I deleted and re-imported the schemas fine.

    I deleted the old WSDL document from the package and when I tried to reimport it I am getting these errors in the Server Log on the integration server:

    [TABLE=“width: 2112”]
    [TR]
    [TD][2973]2012-05-18 14:02:33 GMT-05:00 [ISC.0082.9998E] Exception : com.wm.lang.schema.TNSException: [ISC.0081.9017] Name collision (s) at Z.ILA_.docTypes:schema_ILA
    [/TD]
    [/TR]
    [TR]
    [TD][2972]2012-05-18 14:01:29 GMT-05:00 [ISC.0082.0001I] Type : ncName = AddressType; contentType = COMPLEX; internalType = instance; simpleType = [null]; attributes = ; model = [minOccurs = 1; maxOccurs = 1; symbol = [$$SEQUENCE#null]; modelType = sequence models = [minOccurs = 1; maxOccurs = 1; symbol = [AddressLine1#http://xmlns.usbank.com/msg/ILARequest]; modelType = simple, minOccurs = 0; maxOccurs = 1; symbol = [AddressLine2#http://xmlns.usbank.com/msg/ILARequest]; modelType = simple, minOccurs = 1; maxOccurs = 1; symbol = [City#http://xmlns.usbank.com/msg/ILARequest]; modelType = simple, minOccurs = 1; maxOccurs = 1; symbol = [State#http://xmlns.usbank.com/msg/ILARequest]; modelType = simple, minOccurs = 1; maxOccurs = 1; symbol = [ZipCode#http://xmlns.usbank.com/msg/ILARequest]; modelType = simple]]; elements = [; targetName = [AddressLine1#http://xmlns.usbank.com/msg/ILARequest], ; targetName = [AddressLine2#http://xmlns.usbank.com/msg/ILARequest], ; targetName = [City#http://xmlns.usbank.com/msg/ILARequest], ; targetName = [State#http://xmlns.usbank.com/msg/ILARequest], ; targetName = [ZipCode#http://xmlns.usbank.com/msg/ILARequest]] exists in schema Z.ILA_.docTypes:schema_ILA_3. Set Z.ILA_.docTypes:schema_ILA_3 as owner schema.
    [/TD]
    [/TR]
    [TR]
    [TD][2971]2012-05-18 14:01:29 GMT-05:00 [ISC.0082.9999E] >>> cr TypeExp.addType EXCEPTION tns= [url]http://xmlns.usbank.com/msg/ILARequest[/url] type = AddressType
    [/TD]
    [/TR]
    [TR]
    [TD][2970]2012-05-18 14:01:29 GMT-05:00 [ISC.0082.9998E] Exception : com.wm.lang.schema.TNSException: [ISC.0081.9017] Name collision (s) at Z.ILA_.docTypes:schema_ILA_3
    [/TD]
    [/TR]
    [TR]
    [TD][2969]2012-05-18 14:01:29 GMT-05:00 [ISC.0082.0001I] Type : ncName = RateInfoType; contentType = COMPLEX; internalType = instance; simpleType = [null]; attributes = ; model = [minOccurs = 1; maxOccurs = 1; symbol = [$$SEQUENCE#null]; modelType = sequence models = [minOccurs = 1; maxOccurs = 1; symbol = [RateType#http://xmlns.usbank.com/msg/ILAResponse]; modelType = simple, minOccurs = 1; maxOccurs = 1; symbol = [Margin#http://xmlns.usbank.com/msg/ILAResponse]; modelType = simple, minOccurs = 1; maxOccurs = 1; symbol = [APR#http://xmlns.usbank.com/msg/ILAResponse]; modelType = simple, minOccurs = 1; maxOccurs = 1; symbol = [DPR#http://xmlns.usbank.com/msg/ILAResponse]; modelType = simple]]; elements = [; targetName = [RateType#http://xmlns.usbank.com/msg/ILAResponse], ; targetName = [Margin#http://xmlns.usbank.com/msg/ILAResponse], ; targetName = [APR#http://xmlns.usbank.com/msg/ILAResponse], ; targetName = [DPR#http://xmlns.usbank.com/msg/ILAResponse]] exists in schema Z.ILA_.docTypes:schema_ILA. Set Z.ILA_.docTypes:schema_ILA as owner schema.
    [/TD]
    [/TR]
    [TR]
    [TD][2968]2012-05-18 14:01:29 GMT-05:00 [ISC.0082.9999E] >>> cr TypeExp.addType EXCEPTION tns= [url]http://xmlns.usbank.com/msg/ILAResponse[/url] type = RateInfoType
    [/TD]
    [/TR]
    [TR]
    [TD][2967]2012-05-18 14:01:29 GMT-05:00 [ISC.0082.9998E] Exception : com.wm.lang.schema.TNSException: [ISC.0081.9017] Name collision (s) at Z.ILA_.docTypes:schema_ILA
    [/TD]
    [/TR]
    [TR]
    [TD][2966]2012-05-18 14:01:29 GMT-05:00 [ISC.0082.0001I] Type : ncName = IntroType; contentType = COMPLEX; internalType = instance; simpleType = [null]; attributes = ; model = [minOccurs = 1; maxOccurs = 1; symbol = [$$SEQUENCE#null]; modelType = sequence models = [minOccurs = 1; maxOccurs = 1; symbol = [APR#http://xmlns.usbank.com/msg/ILAResponse]; modelType = simple, minOccurs = 1; maxOccurs = 1; symbol = [DPR#http://xmlns.usbank.com/msg/ILAResponse]; modelType = simple, minOccurs = 1; maxOccurs = 1; symbol = [Duration#http://xmlns.usbank.com/msg/ILAResponse]; modelType = simple]]; elements = [; targetName = [APR#http://xmlns.usbank.com/msg/ILAResponse], ; targetName = [DPR#http://xmlns.usbank.com/msg/ILAResponse], ; targetName = [Duration#http://xmlns.usbank.com/msg/ILAResponse]] exists in schema Z.ILA_.docTypes:schema_ILA. Set Z.ILA_.docTypes:schema_ILA as owner schema.
    [/TD]
    [/TR]
    [TR]
    [TD][2965]2012-05-18 14:01:29 GMT-05:00 [ISC.0082.9999E] >>> cr TypeExp.addType EXCEPTION tns= [url]http://xmlns.usbank.com/msg/ILAResponse[/url] type = IntroType
    [/TD]
    [/TR]
    [TR]
    [TD][2964]2012-05-18 14:01:29 GMT-05:00 [ISC.0082.9998E] Exception : com.wm.lang.schema.TNSException: [ISC.0081.9017] Name collision (s) at Z.ILA_.docTypes:schema_ILA
    [/TD]
    [/TR]
    [/TABLE]

    Does anyone have any advice on how I can start trying to debug the problem? I understand it is a name collision, am just not sure where the duplicate names exist and how to correct this issue. The WSDL is from a third party, so I don’t think I can correct theirs.

    Just a note, we do have names like the ones mentioned in our common schemas, but I am not sure how that would cause a problem since these should be in a different namespace.

    Any advice or direction is thoroughly appreciated. Thank you.


    #soa
    #webMethods
    #API-Management


  • 2.  RE: Name collision errors in 7.1

    Posted Sun May 20, 2012 04:22 AM

    Jen,

    When your import a WSDL, the wizard creates IS schemas from the schemas referenced by the WSDL. You will need to find those and delete them before importing the updated WSDL.

    Mark


    #API-Management
    #soa
    #webMethods


  • 3.  RE: Name collision errors in 7.1

    Posted Wed May 23, 2012 02:53 PM

    Thanks for the reply. A teammate showed me that this wsdl existed in another folder in our webMethods development environment. Once that was deleted this error also disappeared. So if other people get this issue in the future, I encourage them to do a search for the wsdl name and see if it exists elsewhere on the server.


    #soa
    #webMethods
    #API-Management