Reading CDATA with asp.net webservice
- From: Jens <p.megens@xxxxxxxxx>
- Date: Thu, 19 Jul 2007 09:25:31 -0000
Hello,
I'm relatively new to webservices.
Now I've created a webservice that has to read a xml document within a
CDATA section of a soap message. See an example below:
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope 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/" xmlns:ns2199="http://
tempuri.org">
<SOAP-ENV:Body>
<![CDATA[ <?xml version="1.0" encoding="UTF-8"?
<Bericht><Verzend><Dag>18</Dag><Maand>07</Maand><Jaar>2007</Jaar></Verzend></Bericht>
]]>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
When this message is send to my webservice, I want to read an process
the xml document within the CDATA section. Can someone tell me how to
do this, maybe with a little example?
Do I have to make something like this?
Public Function GetXML(ByVal Xml As XmlCDataSection) As String
...
End Function
Thanks in advance!
Jens
.
- Prev by Date: rising process time of a webservice
- Next by Date: Re: Include Verbose Description?
- Previous by thread: rising process time of a webservice
- Next by thread: Re: web services
- Index(es):
Relevant Pages
|
Loading