dev@jax-ws.java.net

Unit tests with latest local transport

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 14 Jul 2006 15:43:39 +0200

Hi,

I am running the unit tests with the latest JAX-WS local transport i see
a similar exception occuring, see at end of the email. Seems to be an
issue when javax.xml.ws.Service.createDispatch is called

Any reason why this is so?

Paul.

java.io.FileNotFoundException:
/jaxrpc-client_dispatch_header_doclit/hello/WEB-INF/sun-jaxws.xml (No
such file or directory)
java.lang.Error: java.io.FileNotFoundException:
/jaxrpc-client_dispatch_header_doclit/hello/WEB-INF/sun-jaxws.xml (No
such file or directory)
        at
com.sun.xml.ws.transport.local.LocalTransportFactory.createServerService(LocalTransportFactory.java:88)
        at
com.sun.xml.ws.transport.local.LocalTransportFactory.doCreate(LocalTransportFactory.java:61)
        at
com.sun.xml.ws.api.pipe.TransportPipeFactory.create(TransportPipeFactory.java:111)
        at
com.sun.xml.ws.api.pipe.ClientPipeAssemblerContext.createTransportPipe(ClientPipeAssemblerContext.java:105)
        at
com.sun.xml.ws.client.dispatch.StandalonePipeAssembler.createClient(StandalonePipeAssembler.java:44)
        at
com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:313)
        at
com.sun.xml.ws.client.WSServiceDelegate.createDispatch(WSServiceDelegate.java:280)
        at javax.xml.ws.Service.createDispatch(Service.java:164)
        at
client.dispatch.header.doclit.client.TestCaseBase.createDispatchSource(TestCaseBase.java:113)
        at
client.dispatch.header.doclit.client.TestCaseBase.getDispatchSource(TestCaseBase.java:132)
        at
client.dispatch.header.doclit.client.DispatchHeaderTest.testEchoSource(DispatchHeaderTest.java:61)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Caused by: java.io.FileNotFoundException:
/jaxrpc-client_dispatch_header_doclit/hello/WEB-INF/sun-jaxws.xml (No
such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at
com.sun.xml.ws.transport.local.LocalTransportFactory.parseEndpoints(LocalTransportFactory.java:102)
        at
com.sun.xml.ws.transport.local.LocalTransportFactory.createServerService(LocalTransportFactory.java:73)

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109