Error returning an XmlNode from a webservice

D

Dominic Messenger

I am using WSE 2.0 and ASP.NET to consume two webservices. The first
works fine 100% of the time - the second doesn't.

The first has a signature of:

[SoapDocumentMethod(ParameterStyle = SoapParameterStyle.Bare)]
[return: XmlAnyElement]
public XmlNode Select([XmlAnyElement]XmlNode message)

and the second:

[WebMethod(Description="Sources a KFI based on the delivered input
data")]
[return: XmlAnyElement]
public XmlNode Get(XmlNode message, string productId, string
variantId)

The latter works fine on the server - I can see the XmlNode response
in the debugger and the trace shows the correct response being
returned. However, on the client side, I receive a null value.

Is there anything that I could be doing wrong ? I don't think it's the
WSE 2.0 on the server side since the log file shows the correct
response. The possible issues are that the response is over 120K in
size and contains a binary stream, but that shouldn't be a problem
should it ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top