Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: payload mapping and token security?

  1. #11
    Join Date
    Jun 2006
    Location
    outside boston
    Posts
    108

    Default thanks for the message

    Good to know. I'm still investigating but it might be namespace related.
    Thanks again

  2. #12
    Join Date
    Aug 2006
    Posts
    13

    Default

    Quote Originally Posted by farrellr View Post
    Code:
    <q0:topicRetrieveRequest>
      <topicId>1</topicId>
    </q0:topicRetrieveRequest>
    I would expect that for the explorer version there is no need to specifiy the namespace of topicId because it is inherited from topicRetrieveRequest.
    Prefixed namespaces aren't inherited. The <topicId> element is in a different namespace than it's parent element. Inheritence (at least in the text representation) could occur in the following (no prefix):
    Code:
    <topicRetrieveRequest xmlns="http://mycom.com/merged">
      <topicId>1</topicId>
    <topicRetrieveRequest>
    Basically, it looks like the explorer version is wrong, despite the fact that your service "works" Maybe no validation is occurring?

  3. #13
    Join Date
    Jun 2006
    Location
    outside boston
    Posts
    108

    Default thanks again

    Your reply is helpful. I had expected the prefixed version to perform like the non prefixed example regarding inheritance, thanks for the clarification.
    It is true I'm not validating - I had turned it off as I simplified (removing security tokens etc) to try to get something simple working before I made things more complicated. Perhaps I should have left validation on.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •