473,394 Members | 1,800 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

confused ------ .Net-Client using tcl-Webservice

Hello

I have a tcl-webservice based on tclsoap/tclhttpd. A function returns an
array of structs.
The problem (someone from csharp.de ng told me): The Soap-functionality
of the .Net Framework does not support Arrays of Structures.. but it
would accept arrays of classes.

On tcl-side i have no classes.... any ideas?

I am almost sure that the xml received by the client is correct, but
..Net answers with an error.

xml:
<?xml version='1.0'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance'
xmlns:xsd='http://www.w3.org/1999/XMLSchema'
xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'><SOAP-ENV:Body><ns:getArrayOfSimpleStructResponse
xmlns:ns='Obu2is'
SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'><return
xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
xsi:type='SOAP-ENC:Array' SOAP-ENC:offset='[0]'
SOAP-ENC:arrayType='Obu2is:SimpleStruct[1]'><item
xsi:type='Obu2is:SimpleStruct'><zeile1
xsi:type='xsd:string'>MeineZeile1</zeile1><zeile2
xsi:type='xsd:string'>MeineZeile2</zeile2><zeile3
xsi:type='xsd:string'>MeineZeile3</zeile3></item></return></ns:getArrayOfSimpleStructResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

error:
"An unhandled exception of type 'System.InvalidOperationException'
occurred in system.xml.dll Additional information: There is an error in
XML document (2, 373)."
Thanks in advance

Mar 25 '06 #1
0 1029

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

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.