NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
How to test for the www.xxxxx.com?wsdl parameter?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to test for the www.xxxxx.com?wsdl parameter? (Read 4081 times)
patrick de laet
Newbie
Posts: 35
How to test for the www.xxxxx.com?wsdl parameter?
«
on:
September 11, 2015, 02:34:43 AM »
(NetTalk 6 - handcoded NetWebPage procedure)
I have to return a SOAP WSDL definition to everyone who requests
www.xxxxx.com?
wsdl.
How do I test in my netWebpage for the presence of the ?wsdl parameter?
I tried ...
If p_web.IfExistsValue('wsdl')
message('yes')
Else
message('no')
End
But it doesn't work for
www.xxxxx.com?
wsdl
It does work for
www.xxxxx.com?
wsdl=1
but this is not an option.
(and going to NetTalk 8 is also not an option, because my program is still in C6)
(and going to C9 is not an option, because I don't have the time for the moment :-) )
regards
patrick de laet
«
Last Edit: September 11, 2015, 02:36:18 AM by patrick de laet
»
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: How to test for the www.xxxxx.com?wsdl parameter?
«
Reply #1 on:
September 11, 2015, 04:04:37 AM »
Hi Patrick,
I think just do an instring on
p_web.WholeURL
eg
if instring('?wsdl',lower(p_web.WholeURL),1,1)
! whatever.
Cheers
Bruce
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
How to test for the www.xxxxx.com?wsdl parameter?