axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <robertlazar...@gmail.com>
Subject Re: Axis2.1.1 services.xml
Date Thu, 30 Nov 2006 12:56:43 GMT
For #1, try:

<excludeOperations>
        <operation>yourMethodNotIncluded</operation>
</excludeOperations>

HTH,
Robert

On 11/30/06, Pär Malmqvist <par_malmqvist@hotmail.com> wrote:
>
> Hi, I have two short questions about the services.xml file.
>
> I have a services.xml file that looks like this:
>
> <service name="FileDB2" scope="application">
>   <description>
>     This is a webservice for FileDB2
>   </description>
>
>   <messageReceivers>
>     <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
>                class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
>   </messageReceivers>
>
>   <parameter name="ServiceClass" locked="false">main.FileDB2
>   </parameter>
>
>   <operation name="getFilesByFileCode"
>              mep="http://www.w3.org/2004/08/wsdl/in-out">
>      <actionMapping>urn:getFilesByFileCode"</actionMapping>
>      <faultActionMapping faultName="FileException">urn:FileException
>      </faultActionMapping>
>   </operation>
>
> </service>
>
>
>
> 1) When I deploy this service all my public methods in the class
> main.FileDB2 gets deployed and appears in the wsdl file.
> My intention was to deploy the method getFilesByFileCode only.
> What shall I do? (I dont want to remove all my other public methods from
> the class...)
>
> 2) I cant see the faultName FileException anywhere in the wsdl file
> generated by Axis2
> How could clients then know anything about my FileException?
> What is wrong?
>
> I really appreciate some help!
>
> /Pär
>
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------
> FREE pop-up blocking with the new MSN Toolbar MSN Toolbar<http://g.msn.com/8HMAEN/2752??PS=47575>Get
it now!
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional
> commands, e-mail: axis-user-help@ws.apache.org

Mime
View raw message