cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Apache CXF app deployment in Weblogic 10.3.2
Date Fri, 12 Apr 2013 14:50:03 GMT

On Apr 11, 2013, at 5:54 PM, Aaron Stromas <passogiau@gmail.com> wrote:

> Greetings,
> 
> I'm struggling with deploying my Web service in Weblogic. The problem is
> the @WebService annotation attribute wsdlLocation. I'm deploying the
> application as a .ear file and I was told that I should create a wsdl
> directory in the META-INF directory and place my WSDL there. When that is
> done I should set the wdsdlLocation attribute to the name the file, i.e, if
> my WSDL file is mywebservice.wsdl, the annotations should be like this:
> 
> @Webservice(serviceName="...", ..., wsdlLocation="myservice.wsdl")
> 
> But when I attempt to start the application from the Weblogic console it
> informs me that the WSDL file is not found and the location it uses is
> 
> 
> [user_projects]/<domain>/myservice.wsdl.
> 
> How can I force Weblogic to use the wsdl packaged in the .ear?
> Thanks in advance,

Usually you would use a location like "/META-INF/myservice.wsdl"  or it would go in with the
rest of the classes and you could use a location like "classpath:/com/foo/blah/myservice.wsdl".
 



-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message