Arun Gupta wrote:
> Hi Paul,
>
> I got the exact same error yesterday in JAX-WSA unit tests.
>
> And the error was /jaxrpc-client_dispatch_header_doclit/hello was not
> pointing to an exploded war file image. Once I fix that, all the tests
> started passing again. Basically local:///... should point to the
> exploded WAR file image.
>
Thanks, Kathy kindly sent me a working workspace so i got around the
issue that way.
Paul.
> HTH,
> -Arun
>
> 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)
>>
>>
>
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109