dev@jax-ws.java.net

Re: 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 10:14:25 -0400

yes,
I'll be in touch in a bit.
Kathy

Paul Sandoz wrote:

> kathy walsh wrote:
>
>> Paul-
>> If you are out of date with the workspace this is understandable.
>>
>> Dispatch tests needed to be modified to enable LocalTransport.
>>
>> There was a time in the past where the new LocalTransport jar
>> caused all the Dispatch Test to fail when run in local mode-
>>
>
> OK.
>
>>
>> Also, my test workspace is fairly up to date and the Dispatch tests
>> run fine with LocalTransport.
>
>
> Would it be possible to zip up your workspace and make it accessible
> via a link?
>
> Thanks,
> Paul.
>
>> Kathy
>>
>> kathy walsh wrote:
>>
>>> Where did you get the latest LocaTransport jar from?
>>>
>>> Paul Sandoz wrote:
>>>
>>>> kathy walsh wrote:
>>>>
>>>>> Paul-
>>>>>
>>>>> Where did you get the unit tests from?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> This are the internal jaxws-ri unit tests.
>>>>
>>>> My workspace may not be up to date though and i cannot up date it
>>>> given the CVS issues... can you reproduce with your local copy?
>>>>
>>>> Paul.
>>>>
>>>>> 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)
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
>>> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
>> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>>
>