Gary, is this perhaps the original version of the question you asked a few hours later ("Remove 'Request' tag" under the SOAP category)?
If not, the answer is "yes", you need to explicitly pass by reference. So your web method would look like this:
[WebMethod(Description="Pass an XML string by reference, return boolean")]
public bool MyMethod(ref string MyXml)
{
}
~~Bonnie
>Can you help a .Net Newbie with what is probably a stupid question?!
>
>I am calling a WebService and passing in an XML string, my understanding of the WebService is that I pass in the XML and it updates it with a result.
>
>I have manged to work out the authentication, and I get no error, but the XML I send in is not updated. I wonderred if I need somehow to implicitly say I am passing my parameter by reference instead of by value?
>
>
>WebServiceLink.HTNGHeaderValue.From.Credential.userName = UserName
>WebServiceLink.HTNGHeaderValue.From.Credential.password = Password
>
>WebServiceLink.ReceiveMessageAsync(XmlString)
>
>
>
>
>
>Regards
>
>
>Gary.