You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Roozbeh <ro...@yahoo.com> on 2006/10/30 11:09:52 UTC
Classpath problem
Hi,
it seems that <classpath> tag in xbean.xml file for jsr 181 doesn't
understand the url of wsdl file. Can anyone help?
Thanks,
Roozbeh
--
View this message in context: http://www.nabble.com/Classpath-problem-tf2538342.html#a7071771
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Classpath problem
Posted by Guillaume Nodet <gn...@gmail.com>.
The best way is to put your wsdl in the root of the SU and add
<classpath>
<location>.</location>
</classpath>
On 10/30/06, Roozbeh <ro...@yahoo.com> wrote:
>
> hmm, yeah actually I did like this:
>
> <classpath>
> <location>../../../../Platform/Interfaces/src/main/wsdl</location>
> </classpath>
> <jsr181:endpoint wsdlResource="classpath:PartyAccount.wsdl"
> style="wrapped" ..... />
>
> the location contains the relative path to my SU folder which is as I found
> in documentation and I get the error:
>
> class path resource [PartyAccount.wsdl] cannot be resolved to URL because it
> does not exist
>
>
>
> gnodet wrote:
> >
> > You can not add a single file in the classpath.
> > By definition, you add a "path", so you can point
> > to any jar/zip archive or a folder which contains you wsdl.
> > Then you can use the spring "classpath:" schema to
> > point to it.
> >
> > On 10/30/06, Roozbeh <ro...@yahoo.com> wrote:
> >>
> >> Hi,
> >>
> >> it seems that <classpath> tag in xbean.xml file for jsr 181 doesn't
> >> understand the url of wsdl file. Can anyone help?
> >>
> >> Thanks,
> >> Roozbeh
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Classpath-problem-tf2538342.html#a7071771
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Classpath-problem-tf2538342.html#a7072737
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet
Re: Classpath problem
Posted by Roozbeh <ro...@yahoo.com>.
hmm, yeah actually I did like this:
<classpath>
<location>../../../../Platform/Interfaces/src/main/wsdl</location>
</classpath>
<jsr181:endpoint wsdlResource="classpath:PartyAccount.wsdl"
style="wrapped" ..... />
the location contains the relative path to my SU folder which is as I found
in documentation and I get the error:
class path resource [PartyAccount.wsdl] cannot be resolved to URL because it
does not exist
gnodet wrote:
>
> You can not add a single file in the classpath.
> By definition, you add a "path", so you can point
> to any jar/zip archive or a folder which contains you wsdl.
> Then you can use the spring "classpath:" schema to
> point to it.
>
> On 10/30/06, Roozbeh <ro...@yahoo.com> wrote:
>>
>> Hi,
>>
>> it seems that <classpath> tag in xbean.xml file for jsr 181 doesn't
>> understand the url of wsdl file. Can anyone help?
>>
>> Thanks,
>> Roozbeh
>> --
>> View this message in context:
>> http://www.nabble.com/Classpath-problem-tf2538342.html#a7071771
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
>
>
--
View this message in context: http://www.nabble.com/Classpath-problem-tf2538342.html#a7072737
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Classpath problem
Posted by Guillaume Nodet <gn...@gmail.com>.
You can not add a single file in the classpath.
By definition, you add a "path", so you can point
to any jar/zip archive or a folder which contains you wsdl.
Then you can use the spring "classpath:" schema to
point to it.
On 10/30/06, Roozbeh <ro...@yahoo.com> wrote:
>
> Hi,
>
> it seems that <classpath> tag in xbean.xml file for jsr 181 doesn't
> understand the url of wsdl file. Can anyone help?
>
> Thanks,
> Roozbeh
> --
> View this message in context: http://www.nabble.com/Classpath-problem-tf2538342.html#a7071771
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet