When WSDL message part details is of Special Type with attachment, validate resource on WSDL throws this error:Syntactic error in data: /definitions[1]/import[1]: [{com.tibco.xml.validation}COMPLEX_E_MISSING_ATTRIBUTE]: attribute "l
book
Article ID: KB0084228
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
5.x
Description
When WSDL message part details is of Special Type with attachment, validate resource on WSDL throws this error: Syntactic error in data: /definitions[1]/import[1]: [{com.tibco.xml.validation}COMPLEX_E_MISSING_ATTRIBUTE]: attribute "location" is required.
Issue/Introduction
When WSDL message part details is of Special Type with attachment, validate resource on WSDL throws this error:Syntactic error in data: /definitions[1]/import[1]: [{com.tibco.xml.validation}COMPLEX_E_MISSING_ATTRIBUTE]: attribute "location" is required.
Environment
TIBCO ActiveMatrix BusinessWorks 5.x
Resolution
This is identified as a design time defect. Design time validator does not seem to find the intrinsic schemas for the namespce "http://ws-i.org/profiles/basic/1.1/xsd". This namespace import is generated when you use Special type message and it does not add the location. But when using the WSDL with SOAP activities it seems to run fine.
As this is a design time issue, you can go ahead and use the WSDL with soap activities and it will notcause runtime issues.