Url to open a mimic

9 Posts
4 Users
0 Likes
77 Views
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
Topic starter
 

Hi guys,
Do you know if we can open a specific mimic using a specific URL?
I think we an do it but I don't remember how :S
Don't we have this feature implemented on our Web Portal demo?

 
Posted : 02/09/2013 9:52 am
(@f.despontin@arcinfo.com)
Posts: 0
New Member Guest
 

Hello,

In order to specifiy a mimic we need to use the OpenCustomSession (see in the WST_DeveloperManual. Then you can give a specific mimic in parameters.

The problem is that OpenCustomSession will open a session, so it will be necessary to close it.

BR

 
Posted : 02/09/2013 10:59 am
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
Topic starter
 

Hi Florent,

I checked the WST_DeveloperManual and didn't find any example of the url to use.
Can you give us one please?

 
Posted : 16/10/2013 4:05 pm
f.martin
(@f-martinarcinfo-com)
Posts: 148
Member Admin
 

Hello Nicolas,

You asked one Florent, and it's another one who answers...

Our web services are ASMX web services, ASMX web services use SOAP, and SOAP requests use only POST to invoke methods. That means you can't call them through an Url with the parameters in it (GET method).
In addition, the OpenCustomSession uses a complex datatype (parameters), and which can't be described through the url.

What do you intend to do ? Which language are you using?

 
Posted : 16/10/2013 4:49 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
Topic starter
 

Hi Florent,

Thanks.
Checking on Internet how to make a POST request using a browser.
I found that you can make a HTML page containing a form. Here you can fill up the parameters and submit.
That's my form:

-

-

-

But when I submit it doesn't work too :unsure:

That question came from Nono. I will check with him what he wants to do exactly...

 
Posted : 17/10/2013 7:10 am
f.martin
(@f-martinarcinfo-com)
Posts: 148
Member Admin
 

Here is a sample page I just made




UserName : 
Password :
projectLanguage :
SessionId :

First line: it's mandatory to include this file
Form: you have to put the name of the function you want to call in the url

The CloseSession is working fine, but the OpenSession doesn't work on my side.

 
Posted : 17/10/2013 10:48 am
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
Topic starter
 

Ok thanks

 
Posted : 18/10/2013 7:58 am
(@m.nau@ypsys.com)
Posts: 0
New Member Guest
 

Hi everyone,

I re-open this discussion. I have a question from one of my customer?

How I can open a specific WebVue Mimic (with automatic login/pswd) over a QR Code?

So my question is : How can I open a specific WebVue mimic with a specific URL.

or

Can we attached a specific URL to a Specific WebVue Mimic?

I try the Florent's example, but my skills are to low for this.

Thanks

Manu

 
Posted : 28/11/2014 3:44 pm
(@admin_doc72)
Posts: 493
Member Admin
 

Hi Manu,

I confirm that using SessionContext.OpenCustomSession() is still the only way to navigate a user to a specific mimic when opening WebVue.

In your case you could consider to create a database which associates the data encrypted in the QR-code to a mimic/branch combination (or you could probably also directly store the mimic/branch names on the QR-code). Then, after scanning the code, you pass the code to the database and get the mimic/branch names in return. Open a session over the web services toolkit by using SessionContext.OpenCustomSession() and pass the session id into WebVue. I have explained here how to achieve that.

By the way: We are also about to start working on a feature like the one you have described in the context of TouchVue. If your customer does not require graphical mimics, but pure data to be associated with the QR-code feel free to contact me for further details.

 
Posted : 01/12/2014 3:05 pm