ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Can flexsim interact with WMS?
I am simulate a warehouse's process which include goods entered,pick the order and send out the order.There is a warehouse management system to managing the warehouse.The WMS contains many algorithm logic.The algorithm is very complex,so it was difficult to realize the algorithm in flexsim.I want to send a HTTP protocol to the WMS by flexsim, After received the protocol the WMS will made calculation and send the result to the flexsim.Is it impossible?
|
#2
|
||||
|
||||
FlexSim can send HTTP requests and receive HTTP responses. If your WMS responds to HTTP requests, then you can query it using the command applicationcommand("sendhttprequest"...).
Attached is an example model that shows how you can use this command to query a server for information. The example queries Google Maps API to get the distance between two cities. |
The Following 7 Users Say Thank You to Phil BoBo For This Useful Post: | ||
Sung Kim (02-22-2016) |
#3
|
|||
|
|||
Quote:
The model is only shows how to query server for information.I don't known how can i post HTTP requests. And i known nothing about the command "sendhttprequest",it's a custom or flexsim own command?Is there any other ways to communicate with WMS except HTTP request and DLL? Regards, Long Tang |
#4
|
|||
|
|||
Hi,
Can anyone please explain HTTP requests/responses a bit more. I want to know how to communicate with a web-server from flexsim ? I have explored user manual for the same but couldn't understand much. It would be great if someone can put up a tutorial explaining the concepts of web communication in flexsim. Thank you. |