User Profile

Collapse

Profile Sidebar

Collapse
wervis
wervis
Last Activity: Jan 26 '08, 06:38 AM
Joined: Jan 10 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • wervis
    replied to Deserialize Problem
    in .NET
    [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"...
    See more | Go to post

    Leave a comment:


  • wervis
    replied to Deserialize Problem
    in XML
    [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"...
    See more | Go to post

    Leave a comment:


  • wervis
    started a topic Deserialize Problem
    in .NET

    Deserialize Problem

    I want to deserialize a SOAP Header Element to a class using:

    Code:
    XmlSerializer serializer = new XmlSerializer( typeof(Context));
    Context context = serializer.Deserialize(new StringReader.xmlElementOuterXml))
    When the code is executed a get an exception 'There is an error in XML document (1, 2).'

    The XmlElement from the SOAPHeader:
    Code:
    <Context CompanyName="Wervis Personeelsadvies en Automatisering"
    ...
    See more | Go to post

  • wervis
    started a topic Deserialize Problem
    in XML

    Deserialize Problem

    I want to deserialize a SOAP Header Element to a class using:

    Code:
    XmlSerializer serializer = new XmlSerializer( typeof(Context));
    Context context = serializer.Deserialize(new StringReader.xmlElementOuterXml))
    When the code is executed a get an exception 'There is an error in XML document (1, 2).'

    The XmlElement from the SOAPHeader:
    Code:
    <Context CompanyName="Wervis Personeelsadvies en Automatisering"
    ...
    See more | Go to post

  • wervis
    replied to DataSet loses tablenames
    in C
    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
    ...
    See more | Go to post

    Leave a comment:


  • wervis
    started a topic DataSet loses tablenames
    in C

    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 "?>...
    See more | Go to post

  • wervis
    started a topic .NET Runtime 2.0 error
    in C

    .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...
    See more | Go to post
No activity results to display
Show More
Working...