I agree. However, security risk is always there regardless you show your
wsdl or not. 
Authentication and other security measures such as SSL/HTTPS need to be
put in place to
prevent malicious attacks to your web services.
 
This is my opinion anyways.
 
Gul

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 16, 2006 11:06 AM
To: [email protected]
Subject: Re: [AXIS2] how to stop autogenerating wsdl for webservices?


Yes it's the contract.
But showing the contact to everybody means there is a security risk...
Do you agree?


On 11/16/06, Gul Onural < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >
wrote: 

        Why would you want to hide the wsdl ? The wsdl is the foundation
of the web services. It is your contract.
         
        Gul

________________________________

        From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
        Sent: Thursday, November 16, 2006 5:09 AM
        To: [email protected]
        Subject: Re: [AXIS2] how to stop autogenerating wsdl for
webservices?
        
        
        
        Thanks!
        But in these case,It just returns the wsdl file that I put into
the META-INF folder of the .aar service file. I tried and I'm not able
to empty the wsdl file because it will analyse the wsdl file when the
servcie is deployed. 
        What I really want it to hide the wsdl or just return nothing to
the user if somebody request the url:
http://myid/axis2/service/myService?wsdl
        Is this possible? 
        
        
        
        
        
        On 11/10/06, Gul Onural <[EMAIL PROTECTED]> wrote: 

                Hi Holy,
                 
                You need to add useOriginalwsdl  parameter to your
services.xml file, similar to the following :
                 
                  <service name="SimpleService">
                      <messageReceivers>
                          ...
                      </messageReceivers>
                      <parameter name="ServiceClass"
locked="false">com.example.SimpleService</parameter>
                      <parameter name="useOriginalwsdl">true</parameter>
                      <operation name=...>
                      </operation>
                   </service>
                

________________________________

                From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
                Sent: Friday, November 10, 2006 5:30 AM
                To: [email protected]
                Subject: [AXIS2] how to stop autogenerating wsdl for
webservices?
                
                
                
                  In Axis1 document there is someway to stop auto
generating wsdl for web services,
                But I can't find any document in Axis2 about howto
secure the webservcie,like stop 
                the list servcie or stop autogenerating wsdl for web
services,Can any guru give me some 
                clue about it?
                Thanks in advance!
                Holy
                



Reply via email to