Problem with .Net XmlElement


2005-04-27 04:36:26 AM
delphi223
Hi,
Im trying to connect to a .Net based webservice, but Im having problems with parameters. The webservice function has a XmlElement input parameter. When I import the wsdl, the generated type for parameter is "array of Variant". I am able to call the webservice function, but it returns an error:
- ('soap:Server', 'Server was unable to process request. -->Object reference not set to an instance of an object.', '')
or
- <faultcode>soap:Server</faultcode><faultstring>Length cannot be less than zero.Parameter name: length</faultstring></faultcode>
Thanks for any help.