DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 19 Jul 2007 09:25:31 -0000,    posted on: microsoft.public.dotnet.framework.aspnet.webservices        back       

Thread Index
  1    Jens


Reading CDATA with asp.net webservice   
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
Date:Thu, 19 Jul 2007 09:25:31 -0000   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us