I am new to Webservices and I have a question. I have a web service and a method like this,
CompanyOpereations srv = new CompanyOperations();
srv.getCustomerInfo(input);
I want to get and response.write the soap request and response of getCustomerInfo method.
can someone help me?? I have seen this but insted of logging into the file i need to print it on the screen, Getting RAW Soap Data from a Web Reference Client running in ASP.net
I have even seen this but was not sure how to call this, WriteOutput method from my client can some one please help me?? http://msdn.microsoft.com/en-us/library/ms972353.aspx
Thanks in advance.
If my question is not clear please let me know!!
This is not for debugging.. its for printing it as the output of the method so that some one else can use the XML somewhere else.
Thanks!