Skip to main content

Get info from the WSDL file of client

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2005-05-12

I am totally new to web services, and for school we got a project. The project is: develop a web service which keeps count of how many times a client used a webservice in a pre defined time interval, and how many times outside of the pre defined interval, using web service policies.

I am using a glassfish server, and now my problem is, how do you get the username from the clients wsdl file (I am using username authentication with symmetric keys) in the actual java code for the web service. So that I can store this in a database with the data if he used the web service in the valid time or not.

Maybe I'm looking at this in a totally wrong way, any help would be appreciated