How to define Mixing type and Element attributes for the WSDL message parts.

How to define Mixing type and Element attributes for the WSDL message parts.

book

Article ID: KB0094609

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
=========
1). Open the attached (Filename: sampleForCase) project.
2). Look at the Message in the WSDL.You will find that it has a Type part and an Element part.
3). Validate the project. You will see the error, "Configuration Error. All Parts must be defined using either "type" or "element'".

Environment:
===========
All

Cause:
=====
Mixing type and element attributes for the message parts is not permitted in BW.

Resolution:
==========
1). Delete the element from Message and define it under a complexType in an XSD and then in a Message resource. Create a Type part which references the complexType.

Or

2). Delete the type from Message and define an element with swaRef type in an XSD and then in Message resource. Create an Element part which references the element. Attached is a sample project (Filename: SWA.zip) for reference.

Issue/Introduction

How to define Mixing type and Element attributes for the WSDL message parts.

Attachments

How to define Mixing type and Element attributes for the WSDL message parts. get_app
How to define Mixing type and Element attributes for the WSDL message parts. get_app