Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shehanudantha/currency_converter-soap
Created a Soap web service for currency conversion using HTML, CSS, JavaScript, Java, Flask
https://github.com/shehanudantha/currency_converter-soap
Last synced: 20 days ago
JSON representation
Created a Soap web service for currency conversion using HTML, CSS, JavaScript, Java, Flask
- Host: GitHub
- URL: https://github.com/shehanudantha/currency_converter-soap
- Owner: ShehanUdantha
- Created: 2022-12-26T14:05:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-26T15:59:04.000Z (almost 2 years ago)
- Last Synced: 2024-10-06T11:40:57.196Z (about 1 month ago)
- Language: Java
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Currency_Converter-SOAP
Create a Soap web service for currency conversionTo Installation
Step 1: Clone the project
git clone https://github.com/ShehanUdantha/Currency_Converter-SOAP.gitStep 2: Open the project in your IDE
Once the project is cloned, open the IDE and locate in to the project clone folder and open WebServer folder.Step 3: Configure the JDK version
Make sure that the JDK version used by your IDE is set to 1.8.Step 4: Add the json-simple library to the project
This project uses the json-simple library to parse JSON data. In order to run the project, you will need to download the json-simple-1.1.1.jar file and add it to the project's external libraries.Step 5: Run the WS java file
Once the project is set up and configured correctly, you can run the WS java file to start the web service. This will start a web server on your local machine and create the WSDL file.
Step 6: View the WSDL file
To view the WSDL file, open a web browser and navigate to the following URL:
http://localhost:8888/WebService?wsdl
This will display the WSDL file, which contains information about the web service's methods.Now Server Side is finished, let move to Client Side
Step 1: Open the project in your IDE
Once the project is cloned, open the IDE and locate in to the project clone folder and open WebClient folder.Step 2: Install the required Python packages
Before you can run the main.py file, you may need to install some additional Python packages.
pip install zeep
pip install flask
pip install jsonifyStep 3: Run the main.py file
This will start the client application and display a message in the terminal indicating that the server is running.Step 4: View the client web page
To view the client web page, open a web browser and navigate to the following URL: http://127.0.0.1:5000/Step 5: Convert currencies
To convert currencies using the client web page, select the currency codes in selectors and enter the amount in the input fields and click the "Convert" button. The web page will display the result of the conversion.