Spring.net can expose common Pono objects to Web Services, which means Program Writing services Code You do not need to write a lot of business-independent code to complete a web service, and this service can be used for other purposes, such as romoting service or enterprise service.
Spring.net solution is to generate a proxy for a common. Net object. This avoids the need to declare Web Services for object generation. WebService attributes and webmethod attributes. Proxy automatically adds the webmethod attribute to the object at runtime. You can also provide some optional information about the web service attributes, as shown in figure Namespace, description, and transaction mode.
As follows:
<Object ID ="Helloworldexporter"Type ="Spring. Web. Services. webserviceexporter, spring. Web">
<Property name ="Targetname"> <Value> Helloworld </Value> </Property>
<Property name ="Namespace"> <Value> Http: // mycompany/services </Value> </Property>
<Property name ="Description"> <Value> My exported helloworld Web Service </Value> </Property>
<Property name ="Methods">
<Dictionary>
<Entry key ="Helloworld">
<Object type ="System. Web. Services. webmethodattribute, system. Web. Services">
<Property name ="Description">
<Value> My spring-configured helloworld method. </Value>
</Property>
<Property name ="Messagename">
<Value> Zdravosvete </Value>
</Property>
</Object>
</Entry>
</Dictionary>
</Property>
</Object>
<Web: Service targetname ="Helloworld"Namespace ="Http: // mycompany/services">
<Description> My exported helloworld web service. </Description>
<Methods>
<Method name ="Helloworld"Messagename ="Zdravosvete">
<Description> My spring-configured helloworld method. </Description>
</Method>
</Methods>
</Web: Service>
Source: http://opensource2.atlassian.com/confluence/spring/display/NET/Web+Services+Support