axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pär Malmqvist" <par_malmqv...@hotmail.com>
Subject Axis2.1.1 services.xml
Date Thu, 30 Nov 2006 12:14:27 GMT
<html><div style='background-color:'><P class=RTE><FONT face="Courier
New, Courier, Monospace">Hi, I have two short questions about the services.xml file.</FONT></P>
<P class=RTE><FONT face="Courier New, Courier, Monospace">I have a services.xml
file that looks like this:</FONT></P>
<P class=RTE><FONT face="Courier New, Courier, Monospace">&lt;service name="FileDB2"
scope="application"&gt;<BR>&nbsp;&nbsp;&lt;description&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;This
is a webservice for FileDB2<BR>&nbsp;&nbsp;&lt;/description&gt;<BR><BR>&nbsp;&nbsp;&lt;messageReceivers&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;messageReceiver mep="</FONT><A href="http://www.w3.org/2004/08/wsdl/in-out"><FONT
face="Courier New, Courier, Monospace">http://www.w3.org/2004/08/wsdl/in-out</FONT></A><FONT
face="Courier New, Courier, Monospace">"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/&gt;<BR>&nbsp;&nbsp;&lt;/messageReceivers&gt;<BR><BR>&nbsp;&nbsp;&lt;parameter
name="ServiceClass"&nbsp;locked="false"&gt;main.FileDB2</FONT><FONT face="Courier
New">&nbsp;<BR>&nbsp; &lt;/parameter&gt;<BR><BR>&nbsp;

</FONT><FONT face="Courier New, Courier, Monospace">&lt;operation name="getFilesByFileCode"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
mep="</FONT><A href="http://www.w3.org/2004/08/wsdl/in-out"><FONT face="Courier
New, Courier, Monospace">http://www.w3.org/2004/08/wsdl/in-out</FONT></A><FONT
face="Courier New, Courier, Monospace">"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;
&lt;actionMapping&gt;urn:getFilesByFileCode"&lt;/actionMapping&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;faultActionMapping
faultName="FileException"&gt;urn:FileException<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/faultActionMapping&gt;<BR>&nbsp;&nbsp;&lt;/operation&gt;<BR><BR>&lt;/service&gt;</FONT></P>
<P class=RTE><FONT face="Courier New"></FONT>&nbsp;</P>
<P class=RTE><FONT face="Courier New">1) When I deploy this service all my public
methods in the class main.FileDB2 gets deployed and appears in the wsdl file.<BR>My
intention was to deploy the method getFilesByFileCode only.<BR>What shall I do? (I dont
want to remove all my other public methods from the class...)</FONT></P>
<P class=RTE>2) I cant see the faultName FileException anywhere in&nbsp;the wsdl
file generated by Axis2<BR>How could clients then know anything about my FileException?<BR>What
is wrong?<BR></P>
<P class=RTE>I really appreciate some help!<BR>&nbsp;<BR>/Pär</P>
<P class=RTE>&nbsp;</P>
<P class=RTE><FONT face="Courier New"></FONT>&nbsp;</P>
<P class=RTE><FONT face="Courier New"></FONT>&nbsp;</P>
<P class=RTE><FONT face="Courier New"></FONT>&nbsp;</P>
<P class=RTE><FONT face="Courier New"></FONT>&nbsp;</P>
<P class=RTE><FONT face="Courier New, Courier, Monospace"></FONT>&nbsp;</P></div><br
clear=all><hr>FREE pop-up blocking with the new MSN Toolbar <a href="http://g.msn.com/8HMAEN/2752??PS=47575"
target="_top">MSN Toolbar</a> Get it now!</html>


---------------------------------------------------------------------
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