Hi,
I need to send data to service via XML. This service gave me a schema
that you could find in
http://www.forum-datenaustausch.ch/f...equest_400.xsd .
I generated objects with this nice tool XSDObjectGenerator.
When I tried to Serialize my data's, I had exception (InnerException)
"There was an error reflecting field '__prolog'.".
Here is my test code:
Dim fStream2 As New FileStream("C:\Temp\request.xml", FileMode.Create)
Dim request As New request()
request.invoice.detail.services.record_drugCollect ion.Add().amount =
111.112
Dim ser As New XmlSerializer(GetType(requestType))
ser.Serialize(fStream2, request)
Someone could help me?
Thanks.
Pascal