Author Topic: It is possible to jump from a JSP application to an ASP application in GVP 7.6?  (Read 3834 times)

Offline ducavalcanti

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Let me explain a little bit more of my doubt.

I'm developing a brand-new IVR application with Genesys Studio. For that, I'm using Java (JSP).
My client has a legacy application written in ASP but, for cost reduction, they decided to turn it off, lefting only the new JSP application active.

Now, as I thought, they regretted doing that, so now they want me to include in the IVR the old funcionalities that were present in the old ASP application.

My question is: Can I use a JUMP block (or something like that) to direct a call from my JSP IVR to the old ASP IVR?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Remember, GVP consumes XML, no matter if build with PHP, ASP, JSP, CFUSION, whatever you want...whatever it does on ASP can be done on JSP and any other language.
It is like if you ask that if you can call a WS made on ASP from a JSP page, the answer is....yes, yes you can do it.

Offline ducavalcanti

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
[quote author=cavagnaro link=topic=7355.msg31431#msg31431 date=1344888853]
Remember, GVP consumes XML, no matter if build with PHP, ASP, JSP, CFUSION, whatever you want...whatever it does on ASP can be done on JSP and any other language.
It is like if you ask that if you can call a WS made on ASP from a JSP page, the answer is....yes, yes you can do it.
[/quote]

Thank you very much for your answer. I'll try to implement what I'm wanting to do and I'll post here the results.

Offline ducavalcanti

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Well... I tried to use a jump block on my JSP application and then, in my ASP application, tried to get the query string parameters at the start block. I didn't succeed.

Why can't I get the values from the query string passed on the jump URL?

The jump URL is: http://localhost/Aplications/SelfService/Main_Start.asp?num=123456789&service=04

[b]I'm basically using the following code at the Main_Start block:[/b]
[i]Session("Number) = Request.QueryString("num")
Session("Service") = Request.QueryString("service")[/i]

When I try to use the session values after in the code, they are empty :(

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
&?? Is that like that?

That is bad encoded should be only &