473,467 Members | 1,436 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Whitespace and SOAP

I have 100's of entity classes and datasets which are populated on a web
server and returned through IIS web services.

With database fields that contain nothing but spaces I have a problem. When
I look at the entity classes or the dataset tables on the server that have
fields with values like " " and " " etc.

When I look at them on the server that are all empty.

I understand about whitespace and xmlDocuments etc but how do I set
preserveWhitespace on DataSet DataTables and my own entity classes?

Are there properties I can set against my entity fields [xmlattribute] or
something?

How do you influence the XML generation of classes and datasets when
returned through web services?

thanks

Nov 24 '05 #1
2 1174
Obviously I meant

"When I look at them on the client they are empty"

doh!
"Gatecrasher" wrote:
I have 100's of entity classes and datasets which are populated on a web
server and returned through IIS web services.

With database fields that contain nothing but spaces I have a problem. When
I look at the entity classes or the dataset tables on the server that have
fields with values like " " and " " etc.

When I look at them on the server that are all empty.

I understand about whitespace and xmlDocuments etc but how do I set
preserveWhitespace on DataSet DataTables and my own entity classes?

Are there properties I can set against my entity fields [xmlattribute] or
something?

How do you influence the XML generation of classes and datasets when
returned through web services?

thanks

Nov 24 '05 #2
Has anybody got any ideas?

thanks
"Gatecrasher" wrote:
I have 100's of entity classes and datasets which are populated on a web
server and returned through IIS web services.

With database fields that contain nothing but spaces I have a problem. When
I look at the entity classes or the dataset tables on the server that have
fields with values like " " and " " etc.

When I look at them on the server that are all empty.

I understand about whitespace and xmlDocuments etc but how do I set
preserveWhitespace on DataSet DataTables and my own entity classes?

Are there properties I can set against my entity fields [xmlattribute] or
something?

How do you influence the XML generation of classes and datasets when
returned through web services?

thanks

Dec 4 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: bigbinc | last post by:
I have setup a soap machine on linux and similar configuration works properly. on a windows mahcine, I get these erros on the addressbook, samples, any ideas. I am pretty sure my classpaths are...
2
by: Artur | last post by:
Hi Newsgroup, im currently working on programming a asp.net application consuming an Webservice hosted on Apache/Axis. I have generated WSDL and Proxy classes from VisualStudio.net. But when...
8
by: xmail123 | last post by:
Hi, As was pointed out whatever you return from a WebMethod needs to be serializable to SOAP. An ArrayList is not serializable. I will be needing to return other data types from web methods. ...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
0
by: info | last post by:
Dear all, is the first time that I use SOAP, and i must say that i'm having several problems. this is SOAP message that expects the server =================XML EXPECTED FROM THE...
9
by: amattie | last post by:
Does anyone have any idea on how I can strip the extra whitespace in the XML that shows up when I receive a response from an ASP.NET 2.0 webservice? This has been discussed before, but no one has...
1
by: gcmartijn | last post by:
H! When I use php code nusoap everything works but with python I get everytime "Your session key does not exist or has expired" I use this code below: test =...
2
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
0
by: vigneshrao | last post by:
Hi, I have been working on a script that loops through multiple records and sends data (one record per call) to a WS. I am supposed to make a new call for each record before sending the data....
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.