Hello,
I've got a WebService here, implemented in
Java, WSDL and JAXWS classes generated with wsgen, works fine for most people. Only recently, someone tried to access it via C# and found a problem which I have unfortunately been able to reproduce in C#, but quite honestly, I have no clue if the problem is C# or my Webservice...
The XML C# produces looks like this...
...which leads to the problem, that the vendor (=arg0) is "null" in the WebService class, it seems it doesn't get deserialized properly (but no warning/error message in my server log, either). I'm using geronimo 2.2, btw.
It should look like this...
Interesting enough, the first xml also works, if the id attribute isn't there (but of course, the code requires it and changing the WSDL to element instead of attribute is hard, because many people already use this version of the WSDL). As I really have not much experience with XML namespaces, I would like to know, if the later xml is, at least theoretically, acceptable for a WebService? SoapUI, for example, has no trouble creating a client (it puts the x-namespace declaration into the envelope, but otherwise it looks the same. So is the problem C# here? Or did I somehow create a non-standard WSDL?
The WSDL looks like...
and the referenced schema like this...
Has anyone at least an idea if the problem is the Java end or the C# end?
Regards,
Flo