[jbossws-issues] [JBoss JIRA] Updated: (JBWS-1685) Add support for WebServiceContext propagation

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Sat Jun 2 09:33:08 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBWS-1685?page=all ]

Thomas Diesler updated JBWS-1685:
---------------------------------

    Component/s: integration-xfire
                     (was: integration-sunri)
    Description: 
XFire does not give access to the standard JAXWS WebServiceContext in its Invoker interface


import org.codehaus.xfire.MessageContext;
import org.codehaus.xfire.fault.XFireFault;

/**
 * The invoker class allows you to control how your service class is invoked.
 * For instance, you could supply an alternate instance which used a Factory to
 * create your service instead of XFire instantiating it.
 *  
 * @author <a href="mailto:dan at envoisolutions.com">Dan Diephouse</a>
 * @since Nov 16, 2004
 */
public interface Invoker
{
    Object invoke( Method m, Object[] params, MessageContext context )
    	throws XFireFault;
}


  was:
tests-run-internal:
    [junit] Running org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase
    [junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 7.163 sec
    [junit] Test org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase FAILED
    [junit] Running org.jboss.test.ws.jaxws.samples.context.WebServiceContextJSETestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 3.312 sec

BUILD SUCCESSFUL
Total time: 15 seconds
[tdiesler at tddell sunri]$ cat output-tests/reports/TEST-org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase.txt 
Testsuite: org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase
Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 7.163 sec

Testcase: testGetWebContext took 1.919 sec
        FAILED
expected:<pass> but was:<fail>
junit.framework.ComparisonFailure: expected:<pass> but was:<fail>
        at org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase.testGetWebContext(WebServiceContextEJBTestCase.java:71)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)



> Add support for WebServiceContext propagation
> ---------------------------------------------
>
>                 Key: JBWS-1685
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1685
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: integration-xfire
>            Reporter: Thomas Diesler
>         Assigned To: Thomas Diesler
>             Fix For: jbossws-2.1.0
>
>
> XFire does not give access to the standard JAXWS WebServiceContext in its Invoker interface
> import org.codehaus.xfire.MessageContext;
> import org.codehaus.xfire.fault.XFireFault;
> /**
>  * The invoker class allows you to control how your service class is invoked.
>  * For instance, you could supply an alternate instance which used a Factory to
>  * create your service instead of XFire instantiating it.
>  *  
>  * @author <a href="mailto:dan at envoisolutions.com">Dan Diephouse</a>
>  * @since Nov 16, 2004
>  */
> public interface Invoker
> {
>     Object invoke( Method m, Object[] params, MessageContext context )
>     	throws XFireFault;
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list