Groups | Blog | Home
all groups > dotnet web services > may 2006 >

dotnet web services : WebServices and XMl dataset


Sam
5/29/2006 2:36:46 AM
Hi there!

I would like to know:

a) How to read xml datasets from cache?

b) How to save it as xml and map the fields and update the my sql /
SYbase database?

Please help me out.

With Thanks!
Sam
Sam
5/29/2006 7:08:09 AM
Thanks Gaurav for showing some light on this nasty issue.

What could be the parameter of Cache.add() ? Secondly, to store the xml
file do we need to provide the physical path or website address?

With Thanks!
Sam
Gaurav Vaish (EduJini.IN)
5/29/2006 6:53:22 PM
[quoted text, click to view]

As everything else :)
Ok... I assume that you are referring to System.Web.Caching cache.
You can directly do:
Cache.Add(...)


[quoted text, click to view]

DataSet to XML:
Use the overloaded method DataSet.WriteXml(...)

MySQL and Sybase:
Checkout for the native drivers. Or you may want to use ODBC drivers.
For MySQL - http://www.mysql.com/products/connector/net/
I don't work with Sybase... but at least ODBC driver should be
available.



--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org
http://webservices.edujini.in
-------------------


Gaurav Vaish (EduJini.IN)
5/29/2006 6:57:14 PM
[quoted text, click to view]

Oops! I think I misunderstood you.

You may want to look at NHibernate -- www.nhibernate.org -- and O/R Mapping
tool is what you are looking for.


--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org
http://webservices.edujini.in
-------------------

Gaurav Vaish (EduJini.IN)
5/29/2006 10:50:56 PM
[quoted text, click to view]

Look into the documentation... you'll get all required info there --
specfically the method signatures.

These methods are overloaded. Choose the one that suits you the most.


--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org
http://webservices.edujini.in
-------------------

Sam
6/7/2006 3:04:26 AM
Gaurav,

Sorry to get back you little late as I'm suffering from fever.

All the way, I am unable to read the dataset that is stored in cache.
Could you please help me out? I tried fragment caching, page caching,
serialization & deserialization etc etc.

Please help me out by explaining at length.

Thanks for your time and support.



[quoted text, click to view]
Gaurav Vaish (www.EduJini.IN)
6/11/2006 5:40:03 PM
Hi Sam,

Sorry to hear about your fever. Hope you're feeling ok now.

[quoted text, click to view]

What all is that you've tried?
What's the error that you're getting?

[quoted text, click to view]

Let me figure out some time to write at length on this. Not sure if I have
any time this week... but will try to do it ASAP :)

Get well soon.

--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.org
http://www.edujini.in | http://webservices.edujini.in
-------------------

Sam
6/11/2006 11:49:28 PM
No, I am not getting any error. That is the main problem. Please check
for more details:

https://asylumwakeskatesnow.com/ePosim/WinWebService/PWWS.asmx

Thanks for your time and support.

Sam


[quoted text, click to view]
AddThis Social Bookmark Button