Originally posted by Dhiren Joshi:
I have some clarification confusion on interpretting some basic profile statements .
4. A document-literal binding in a DESCRIPTION MUST, in each of its soapbind:body element(s), have at most one part listed in the parts attribute, if the parts attribute is specified.
Originally posted by Dhiren Joshi:
I have some clarification confusion on interpretting some basic profile statements .
1.
The media type of a MESSAGE's envelope MUST indicate the correct character encoding, using the charset parameter.
Where is the media type defined in a MESSAGE envelope. ?
2.A DESCRIPTION containing WSDL extensions MUST NOT use them to contradict other requirements of the Profile.
What are WSDL extensions ?
3.The target namespace for WSDL definitions and the target namespace for schema definitions in a DESCRIPTION MAY be the same
Can some one show me an example for number "3".
4. A document-literal binding in a DESCRIPTION MUST, in each of its soapbind:body element(s), have at most one part listed in the parts attribute, if the parts attribute is specified.
What is the parts attribute .. Is it referring to part in the message element ?
I didnt see any parts attribute in RMH .. .
5.A wsdl:binding in a DESCRIPTION MUST use the attribute named part with a schema type of "NMTOKEN" on all contained soapbind:header and soapbind:headerfault elements.
6. A wsdl:binding in a DESCRIPTION MUST NOT use the attribute named parts on contained soapbind:header and soapbind:headerfault elements.
The query I have is parts attr not to be used yet it is defined in soapbind:body element containing soapbind:header
CORRECT:
<binding name="StockQuoteSoap" type="tns:StockQuotePortType">
<soapbind:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="SubscribeToQuotes">
<input message="tns:SubscribeToQuotes">
<soapbind:body parts="body" use="literal"/>
<soapbind:header message="tns:SubscribeToQuotes"
part="subscribeheader" use="literal"/>
</input>
</operation>
</binding>
7 .A DESCRIPTION MAY use any construct from XML Schema 1.0.
When it states a description may use any construct .. does it mean any elements from the XML Scheme can be used to represent any element in the definition.
It means that any valid W3C XML Schema type, be it a simple type or a complex type, can be used in a WSDL document. That means all the built-in simple types and any custom types that you or someone else defines.
Thanks
Dhiren