Under you WEB-INF folder, in web.xml file, put the following code
<security-constraint>
<web-resource-collection>
<web-resource-name/>
<url-pattern>/services/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>wsrole</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
and inside server-config.wsdd put the following lines of code
<wsdlFile>Subscriber.wsdl</wsdlFile>
<requestFlow>
<handler type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
<handler type="java:org.apache.axis.handlers.SimpleAuthorizationHandler"/>
</requestFlow>
<parameter name="allowedRoles" value="wsrole"/>
........
.....
</wsdlFile>
and under the JRun's jrun-users.xml file , put the following lines of code
<jrun-users>
<encryption>false</encryption>
<user>
<user-name>itswsu</user-name>
<password>7#a0x!3M</password>
</user>
<role>
<role-name>oprole</role-name>
<user-name>oprwsu</user-name>
</role>
</jrun-users>
let me know, if you have any questions
On 10/31/05, Ravi Krishnamurthy <[EMAIL PROTECTED]> wrote:
Thanks Ketan.
Ketan Deshpande wrote:There is some stuff in axis-1_3\samples\stock\
deploy.wsdd, GetQuote1
-K
--- Ravi Krishnamurthy <[EMAIL PROTECTED]> wrote:
Hello:
There are some webservices that needs some authentication to access the
wsdl itself. Could anybody point me to some examples on how to get hold
of the wsdl.
In my project we need to develop a configuration and runtime for
webservices that helps the users to navigate through the webservice and
choose what operations to want to use etc.
This is very urgent and I would appreciate any help on this.
I ahve posted this message once and did not get any reply. So trying it
again.
Thanks,
Ravi
Ketan Deshpande
[EMAIL PROTECTED]
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
