Loading ...
Sorry, an error occurred while loading the content.

Re: [soapbuilders] are method wrapper accessors qualified or not?

Expand Messages
  • Mirek Simek
    Hello Clement, ... I understand the WSDL spec (chapter 3.5) in the following way: The qualification of part accessors depends on the use attribute of
    Message 1 of 2 , May 29, 2001
    • 0 Attachment
      Hello Clement,
      Does anybody know if the part accessors underneath the method wrapper
      are qualified or unqualified?
      I understand the WSDL spec (chapter 3.5) in the following way:

      The qualification of part accessors depends on the use attribute
      of soap:body. If it's value is literal, then the parts must follow
      literally their xml schema. This means that they are qualified
      if their schema defines a namespace for them.

      However, if the value of the use attribute is encoded, the message
      is created as a mixture of data, abstract schema, encoding, ...
      into the message. In this case the message might not follow
      the schema at all and nothing can be said about qualification
      of part accessors.

      hope this helps
                          mirek

       
      The example in section A.2 of the WSDL spec seems to suggest
      the accessor is qualified, whereas the example 1 in the SOAP spec
      seems to suggest the accessor is unqualified.

      WSDL spec:
          <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
              <soapenv:Body>
                  <m:GetLastTradePrice xmlns:m="Some-URI">
                      <m:tickerSymbol>DIS</m:tickerSymbol>
                  </m:GetLastTradePrice>
              </soapenv:Body>
          </soapenv:Envelope>

      SOAP spec:

          <SOAP-ENV:Envelope
            xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
            SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
             <SOAP-ENV:Body>
                 <m:GetLastTradePrice xmlns:m="Some-URI">
                     <symbol>DIS</symbol>
                 </m:GetLastTradePrice>
             </SOAP-ENV:Body>
          </SOAP-ENV:Envelope>

      --l9g4jTsfkFXacyXIFnHNWeyH4S7s7k1IzdzeZoh--

      To unsubscribe from this group, send an email to:
      soapbuilders-unsubscribe@yahoogroups.com
       
       

      Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

      -- 
      Great wits are sure to madness near allied, 
      and thin partitions do their bounds divide
      John Dryden, Absalom and Achitophel, 1681
       
    Your message has been successfully submitted and would be delivered to recipients shortly.