Mehmet,

I just checked your sample with the latest 2.0.5 snapshot stuff and the 
wsdl contains three operations: keepAlive, login, logout
Those correspond to the three methods on the interface.


The only difference I'm seeing is in the "different package" case, the 
portType and messages have to be in a different namespace so the top 
level wsdl has to import the wsdl with those defs.   The same 
namespace/package case allows everything to be in one wsdl.

If you want everything in a single wsdl, specify namespace attributes on 
the @WebService annotations for both the interface and impl and make 
them match.

Dan



On Monday 10 March 2008, Mehmet Imga wrote:
> Hi Dan,
>
> I copied 2 samples, one is OK other one has problem.
> if you compare the WSDL files you will see the problem.
>
> could you please also email me your sample?
> ps: please copy CXF libraries under <build_root>\lib directory.
>
> Thanks for your quick response,
> Mehmet
>
>
> ----- Original Message ----
> From: Daniel Kulp <[EMAIL PROTECTED]>
> To: [email protected]
> Cc: Mehmet Imga <[EMAIL PROTECTED]>
> Sent: Friday, March 7, 2008 2:47:44 PM
> Subject: Re: interface and implemantation files under different
> package
>
>
> That would be very strange.  I just attempted a quick test here and it
> worked fine.  Is there any way you can send a testcase?
>
> Dan
>
> On Friday 07 March 2008, Mehmet Imga wrote:
> > Hi,
> >
> > If I put interface and implementation classes in different package,
> > CXF doesn't expose all my methods in wsdl file. did any body has
> > same problem before? do I need to add extra annotations in interface
> > or implementation files?
> >
> > Thanks,
> > Mehmet
> >
> >
> >      Connect with friends from any web browser - no download
> > required. Try the new Yahoo! Canada Messenger for the Web BETA at
> > http://ca.messenger.yahoo.com/webmessengerpromo.php



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to