Parsing WSDL

Discussion in 'XML' started by Geoffrey Summerhayes, Oct 9, 2007.

  1. 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.

    ---
    Geoff
     
    Geoffrey Summerhayes, Oct 9, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dark
    Replies:
    1
    Views:
    4,632
    milfar
    Nov 14, 2008
  2. Chris Bedford
    Replies:
    0
    Views:
    585
    Chris Bedford
    Aug 21, 2003
  3. Stephen Edgecombe

    WSDL.EXE: WSDL Import Directive

    Stephen Edgecombe, Aug 13, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    240
    Stephen Edgecombe
    Aug 13, 2003
  4. RH
    Replies:
    1
    Views:
    265
    Dino Chiesa [Microsoft]
    May 27, 2004
  5. mrnu

    wsdl.exe fails with WebMethods generated wsdl file

    mrnu, Jun 7, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    209
Loading...

Share This Page