Hello,

I really need help for this problem, anybody can help me? Perhaps the
solution doesn't exist but perhaps I'm doing something wrong when I'm using
Axis2 (for exemple in the services.xml file)...

Thanks a lot!!!

Nicolas

-----Original Message-----
From: Nicolas Rouiller [mailto:[EMAIL PROTECTED] 
Sent: lundi, 7. mai 2007 09:39
To: axis-user@ws.apache.org
Subject: Axis2 wsdl generation

Hello,

I have writted a simple web service. To do that, I have made the following
operation :

1) I have writted my code in Java. I exposed the following method as web
service :
        public String getFiles(String files, CustomerInformations
customerInfos, MediaType type);

2) I have writted the following file services.xml :

<service targetNamespace="ch.softcomponent.mes" name="MESFilesProvider">
   <description>
      Web services to provide media files
   </description>
   <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>
   <parameter name="ServiceClass"
locked="false">ch.softcomponent.mes.mesfilesprovider.MESFilesProviderWS</par
ameter>
</service>

3) I have package my classes and my services.xml in an AAR archive (with
maven plugin).

4) I have deployed the AAR.

When I wrote a client, I see there is only one parameter of the class
"getFiles". And the return type is from the class "getFilesResponse". It's
possible to customize that? (I think, it's not very elegant to have the
class "getFiles" from parameter to the method "getFiles()".

Thanks.

Nicolas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to