468,290 Members | 1,953 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,290 developers. It's quick & easy.

Parsing WSDL

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:operation name="TestFn">
<wsdl:input message="tns:TestFnIn" />
<wsdl:output message="tns:TestFnOut" />
</wsdl:operation>
</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.

---
Geoff

Oct 9 '07 #1
0 2531

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Alessandro Crugnola | last post: by
reply views Thread by Nick Caldwell | last post: by
reply views Thread by Elhanan | last post: by
reply views Thread by nole369 | last post: by
9 posts views Thread by Cesar | last post: by
5 posts views Thread by Nick K. | last post: by
1 post views Thread by padmagvs | last post: by
reply views Thread by NPC403 | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.