[CODE=xml]<?xml version="1.0" encoding="utf-8" standalone="yes "?>
<soap:Envelop e xmlns:soap="htt p://schemas.xmlsoap .org/soap/envelope/" xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http ://www.w3.org/2001/XMLSchema">
<soap:Header>
<Context CompanyName="We rvis Personeelsadvie s en Automatisering" ProductSerial=" 00000000-0000-0000-0000-000000000005"...
User Profile
Collapse
-
[CODE=xml]<?xml version="1.0" encoding="utf-8" standalone="yes "?>
<soap:Envelop e xmlns:soap="htt p://schemas.xmlsoap .org/soap/envelope/" xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http ://www.w3.org/2001/XMLSchema">
<soap:Header>
<Context CompanyName="We rvis Personeelsadvie s en Automatisering" ProductSerial=" 00000000-0000-0000-0000-000000000005"...Leave a comment:
-
Deserialize Problem
I want to deserialize a SOAP Header Element to a class using:
When the code is executed a get an exception 'There is an error in XML document (1, 2).'Code:XmlSerializer serializer = new XmlSerializer( typeof(Context)); Context context = serializer.Deserialize(new StringReader.xmlElementOuterXml))
The XmlElement from the SOAPHeader:
...Code:<Context CompanyName="Wervis Personeelsadvies en Automatisering"
-
Deserialize Problem
I want to deserialize a SOAP Header Element to a class using:
When the code is executed a get an exception 'There is an error in XML document (1, 2).'Code:XmlSerializer serializer = new XmlSerializer( typeof(Context)); Context context = serializer.Deserialize(new StringReader.xmlElementOuterXml))
The XmlElement from the SOAPHeader:
...Code:<Context CompanyName="Wervis Personeelsadvies en Automatisering"
-
I am writing this in C#. The C# DataSet has different tables. But the undelying XML has no table names.
Here is the code:
...Code:DataSet dataSet = new DataSet(); OdbcConnection odbcConnection = new OdbcConnection(); odbcConnection.ConnectionString = ConfigurationManager.ConnectionStrings["database"].ConnectionString; OdbcCommand odbcCommand = new OdbcCommand(); try
Leave a comment:
-
DataSet loses tablenames
I have a created a dataset with several tables. When i do a dataset.dataSet .WriteXml tablenames get lost. For example:
<?xml version="1.0" standalone="yes "?>
<Root>
<person />
<person />
<person />
<company />
<company />
should be:
<?xml version="1.0" standalone="yes "?>... -
.NET Runtime 2.0 error
I created a windows.forms application which can run automaticaly on schedule. When scheduled it needs to close after the application is finished. The application has one form. In this form i use this.Close() to close the form. In the program.cs i have entered Application.Exi t(); after Application.Run (); The application runs fine and closes when it has finished. The eventlog however shows the following error. Does anyone know what the message means...
No activity results to display
Show More
Leave a comment: