List Info

Thread: Updated: (JBWS-1685) Add support for WebServiceContext propagation




Updated: (JBWS-1685) Add support for WebServiceContext propagation
country flaguser name
United States
2007-06-02 08:33:08
     [ 
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:danenvoisolutions.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.WebServiceContextEJB
TestCase
    [junit] Tests run: 3, Failures: 1, Errors: 0, Time
elapsed: 7.163 sec
    [junit] Test
org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJB
TestCase FAILED
    [junit] Running
org.jboss.test.ws.jaxws.samples.context.WebServiceContextJSE
TestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time
elapsed: 3.312 sec

BUILD SUCCESSFUL
Total time: 15 seconds
[tdieslertddell sunri]$ cat
output-tests/reports/TEST-org.jboss.test.ws.jaxws.samples.co
ntext.WebServiceContextEJBTestCase.txt 
Testsuite:
org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJB
TestCase
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.WebServiceContextEJB
TestCase.testGetWebContext(WebServiceContextEJBTestCase.java
:71)
        at
junit.extensions.TestDecorator.basicRun(TestDecorator.java:2
2)
        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://ji
ra.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:danenvoisolutions.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.atl
assian.com/software/jira

        
_______________________________________________
jbossws-issues mailing list
jbossws-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossws-issues

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )