Roberto P. Well-Known Member Licensed User Longtime User Apr 17, 2015 #1 how can I call a servlet (third-party) contained TomCat with objects available in B4J? thanks
Erel B4X founder Staff member Licensed User Longtime User Apr 17, 2015 #2 You cannot send objects to an external servlets. However you can use HttpUtils2 to contact the external service like any other web service. Upvote 0
You cannot send objects to an external servlets. However you can use HttpUtils2 to contact the external service like any other web service.
Roberto P. Well-Known Member Licensed User Longtime User Apr 17, 2015 #3 Hello Erel, I have not asked the question in the right way! I will not send items to a servlet, but data. Forgive me if I repeat the question. We tried again: from B4J I can call a Servlet and send data, even in the form of parameters? thanks Upvote 0
Hello Erel, I have not asked the question in the right way! I will not send items to a servlet, but data. Forgive me if I repeat the question. We tried again: from B4J I can call a Servlet and send data, even in the form of parameters? thanks
Erel B4X founder Staff member Licensed User Longtime User Apr 17, 2015 #4 Yes. The way to do it depends on the format the external servlet expects. Upvote 0
Roberto P. Well-Known Member Licensed User Longtime User Apr 17, 2015 #5 great. which object of B4J use to call the servlet? is there any example in the forum? thanks Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 19, 2015 #6 HttpUtils2. There are many examples of using it. Upvote 0