Re: Newbie (kind of :) Question - Web Service -



"C." <C.@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:3F04FCFD-6583-4149-A3ED-584438F22C30@xxxxxxxxxxxxxxxx
Hello,

I have a Web Service that receives an XmlDocument of a given type. But I can
not get the contents of what is being passed other than extracting it from
the HttpContext.Current.Request.InputStream and this requires removing the
SOAP envelope manually and using the nsManager and a lot of unnecessary extra
lines of code before I can validate the schema. I was assuming I can get the
content from “part” but is null. Is there any other way than using the
HttpContext?

You've probably already had this question answered by now. In case you haven't, take a look at http://msdn2.microsoft.com/en-us/library/aa480498.aspx on MSDN.
--
--------------------------------------------------------------------------------
John Saunders | MVP – Windows Server System – Connected System Developer

.



Relevant Pages

  • Re: How do I pass a message or variable to a web service?
    ... "Are you sure that your web service project has been re-built and than your ... web service reference has been refreshed?" ... public XmlDocument GetDataFromDB ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Sending a switch to a form
    ... > For a Windows Form app, that consumes a web service. ... > When you press submit, the FileOpenDialog appears, you select an Xml ... > XmlDocument as a parameter. ... I want to have the option of running it in a batch mode where I say. ...
    (microsoft.public.dotnet.general)
  • Re: How to return XML Document from web service.
    ... then your web service returns an XMLDocument. ... the calling code would look something like: ... Dim xmlDoc As Xml.XmlDocument = ws.someMethodThatReturnsAnXMLDocument ... Public Function GetWebOrdersAs XmlDocument ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: irm and web services
    ... WordApplication.Application.quit();// quit ... Office is not supported for use inside a web service. ... The Office Automation ... John Saunders | MVP - Windows Server System - Connected System Developer ...
    (microsoft.public.dotnet.framework.webservices)
  • cannot pass xmldocument
    ... xmldocument as input parameter, ... value nothing in the web service. ... create and append elements using appendchild ... returned document is all fine. ...
    (microsoft.public.dotnet.framework.webservices)