Forums Register Login

change to soap request

+Pie Number of slices to send: Send
this is my form


this is a servlet

this is database class



currently it goes to server as HTTPS.
i need to change this as a send to Soap request to the server.
how should i change my code?
+Pie Number of slices to send: Send
Hi!
I am assuming that you at least attempt to use some kind of MVC-like pattern:
The UI part does not need any changes.
The controller (servlet) needs to be injected with a web service client, to which it delegate the work. You should also remove all references to the database handler from the controller.
The database part does not need any changes, but instead of being injected into the controller, it should be injected into the web service class.
Additionally, you need to implement the web service.
Best wishes!
get schwifty. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1723 times.
Similar Threads
error of missing values
what sould be generator element & where to put save method
java.lang.NoClassDefFoundError
exception while running code
is there a any validation API in java
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:46:38.