Parsing WSDL

  • Thread starter Geoffrey Summerhayes
  • Start date
G

Geoffrey Summerhayes

I'm writing on a wsdl parser in javascript and the relevant portions
of the file I'm trying to parse is

<?xml version="1.0" encoding="utf-8" ?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns="http://localhost/Test/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
targetNamespace="http://localhost/Test/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

<wsdl:portType name="Test">
<wsdl:eek:peration name="TestFn">
<wsdl:input message="tns:TestFnIn" />
<wsdl:eek:utput message="tns:TestFnOut" />
</wsdl:eek:peration>
</wsdl:portType>

<wsdl:message name="TestFnIn">
<wsdl:part name="parameters" element="tns:TestFn" />
</wsdl:message>

What's a correct way of finding the message element
given the input element? Trimming off the prefix doesn't
feel right.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,697
Latest member
AugustNabo

Latest Threads

Top