C# exception after calling Java/Axis web service



I am calling a client's Java/Axis web service (I have no control over it's
code). I added the WSDL no problem. When I call their method, I get an
error:

Unhandled Exception: System.InvalidOperationException: There is an error in
XML document (13, 26). ---> System.InvalidCastException: Cannot assign
object of type System.Object[] to an object of type
ClientService.ClientElement[].

I see from the C# generated web service code on my end that this occurs
while generating the object returned via the web service. Any ideas of how
to go about tracking down how to fix this?

Amil


.



Relevant Pages

  • Re: Defining String parameter max length?
    ... a web service in .Net? ... Neither are there attributes to control other ... John Saunders [MVP] ... that generates the WSDL to add this kind of functionlity myself? ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Defining String parameter max length?
    ... a web service in .Net? ... Neither are there attributes to control other ... the WSDL and write custom code to achieve this? ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: How to Deploy Web Application
    ... if you just include the Content and Primary Built Output project ... output groups in a Web Setup project, usually you'll get an installer that ... Some user controls, third party server>controls, window form user controls, and business logical. ... This control>itself will use a web service to get data from database>and draw a pretty chart based on data. ...
    (microsoft.public.vsnet.enterprise.tools)
  • Re: Embedded UserControl accessing ws-security web service
    ... >>When they open a page with my embedded user control the control needs to ... >>call the web service and pass their credentials. ... >>I need to be able to get the user's credentials into the UserControl ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: image not rendered when expected
    ... magically do a mapping from my server file location to a URL in the HTML it ... ImageURL method on the control). ... I verified that the file accessed from the web service was actually ... placed in its target location. ...
    (microsoft.public.dotnet.framework.aspnet)

Loading