modify web service method result 
Author Message
 modify web service method result


I make a web service, and the ws export this method:

String __gc* Class1::GetString()

String *s;

s=new String("<Root>Esto es una prueba>/Root>");

return s;

}//String __gc* Class1::GetString()


When "Invoke" wiith internet explorer, this is the result:

<?xml version="1.0" encoding="utf-8"?>
<string xmlns=" http://www.*-*-*.com/ ;>
    <Root>Esto es una prueba</Root>

But, I want to modify this result:

<?xml version="1.0" encoding="utf-8"?>
<Root>Esto es una prueba</Root>

How I do this, using Visual C++.NET


Mon, 19 Sep 2005 18:46:50 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Output types for web methods in c# web service

2. Hidden properties and methods in inherited classes over XML Web services

3. Web Service Method Override

4. asynchronous call to a method in a WEB service

5. OverLoading Methods in Web Services

6. Visual C++ Web Service & ASP Web Controls

7. Deploying web applications with a web service

8. Namespace Conflict - c# Class Library used by Web Service and ASP.NET Web App

9. ATL Server - Web Application/Web Service

10. Web Service with existing web server

11. Tunnelling service methods into a single method

12. Can not access web service from C# Windows Service


Powered by phpBB® Forum Software