title: SOAP Web service API Key
body: <p>I am currently working on a project related to fantasy football in java and would like to expose functionality via SOAP based web service. I have noticed that some existing firms share their web service along with an API key when you registered. If a client wishes to consume the service, they need to pass in the any parameters required for the method along with the mandatory API key. I would like to introduce a similar functionality and also would like to know whether there are any good libraries for java that can be used to generate an API key for each registered user who wish to consume the web service. Appreciate if you could share any existing tutorial along with the answer. Thanks in advance.</p>
  
  <p>My current tech stack:
  Netbeans - ide,GlassFish,JSF,Metro and MySQL</p>
  
  <p>sample reference:
  <a href="http://www.xmlsoccer.com/FootballData.asmx/GetLiveScore?ApiKey=YourAPIKey" rel="nofollow">http://www.xmlsoccer.com/FootballData.asmx/GetLiveScore?ApiKey=YourAPIKey</a></p>
  
  <p>WSDL of the above sample:
  www.xmlsoccer.com/FootballData.asmx?WSDL</p>
  
  <p>Docs:
  www.xmlsoccer.com/xmlsoccer.pdf</p>