Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Namespace based element identification

Kingsly Theodar
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the below XML, which one is tns:MyMessage? Is it the blue one or green one? The red ones refers the blue one or green one? I think it refers to the green one always, since that is within the XSD:schema element. If that is the case, then how do we refer to the Blue MyMessage from the Red colored references? Please clarify.

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap=""
xmlns:xsd="" name="WhatSoEver"
<xsd:schema xmlns="urn:xmlns:mynamespace"

<xsd:import namespace="urn:xmlns:mynamespace"

<xsd:element name="MyMessage" type="MyMessageType" />


<wsdl:message name="MyMessage">
<wsdl:part element="tns:MyMessage" name="parameters" />
<wsdl:portType name="WhatSoEver">
<wsdl:operation name="MyMessage">
<wsdl:input message="tns:MyMessage" />


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic