cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Stromas <passog...@gmail.com>
Subject Re: Apache CXF app deployment in Weblogic 10.3.2
Date Fri, 12 Apr 2013 15:16:54 GMT
Thank you. Just out of curiosity, is it possible to inject values into
annotations? If so, how? Sorry for the off-topic question.

-a


On 12 April 2013 10:50, Daniel Kulp <dkulp@apache.org> wrote:

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


-- 
Aaron Stromas
Mobile: +1 240 271 6458

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message