cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jervis Liu (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-511) JaxwsServiceFactoryBean failed if wsdlLocation in sei specify the non-exist file
Date Wed, 11 Apr 2007 06:09:32 GMT

     [ https://issues.apache.org/jira/browse/CXF-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jervis Liu resolved CXF-511.
----------------------------

    Resolution: Fixed

> JaxwsServiceFactoryBean failed if wsdlLocation in sei specify the non-exist file
> --------------------------------------------------------------------------------
>
>                 Key: CXF-511
>                 URL: https://issues.apache.org/jira/browse/CXF-511
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0-RC
>            Reporter: maomaode
>         Assigned To: Jervis Liu
>             Fix For: 2.0-RC
>
>
> Java2Wsdl use JaxWsServiceFactoryBean fail with org.apache.cxf.tools.fortest.withannotation.doc.Hello
 class
> org.apache.cxf.service.factory.ServiceConstructionException: Could not load WSDL
>  from URL file:///c:/tmp.wsdl.
>         at org.apache.cxf.jaxws.support.JaxWsServiceConfiguration.getWsdlURL(Jax
> WsServiceConfiguration.java:108)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.getWsdlUR
> L(ReflectionServiceFactoryBean.java:868)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializ
> eServiceModel(ReflectionServiceFactoryBean.java:221)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Re
> flectionServiceFactoryBean.java:126)
>         at org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(Abstra
> ctEndpointFactory.java:72)
>         at org.apache.cxf.tools.java2wsdl.processor.internal.ServiceBuilder.buil
> d(ServiceBuilder.java:39)
>         at org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceB
> uilderTest.testWrapped(JaxwsServiceBuilderTest.java:65)
> I think we should print WARNING instead of throw exceptions when factorybean can not
load wsdl from wsdlLocation annotation.
> I have added a unit test to revisit:
> org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/JaxwsServiceBuilderTest

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message