Find Jobs
Hire Freelancers

Web service connection / save connection status /refresh/update if changed.

$10-30 AUD

Closed
Posted almost 4 years ago

$10-30 AUD

Paid on delivery
Need a web service connection to an existing REST based Web service Interface. In simple terms, connect to web service (documentation is online for this service) using JS, after user enters KEY in a simple web form, take the response from webservice which comes in XML, and store this to be used for the session. The values should be used as a variable to access rest of the site, primarily the KEY, local IP address etc. The files required are JS, and the html page(s) to call the JS, and store the response and an a page to call the dynamically based on the response. Process: Ask the user for an access key An access key will be six case-sensitive letters. No digits or symbols are used. Lookup server addresses from access key Call the web service (replace [Access Key] with the actual access key): http://webserver/libraryserver/lookup?id=[Access Key] It is recommended that you use a short timeout. Optionally wake computers Loop the IP addresses returned and send a wake request to each MAC address returned. The details of creating magic packets for wake requests. For Java code, this might help: [login to view URL] Try connecting to each IP address Loop the IP addresses returned, and attempt to connect to: http://[Returned IP Address]:[Returned Port]/MCWS/v1/Alive Be sure to loop the addresses in order so that you first attempt to connect on the LAN and only fallback to the WAN if necessary. Use a short timeout, usually 2 to 5 seconds. Parse the response and make sure the access key matches the access key entered by the user. Also, check the library version and program version as necessary. Authenticate Call the web service function: MCWS/v1/Authenticate Provide the saved username and password if you have one. If authentication does not succeeed, ask the user for their username and password. Then repeat. Store the token returned and include it in all future calls. Use MCWS You can start using the web service at this point. Include the token in each call using &Token=[Token Received During Authentication]. Tips Most all web service responses use the same XML response format. Create a single object to represent the response you can use for all calls.
Project ID: 25523441

About the project

2 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $50 AUD for this job
User Avatar
I basically understand your needs, I believe I can help you. I have been working in Java for six years, most of the time in system docking.
$80 AUD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello i am Daniel actually i am Java Senior developer and i work in ScotiaBank i really know to develop backend software in SpringBoot framework, i have 7 years of experiences and i really know how to develop a java enterprise software. Regards: I hope that you check my profile, i am new in freelacer but i am a profesional software developer. Thanks.. Daniel Camilo Correa 57-3102897038
$20 AUD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Sydney, Australia
0.0
0
Payment method verified
Member since Oct 10, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.