ATTENTION

This 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

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 02-17-2016
Long Tang
Guest
 
Posts: n/a
Downloads: 0
Uploads: 0
Default 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  
Old 02-18-2016
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

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.
Attached Files
File Type: fsm google_distance_example.fsm (11.8 KB, 343 views)
The Following 7 Users Say Thank You to Phil BoBo For This Useful Post:
Sung Kim (02-22-2016)
  #3  
Old 02-19-2016
Long Tang
Guest
 
Posts: n/a
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Phil BoBo View Post
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.
hi Phil BoBo,
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  
Old 03-28-2016
Jayanth Varanasi
Guest
 
Posts: n/a
Downloads: 17
Uploads: 0
Post

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.



All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.