how to remove webservice headers
- From: "GADOI" <support@xxxxxxx>
- Date: Fri, 10 Oct 2008 12:22:33 -0400
Hello:
I have a web swervice that returns a formatted KML (Google earth) xml document.
Google Earth says it can consume it IF the top level element starts with :
<kml xmlns="http://earth.google.com/kml/2.2">
When I return data as string from my web servive it returns:
<?xml version="1.0" encoding="utf-8" ?>
<anyType xmlns:q1="http://www.w3.org/2001/XMLSchema" d1p1:type="q1:string" xmlns:d1p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ga.gov/GeoKML/GeoKML.asmx">
<kml xmlns="http://earth.google.com/kml/2.2">
and then Google cannot use it - so I need to learn how to remove the
<anyType xmlns:q1="http://www.w3.org/2001/XMLSchema" d1p1:type="q1:string" xmlns:d1p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ga.gov/GeoKML/GeoKML.asmx">
What properties and methods do you suggest. and what event
Thanks
.
- Follow-Ups:
- Re: how to remove webservice headers
- From: John Saunders
- Re: how to remove webservice headers
- Prev by Date: Re: WCF Security: How restrict an endpoint to only response to a given windows user or group?
- Next by Date: Re: how to remove webservice headers
- Previous by thread: Re: Deploy Web service on IIS 6.0
- Next by thread: Re: how to remove webservice headers
- Index(es):
Relevant Pages
|