JAVA - REST/SOAP servlet

In Progress Posted Mar 13, 2015 Paid on delivery
In Progress Paid on delivery

===========================

== Overview

===========================

User inputs a username & password. On form submission, the servlet POST to an authentication URL where a sessionToken is received. The session token is then POST to another url where the response is validated. The response of the authentication or authorization call will be either SOAP or REST. The response is in

XML format in both cases.

The service this code interacts with is detailed here: [login to view URL]

Additional details are contained in the requirements below.

===========================

== Requirements

===========================

1. create a servlet which presents a field for username and password. POST the information to <AU_POST_URL>. The response contains <RESPONSE_VALUE>, which is the users's <SESSION_TOKEN>.

2. Depending on the value of config parameter <TYPE> authentication/authorizations must behave according to respective type:

[login to view URL] (expand this element to see examples)

2.1 - On authentication success

- Create a <SESSION_COOKIE> with a value of <SESSION_TOKEN>.

- display message Auth: <RESULT_CODE>

2.2 - on authentication failure

- create a <SESSION_COOKIE> with a value of <RESULT_CODE>.

- display message Auth: <RESULT_CODE>

3. If the value of <performAZ>=yes, perform the following:

After receiving a <SESSION_TOKEN>, make an authorization call of type <soapOrRest> to validate the token. Success or failure will be determined by the value of <RESULT_CODE> in the response.

[login to view URL] (expand this element to see examples)

3.1 - On authorization success

- Create a <SESSION_COOKIE> with a value of <SESSION_TOKEN>.

- display message: AZ: <RESULT_CODE>

3.2 - on authorization failure

- create a <SESSION_COOKIE> with a value of <RESULT_CODE>.

- display message: AZ: <RESULT_CODE>

4. At minimum, Make the following items configurable through a config file such that the application does not require recompiling for changes to take effect:

- AU_POST_URL = <url>

- AU_RESPONSE_VALUE_LOCATION = <xpath to AU response>

- SESSION_COOKIE = <cookieName>

- soapOrRest = <SOAP|REST>

- LOG_PATH = <path>

- LogLevel = <error|warn|debug>

- performAZ = <yes|no>

- AZ_POST_URL = <url>

- AZ_appID = <defaultAgentName?>

- AZ_action = <get|post>

- AZ_resource = <resource>

- AZ_RESPONSE_VALUE_LOCATION = <xpath to AZ response>

5. Utilize log4J as a logging mechanism for the application. Within the config file, provide the ability to specify the log file and log level. Create ability to specify which events correlate to a specific log levels (error|warn|debug).

6. Verify requests made receive a successful HTTP status code (200) before attempting to process any of the above requirements. Anything other than a 200 shall: log this as an error, display the received status code.

===========================

== Additional Requirements

===========================

a. Finished product must include clear-text java code with instructions to compile from command line producing a WAR file. COTS libraries may be included as jar files packaged in the WAR file.

b. Required to work with JRE 1.6 and higher on Tomcat, Jboss, Websphere, Weblogic.

c. Comment code completely

d. Read and understand all the requirements. If you cannot meet them, do not bid on the project.

e. If you have suggestions to make the project cleaner/better, bring them up for discussion.

f. When submitting code for testing, indicate whether it meets all requirements or it is partially working.

===========================

== Reference Info

===========================

[login to view URL]

Java RESTful Ruby on Rails Software Architecture Web Services

Project ID: #7302937

About the project

16 proposals Remote project Active Mar 17, 2015

16 freelancers are bidding on average $57 for this job

IMSeriousBidder

A proposal has not yet been provided

$35 USD in 1 day
(110 Reviews)
7.4
quanlitysource

A proposal has not yet been provided

$45 USD in 1 day
(91 Reviews)
5.8
dipakjadhav08

Hello, I have 6 years experience in java. I can do this assignment. Please message me for further discussion.

$25 USD in 3 days
(85 Reviews)
5.4
VnBestSolutions

Dear Sir. We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! More

$54 USD in 1 day
(18 Reviews)
4.8
indianpws

Hi, I am a software developer with more than 16 years' experience, mainly in web technologies/Java/J2EE/Spring. I assure you of a high quality job in very quick time. Regards Nitin

$45 USD in 1 day
(17 Reviews)
5.0
aoden

Đề xuất vẫn chưa được gửi

$30 USD in 3 days
(28 Reviews)
4.1
MohamedIbrahimCS

We are Egyptian team, and i am sure that you will get our work is a great as you expect, all of team have a diploma in javaSE, JavaEE, JavaFX using many technologies like Struts1, Struts2, Hibernate, JPA, Spring, Sprin More

$111 USD in 2 days
(18 Reviews)
4.2
dineshchand1984

Hi I have more than 9 years of experience in developing web-services (clients as well as services) using j2ee tools. I can assure you of timely completion and high quality deliverable. Regards Dinesh

$83 USD in 1 day
(11 Reviews)
3.9
SCKRamana

I am ready to work on your Wev service implementation as per below all points More

$30 USD in 0 days
(46 Reviews)
5.0
vikashtech1st

Hi there, I would like to work on your project. For my delivered work and commitment, you can have a view of my portfolio and employer reviews. Please let me know further for discussion if interested

$30 USD in 1 day
(17 Reviews)
4.3
Arjuna888

A proposal has not yet been provided

$35 USD in 3 days
(0 Reviews)
0.0
threadnix

A proposal has not yet been provided

$35 USD in 4 days
(0 Reviews)
0.0
jawadtallat

I am Java developer and additional skill in javascript, jquery, html, css, php and c++. If you give me the opportunity then I will not disappoint you, thank you.

$25 USD in 1 day
(0 Reviews)
0.0
ajssoftpk

Having more than 8 years of exp. in Java/J2ee, As this would be my first project at freelancer so i am bidding lowest amount. Kindly consider me for this task, I have relevant exp and can provide you with all requireme More

$15 USD in 3 days
(0 Reviews)
0.0