You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by kun xu <xu...@yahoo.com.cn> on 2006/05/11 11:57:16 UTC

回复: Re: One pl need your attention.

Hi Deepal,
   
  I understand it now.
  Thanks for your comment. :)
   
  Best regards!
   
  Alex

Deepal Jayasinghe <de...@opensource.lk> 写道:
  Hi Alex;
pls see my comment below;

kun xu wrote:

> Hi Dears,
> I met a pl.
> In user's guide, I read :" Every operation must have a corresponding
> MessageReceiver class. When Axis2 engine receives a message, after the
> message is being processed by the handlers, it will be handed over to
> a MessageReceiver." Does it means, every operation must be defined in
> the services.xml?

Nope, you need to specify operation only if you want to override them.
You can specify message receivers for given service as well. If you dont
specify message receiver for a given operation Axis2 will set default
message receiver for that op.

> But, I worte a class with 4 operations, only two of them defined in
> the services.xml. Then jar a aar package and upload. I can see the 4
> operations' name in listService page. And the operations didn't
> defined in services.xml also work smoothly.

Yes , Axis2 will published all the public method in the service impl
class. But you can exclude them if you do want to publish them as follows

op1


> Could you help me to understand it well.
> Thanks in advance!
> Best regards!
> Alex
>
> ------------------------------------------------------------------------
> 抢注雅虎免费邮箱-3.5G容量,20M附件! 


-- 
Thanks,
Deepal
................................................................
~Future is Open~ 




		
---------------------------------
抢注雅虎免费邮箱-3.5G容量,20M附件!