PDA

View Full Version : WebServiceProxyFactory and SoapExtension



pelonzudo
03-04-2011, 08:01 AM
Hello all!

I'm trying to implement GZip compression in webservices exported from WebServiceProxyFactory following the instructions in the next article (http://forum.springframework.net/showthread.php?t=120) in the forum.

I'm having problems with the WebServiceExporter. When I invoke the service they aren't calling the "ProcessMessage" from SoapExtension.

With the "WebServiceProxyFactory" in the client all its ok.

Config in the server:



<object id="MyService" type="Spring.Web.Services.WebServiceExporter, Spring.Web">
<property name="TargetName" value="MyService"/>
<property name="Name" value="MyService"/>
<property name="Description" value="MyService"/>
<property name="MemberAttributes">
<dictionary>
<entry key="*">
<object type="MyNamespace.CompressionExtensionAttribute, MyAssembly"/>
</entry>
</dictionary>
</property>
</object>



Thanks.

pelonzudo
03-04-2011, 09:01 AM
I have created a test project and attached it. Copy Spring dll's to "lib" directory and test.