-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sanka Samaranayke wrote:
>
> Reposting with proper prefix
>
> --Sanka
>
> Vedha Vijayan wrote:
>>> Hi,
>>>
>>> I'm trying to expose an existing service as a POJO service. I
> have few
>>> queries;
>>>
>>> 1. I understand that the MessageReceivers defined in the
>>> services.xml file have to be in the same order as the methods
>>> defined in the
> service
>>> implementation class. Should one define message receivers for
>>> only "public" methods ? Is this assumption correct?
Adding the following in the services.xml would do in terms of associating
MessageReceivers with the public methods that you want to expose.
<messageReceivers>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</messageReceivers>
>>>
>>> 2. How do we inform the WSDL generator to not map (filter out)
> certain
>>> "public" methods to WSDL operations?
Adding the following to the services.xml would do in terms of
excluding public
methods that you don't want to expose.
<excludeOperations>
<operation>foo</operation>
</excludeOperations>
( i.e. 'foo' is the name of the public method that you don't want to
expose)
Hope this will help
Best,
Sanka
>>>
>>> 3. In one of the replies to my previous post, I was asked to
>>> use Axis2-1.1.1 version in-order to overcome problems with stub
>>> code generation using XMLBeans databinding. I'd like to use a
>>> RC version. When do you anticipate releasing RC for v1.1.1? And
>>> is the
> problem with
>>> Stub code generation tightly coupled to the databinding scheme
>>> used? What i'm trying to understand is if I could get around
>>> the
> problem if i
>>> move to a different databinding scheme such as Adb or JibX.
>>>
>>> Thanks in advance.
>>>
>>> vedha
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>
>
> -- Sanka Samaranayake WSO2 Inc.
>
> http://sankas.blogspot.com/ http://www.wso2.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> -- Sanka Samaranayake WSO2 Inc.
>
> http://sankas.blogspot.com/ http://www.wso2.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
iD8DBQFFonQi/Hd0ETKdgNIRAgUEAKCWgoBaJygtfG+bBJxi/5T75kMUHACgj9cC
3jDe4lr1BfhozKljU26gk6E=
=nJ1A
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]