What happens when you have different schemas in WSDL under wsdl:types with same Target Namespace.

What happens when you have different schemas in WSDL under wsdl:types with same Target Namespace.

book

Article ID: KB0091841

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Only elements in the schema,which is physically placed at the end(inside &ltwsdl:types>), are recognised.

And if you use the elements in other schemas which are placed before the last one(with same targetnamespace), you will get error like:

Error: Unresolved reference to element "{http://www.TicketManagementSchema.com/TicketManagement.wsdl}updateTicket".


Workaround:

Combine all the schemas in one schema and use the common TNS as the TNS.

Issue/Introduction

What happens when you have different schemas in WSDL under wsdl:types with same Target Namespace.