PDA

View Full Version : XmlNode parameter always null


harald
07-20-2007, 09:18 AM
I have a web service exported with WebServiceExporter and consumed with WebServiceProxyFactory. The interface of the service method should be

XmlNode Generate(XmlNode treatmentRequest, int maxVisits);

but treatmentRequest will always be null then. If I change the type of treatmentRequest to string I get the xml passed in correctly (as string of course).
I'm not sure where the content of treatmentRequest is lost as it seems to get transmitted over the wire correctly. furthermore i don't even know if this is a spring thing or some issue with the .net framework but according to http://support.microsoft.com/kb/330600 this should be the preferred and working way.

any hints where to debug?

harald
07-20-2007, 10:01 AM
It has to be related with WebServiceExporter, without it works (but DI won't work then)

Erich Eichinger
07-31-2007, 07:08 AM
Hi Harald,

tx for reporting this. Can you please record this in JIRA with the information you found so far?

cheers,
Erich