[jbossws-commits] JBossWS SVN: r3617 - in branches/maeste_palin/integration: sunri/src/test/resources and 1 other directories.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Mon Jun 18 09:58:14 EDT 2007


Author: maeste
Date: 2007-06-18 09:58:13 -0400 (Mon, 18 Jun 2007)
New Revision: 3617

Modified:
   branches/maeste_palin/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/InvokerEJB3.java
   branches/maeste_palin/integration/sunri/src/test/resources/test-excludes.txt
   branches/maeste_palin/integration/xfire/.classpath
Log:
FIxed JBWS-1669.


Modified: branches/maeste_palin/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/InvokerEJB3.java
===================================================================
--- branches/maeste_palin/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/InvokerEJB3.java	2007-06-18 13:53:29 UTC (rev 3616)
+++ branches/maeste_palin/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/InvokerEJB3.java	2007-06-18 13:58:13 UTC (rev 3617)
@@ -28,6 +28,7 @@
 
 import javax.xml.ws.Provider;
 import javax.xml.ws.WebServiceException;
+import javax.xml.ws.handler.MessageContext;
 
 import org.jboss.wsf.spi.deployment.Endpoint;
 import org.jboss.wsf.spi.deployment.EndpointAssociation;
@@ -50,6 +51,8 @@
 public class InvokerEJB3 extends Invoker
 {
    private final InstanceResolver resolver;
+   
+   private WSWebServiceContext wsc;
 
    public InvokerEJB3(InstanceResolver resolver)
    {
@@ -60,6 +63,7 @@
    public void start(@NotNull WSWebServiceContext wsc, @NotNull WSEndpoint endpoint)
    {
       resolver.start(wsc, endpoint);
+      this.wsc = wsc;
    }
 
    @Override
@@ -82,6 +86,9 @@
 
       InvocationHandler invHandler = ep.getInvocationHandler();
       Invocation inv = invHandler.createInvocation();
+      
+      inv.getInvocationContext().addAttachment(MessageContext.class, wsc.getMessageContext());
+      
       inv.setJavaMethod(m);
       inv.setArgs(args);
 

Modified: branches/maeste_palin/integration/sunri/src/test/resources/test-excludes.txt
===================================================================
--- branches/maeste_palin/integration/sunri/src/test/resources/test-excludes.txt	2007-06-18 13:53:29 UTC (rev 3616)
+++ branches/maeste_palin/integration/sunri/src/test/resources/test-excludes.txt	2007-06-18 13:58:13 UTC (rev 3617)
@@ -12,7 +12,7 @@
 ###################################################################
 
 # [JBWS-1669] Fix WebServiceContext.getMessageContext()
-org/jboss/test/ws/jaxws/samples/context/WebServiceContextEJBTestCase.java
+#org/jboss/test/ws/jaxws/samples/context/WebServiceContextEJBTestCase.java
 
 # [JBWS-1673] Fix JAXR samples for SunRI
 org/jboss/test/ws/jaxws/samples/jaxr/**

Modified: branches/maeste_palin/integration/xfire/.classpath
===================================================================
--- branches/maeste_palin/integration/xfire/.classpath	2007-06-18 13:53:29 UTC (rev 3616)
+++ branches/maeste_palin/integration/xfire/.classpath	2007-06-18 13:58:13 UTC (rev 3617)
@@ -17,5 +17,6 @@
 	<classpathentry kind="lib" path="thirdparty/xbean-spring.jar"/>
 	<classpathentry combineaccessrules="false" kind="src" path="/integration-jboss50"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/jboss-5.0.x"/>
+	<classpathentry kind="lib" path="thirdparty/commons-logging-1.1.jar"/>
 	<classpathentry kind="output" path="output/eclipse"/>
 </classpath>




More information about the jbossws-commits mailing list