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

9878Re: question about round 4 doc/lit request message structure

Expand Messages
  • hoddys
    Jun 1, 2004
    • 0 Attachment
      Thanks so much for the replies! By any chance could you recommend any
      books or sites that would help me understand the WSDL message
      structure?

      Thanks again!

      --- In soapbuilders@yahoogroups.com, Anish Karmarkar
      <Anish.Karmarkar@o...> wrote:
      > Wes Moulder wrote:
      >
      > > Hoddys,
      > >
      > > If you look at the schema declaration for
      > > targetNamespace="http://soapinterop.org", it has an attribute
      > > elementFormDefault="qualified", which says (unless overridden by
      a form
      > > attribute on the element in
      > > question) the element must be qualified. Given that there is no
      such
      > > override on inputDecimal, it must
      > > be qualified. Note, however, that the default value for
      > > elementFormDefault is "qualified", so if that
      > > attribute isn't present, it must still be qualified as such.
      > >
      >
      > Actually, the default value for elementFormDefault is 'unqualified'
      [1].
      >
      > -Anish
      > --
      >
      > [1] http://www.w3.org/TR/xmlschema-1/#declare-schema
      >
      > > --Wes
      > >
      > > hoddys wrote:
      > >
      > >
      > >>I'm trying to invoke a method from the doc/lit Round 4 web
      service
      > >>and noticed that the "inputDecimal" node must be namespace
      qualified
      > >>for the web service to understand the request message. When I
      > >>namespace qualify the message I recieve the correct response
      message,
      > >>if I do not namespace qualify then null is returned. Why must I
      > >>namespace qualify the "inputDecimal" node?
      > >>
      > >>Thanks so much!
      > >>
      > >>Web Service:
      > >>http://mssoapinterop.org/asmx/xsd/round4xsd.asmx
      > >>
      > >>Request message without Namespace Qualification:
      > >><soap:Envelope
      > >> xmlns:s0="http://soapinterop.org/"
      > >> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      > >> xmlns:xs="http://www.w3.org/2001/XMLSchema">
      > >> <soap:Body>
      > >> <s0:echoDecimal>
      > >> <inputDecimal>41</inputDecimal>
      > >> </s0:echoDecimal>
      > >> </soap:Body>
      > >></soap:Envelope>
      > >>
      > >>
      > >>Request message with Namespace Qualification:
      > >><soap:Envelope
      > >> xmlns:s0="http://soapinterop.org/"
      > >> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      > >> xmlns:xs="http://www.w3.org/2001/XMLSchema">
      > >> <soap:Body>
      > >> <s0:echoDecimal>
      > >> <s0:inputDecimal>41</s0:inputDecimal>
      > >> </s0:echoDecimal>
      > >> </soap:Body>
      > >></soap:Envelope>
      > >>
      > >>
      > >>
      > >>
      > >>
      > >>
      > >>
      > >>-----------------------------------------------------------------
      > >>This group is a forum for builders of SOAP implementations to
      discuss implementation and interoperability issues. Please stay on-
      topic.
      > >>Yahoo! Groups Links
      > >>
      > >>
      > >>
      > >>
      > >>
      > >>
      > >>
      > >
      > >
      > >
      > >
      > >
      > > -----------------------------------------------------------------
      > > This group is a forum for builders of SOAP implementations to
      discuss implementation and interoperability issues. Please stay on-
      topic.
      > > Yahoo! Groups Links
      > >
      > >
      > >
      > >
      > >
    • Show all 7 messages in this topic