An engineer is creating a WSDL 1.1 document, and is having difficulty with the wsdl:messages section.
Which two statements are true about wsdl:messages in a WSDL 1.1 document? (Choose two.)
A.
Both type and element attributes can be used on the same wsdl:part.
B.
Both type and element attributes can be used on the same wsdl:binding.
C.
The type and element attributes cannot be used on the same wsdl:part.
D.
The type and element attributes cannot be used on the same wsdl:binding.
E.
Document-style messaging allows the type attribute.
F.
Document-style messaging allows the element attribute.
Use either the element or the type attribute, never both.
element inside a may declare a type attribute or an element attribute.
• When the is to be used with an RPC web service, use the type attribute.
• When the is to be used with a document style web service, use the element
attribute.
https://www.w3.org/TR/wsdl
Message Parts :
part name=”composite” type=”tns:Composite”
Example 2. Alternative authoring style for the service in Example 1 :
part name=”body” element=”xsd1:TradePriceRequest”