What is the default value of the "style" attribute of the <soap:binding> element in case explicitly its not specified?
a) remote
b) document
c) rpc
d) literal
e) encoded
I was more confused to answer to this question because in wsdl we always specify style attribute.
In whizlab answer they said its b) document.
I hope its wrong. because according to soap schema style is optional but there is no default value. Following is the declaration from soap xsd.
<xs:complexType name="tBinding">
- <xs:complexContent>
- <xs:extension base="wsdl:tExtensibilityElement">
<xs:attribute name="transport" type="xs:anyURI" use="required" />
<xs:attribute name="style" type="soap:tStyleChoice" use="optional" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
And according to wsdl schema binding style is must required attribute.
Please give your thoughts if I am wrong.
Is it a buggy question or not?