Author: gnodet
Date: Mon Dec 18 14:25:28 2006
New Revision: 488443

URL: http://svn.apache.org/viewvc?view=rev&rev=488443
Log:
Change integration test to check proxies on jsr181

Modified:
    
incubator/servicemix/trunk/servicemix-itests/src/test/resources/org/apache/servicemix/itests/person.xml

Modified: 
incubator/servicemix/trunk/servicemix-itests/src/test/resources/org/apache/servicemix/itests/person.xml
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-itests/src/test/resources/org/apache/servicemix/itests/person.xml?view=diff&rev=488443&r1=488442&r2=488443
==============================================================================
--- 
incubator/servicemix/trunk/servicemix-itests/src/test/resources/org/apache/servicemix/itests/person.xml
 (original)
+++ 
incubator/servicemix/trunk/servicemix-itests/src/test/resources/org/apache/servicemix/itests/person.xml
 Mon Dec 18 14:25:28 2006
@@ -29,9 +29,12 @@
                                <sm:component>
                                        <jsr181:component>
                                                <jsr181:endpoints>
-                                                 <jsr181:endpoint 
pojoClass="org.apache.servicemix.samples.wsdl_first.PersonImpl"
+                                                 <jsr181:endpoint 
pojo="#service"
                                                    
wsdlResource="classpath:org/apache/servicemix/itests/person.wsdl"
-                                                   style="document" />
+                                                   style="document"
+                                                   annotations="java5"
+                                                   typeMapping="jaxb2"
+                                                   
serviceInterface="org.apache.servicemix.samples.wsdl_first.Person" />
                                                </jsr181:endpoints>
                                        </jsr181:component>
                                </sm:component>
@@ -52,5 +55,12 @@
                        </sm:activationSpec>
 
                </sm:activationSpecs>
-       </sm:container>
+       </sm:container>
+       
+  <bean id="service" 
class="org.springframework.aop.framework.ProxyFactoryBean">
+    <property name="target">
+      <bean class="org.apache.servicemix.samples.wsdl_first.PersonImpl" />
+    </property>
+  </bean>
+  
 </beans>


Reply via email to