Hi,
i got a similar exception when testing a .NET C#-Client against my
Axis webservices using complex types. I noticed that a Java-Class,
that was used as a parameter in my webservice, which has a public
attribute but no getters and setters, causes the .NET-exception.
So i added getters and setters for this attribute (which was an array
of another complex type), regenerated everything and it went fine.
Additionally i noticed that the MS IDE did not directly recognize
the updated wsdl, so i removed the webreference and added
it again in order to force the IDE to regenerated its client support.
hth,
Thomas
"Markus Frommherz" <[EMAIL PROTECTED]>
04.02.03 16:10
Bitte antworten an axis-user
An: <[EMAIL PROTECTED]>
Kopie:
Thema: Antw: Axis and VB.NET compatibility.
Hi,
There are indeed experts (not me, Sir ), here, who might find out, what to
do.
A portion of wsdl/xsd , that defines your datatype, might help to track it
down .
So, I guess, datatype is anyType in wsdl and .Net generates Object?
cheers,
markus
>>> [EMAIL PROTECTED] 04.02.2003 13.02 Uhr >>>
Ladies and Gentlemen,
I am looking for a very simple and definitive answer to a question. I
have an EJB accessed via soap through AXIS, which returns a number of
different types, including a number of complex types. When I used WSDL
supplied with the .NET Framework, it generates the wrapper classes to make
the soap calls, and this code in fact calls the server, and diagnostics
shows it is a valid, and well formed request. When the soap document is
returned .net is unable to handle it, complaining about Error in document
(5,5). I am assuming this is a marshalling issue with the complex types
involved.
My question is, is this problem solvable(I have seen it asked many times,
but no really good answer/definitive answer).
And secondly, does anyone know how to fix it. Pointing me at the correct
documentation/samples/tutorials would be most appreciated. If I can find
a solution with other peoples assistance I would be most appreciative, and
would post a follow up response, explaining in detail how to do it,
helping the community at large.
Thank you in advance,
J Hanshaw, Developer.