Forum Discussion

MatthewG's avatar
15 years ago

Bad WSDL? Appears to be returning HTML

Hi All,

I'm new to SoapUI and was looking into this tutorial, which uses the National Weather Service's public web services as an example. I loaded the wsdl, and tried to run a transaction (LatLonListZipCode is pretty light on input.) I'm getting back a bunch of html (image).

I have little SoapUI experience, but I've used SOAPSonar for other projects, and tried loading it in that, with the same results. The tutorial has a snapshot that looks much more like what I'm used to seeing.

The WSDL is http://www.weather.gov/forecasts/xml/DW ... fdXML.wsdl
I couldn't find any information from the NWS on whether it was still active. Does anyone have an idea of how I could get this working? The tutorial itself looks great, and has some two more parts on using Groovy, etc.

Thank you!

1 Reply

  • I didn't look at the tutorial instructions, but I loaded the WSDL into SoapUI (http://www.weather.gov/forecasts/xml/DW ... fdXML.wsdl) and here's what I get for the LatLonListZipCode request for zipcodelist = 18014.

    I'm running SoapUI Pro 4.0.1.


    <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    <SOAP-ENV:Body>
    <ns1:LatLonListZipCodeResponse xmlns:ns1="http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl">
    <listLatLonOut xsi:type="xsd:string">&lt;?xml version='1.0'?>&lt;dwml version='1.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd'>&lt;latLonList>40.7276,-75.3918&lt;/latLonList>&lt;/dwml></listLatLonOut>
    </ns1:LatLonListZipCodeResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>