We get the following error in the console window when we select multiple processes for service generation: Attribute "pfx0" bound to namespace "http://www.w3.org/2000/xmlns/" was already specified for element "definitions"

We get the following error in the console window when we select multiple processes for service generation: Attribute "pfx0" bound to namespace "http://www.w3.org/2000/xmlns/" was already specified for element "definitions"

book

Article ID: KB0091705

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
The problem is because that there are different schema files for each process definition, and in each schema file, there are definition xmlns:xs="http://www.w3.org/2001/XMLSchema". When trying  to add all the processes to generate one web service, there will be multiple attribute definitions of xmlns:(prefix_name)="http://www.w3.org/2001/XMLSchema" in the concrete WSDL, which is incorrect according to XML specification.

Solution:
Combine all the schema into a single schema, then using the wizard to generate the service. Or,

Create and config the service manually if do not want to change the scehma.

Issue/Introduction

We get the following error in the console window when we select multiple processes for service generation: Attribute "pfx0" bound to namespace "http://www.w3.org/2000/xmlns/" was already specified for element "definitions"