upadrian / php-wsdl-creator

Automatically exported from code.google.com/p/php-wsdl-creator
GNU General Public License v3.0
0 stars 0 forks source link

Visual Studio C# : Complex Demo : error in XML file during deserialisation #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Visual Studio C# (target NET3.5 and NET4.0), Windows OS
2. Add webreference to demo.php
3. call SayHello() : success, C# gets the Response as string
4. call GetComplexType() : Fails, error in XML file 

This is my C# function to test demo.php:

   private void button1_Click(object sender, EventArgs e)
        {
            WebRef.SoapDemo demo = new WebRef.SoapDemo();

            string response;
            response = demo.SayHello("Steve");

            WebRef.ComplexTypeDemo c;
            c =  demo.GetComplexType();
        }

During call of GetComplexType() I get exception "Error in XML-Dokument (2,694)"

What is going wrong ? Did I miss something ?

Thank you very much to release php-wsdl-generator to the public.
Could you please add some C# example code snippets ?

Cheers
Carsten

Original issue reported on code.google.com by df...@web.de on 21 Oct 2014 at 5:49