There is an element in your response (i think it is
ccref) which has id of ccid0. Other elements are
simply referring/pointing to it. Whenever you have a
service that uses SOAP encoding, you are likely to see
hrefs. You can look into the SOAP spec for more
details.

   Sanjay
 

--- Denero Watz <[EMAIL PROTECTED]> wrote:
> I got an error while sending it last time. So
> resending it.
> dw
> 
> Denero Watz <[EMAIL PROTECTED]> wrote:
> I am trying to invoke a public web service
>
http://live.capescience.com/wsdl/AirportWeather.wsdl.
> The method I am invoking is getSummary. It returns a
> complex type, each field is of string type. But for
> some invalid inputs to this method, I saw it returns
> the o/p like below. I don't understnd what this
> href="#ccid0" is refering to? 
>  
> Response from the server for an invalid input(e.g.
> KK)
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.
> <?xml version="1.0"?>
> <SOAP-ENV:Envelope
>
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>
xmlns:cc1="http://www.capeclear.com/AirportWeather.xsd";
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";>
> <SOAP-ENV:Body
>
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
> <cc2:getSummaryResponse
> xmlns:cc2="capeconnect:AirportWeather:Station"
> SOAP-ENC:root="1">
> <return  xsi:type="cc1:WeatherSummary">
> <location 
> xsi:type="xsd:string">null</location><wind
> href="#ccid0"/><sky href="#ccid0"/><temp
> href="#ccid0"/><humidity href="#ccid0"/><pressure
> href="#ccid0"/><visibility
>
href="#ccid0"/></return></cc2:getSummaryResponse><ccref
> SOAP-ENC:root="0" id="ccid0" 
>
xsi:type="xsd:string"></ccref></SOAP-ENV:Body></SOAP-ENV:Envelope>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.
> 
> 
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site
> design software


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Reply via email to