dev@jax-ws.java.net

Did someone change LocalTransport for Dispatch? -----Re: Unit tests with latest local transport

From: kathy walsh <Kathleen.Walsh_at_Sun.COM>
Date: Fri, 14 Jul 2006 09:50:10 -0400

Paul-

Where did you get the unit tests from?
Kathy

Paul Sandoz wrote:

> 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)
>
>