Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to java / web services

Status
Not open for further replies.

plork123

Programmer
Mar 8, 2004
121
GB
I need to write some server-side java files. The java will generate a successful token which can be stored in a db until a user logs out

Once the security java classes have been written I need to create a web service where 3rd parties can log in, this talks to my server-side java files generates the token and allows any 3rd party in to access information on our db.

The java and web service have to be secure, so i'm thinking of Apaxhe Axis, http, SSL, XML and creating a WSDL file.

Because I'm new to all this I really have no idea where to start

Has anyone written a login web service and can give me some advice?

Am I right in writing the java files first to get the security under wraps and then write the web service to gain access to our db so 3rd parties can get their info. The data the 3rd party can have access to will come down in a XML formatted file (the WSDL file) for the 3rd party to do with what they please


Thanks in advance
 
Hi Plork123,

First create webservices (web methods) to access the login details in the Server(IIS/Apache/Weblogic).

Use WSDL to create the stubs of the web methods on the client application and access the web methods as normal methods by importing those package in to the client application.

Regards,
R.Venkatesh
Ocimum Biosolutions
Hyd
 


Hi

Would it be possible to give an example?

How should i do the login - I was thinking of writing a logon servlet and store the credentials in the httpsession

When the using 'gets in' to the web services page I need to be able to make sure the user is valid which I'm not too sure how to do

Thanks for you help
 
Please do not run several threads on the same topic !!!

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top