You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Ridgway, Jamie Mr CONT USAAC" <JA...@USAAC.ARMY.MIL> on 2007/06/20 19:00:05 UTC

[U] wsdlLocation attribute

UNCLASSIFIED////


Could someone show an example of how to setup a classpath wsdlLocation
attribute for <jaxws:endpoint>?

Thanks,
Jamie 
UNCLASSIFIED////

[U] RE: wsdlLocation attribute

Posted by "Ridgway, Jamie Mr CONT USAAC" <JA...@USAAC.ARMY.MIL>.
UNCLASSIFIED////


This didn't work for me. I now get an exception saying "Invalid
protocol".

I have tried not including the attribute at all (picks up the classpath
of the wsdl in my dev environment so it fails) and giving the relative
path based on my WEB-INF directory which does form a classpath for the
system I am deploying to but it is invalid. I am autodeploying an EAR
file with my bundled webapp on to Weblogic 9.2/Solaris which is set not
to explode the war. 

Is anyone deploying with a similar setup?  

-----Original Message-----
From: Dan Diephouse [mailto:dan@envoisolutions.com]
Sent: Wednesday, June 20, 2007 1:26 PM
To: cxf-user@incubator.apache.org
Subject: Re: [U] <jaxws:endpoint> wsdlLocation attribute

Try:

<jaxws:endpoint wsdlLocation="classpath:foo/bar.wsdl"/>

It might work without the classpath: as well, but I'm pretty sure the
above at least works.
Cheers,
- Dan

On 6/20/07, Ridgway, Jamie Mr CONT USAAC <JA...@usaac.army.mil>
wrote:
>
> UNCLASSIFIED////
>
>
> Could someone show an example of how to setup a classpath wsdlLocation

> attribute for <jaxws:endpoint>?
>
> Thanks,
> Jamie
> UNCLASSIFIED////
>



--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

UNCLASSIFIED////

Re: [U] wsdlLocation attribute

Posted by Dan Diephouse <da...@envoisolutions.com>.
Try:

<jaxws:endpoint wsdlLocation="classpath:foo/bar.wsdl"/>

It might work without the classpath: as well, but I'm pretty sure the above
at least works.
Cheers,
- Dan

On 6/20/07, Ridgway, Jamie Mr CONT USAAC <JA...@usaac.army.mil>
wrote:
>
> UNCLASSIFIED////
>
>
> Could someone show an example of how to setup a classpath wsdlLocation
> attribute for <jaxws:endpoint>?
>
> Thanks,
> Jamie
> UNCLASSIFIED////
>



-- 
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog