I'm trying to use the inet/internetresult objects and the PostURL function
(PB8.0.3 build 9704) to get some results from a .PHP web service I've
written. Everything works fine if I use GetURL, or if I try to use PostURL.
However, if I try to use PostURL in conjunction with https (as opposed to
http) for the protocol, I get a -5 error, which according to the online help
is "Unsupported secure (HTTPS) connection attempted." If I try to GetURL
using the same protocol (https) and the same address, it works fine.
Further note that I have attempted to PostURL either with/without the header
"Content-Type: application/x-www-form-urlencoded" and/or specifying port 443
(no combination worked). I still get the -5 error. Through a browser form,
I can post to the same https page, with the same arguments, and I get my
results just fine. So I know the .PHP itself is working okay with https on
port 443. I'm just having no luck doing it through PB with PostURL!
Unfortunately, some of my arguments transmitted need to be encrypted, so
GetURL is not an option for me.
Question 1: Is https simply not a supported protocol with PostURL, or did I
do something wrong? The documentation doesn't detail very well, what -5
actually means. For all I know, "unsupported" might mean "never supported,"
or rather, "you did something unsupported."
Question 2: Is there some other technique I can use, besides PostURL, to
call my .PHP page, that will allow me to protect my arguments and not have
them transmitted cleartext? Has anybody done anything like this
successfully (don't be shy... I'm definitely open to suggestions here).
Finally, I'm operating under the assumption that PostURL's blobbed arguments
would be protected if HTTPS is working right (whereas the URL for a GetURL
call wouldn't be safe). So, if I'm wrong about that, please set me
straight.
Thanks in advance for any input!
Mike
PS. Apologies for the long post.
"Michael Rollo [PBnewsgroups]"
<mrollo.everyo...@jascorp.and-i'm-no-exception.com> a écrit dans
le message news: 3fddf0a5$1@forums-2-dub...
Thanks for the input. I'll try to find the example you mentioned.
Mike
"Olivier Citeau" <oci...@yahoo.fr> wrote in message
news:3fdefbea@forums-1-dub...
> Use Internet Explorer Through OLE.
> There is an example on powerobject newsgroup (on yahoo.com)
>
> "Michael Rollo [PBnewsgroups]"
> <mrollo.everyo...@jascorp.and-i'm-no-exception.com> a écrit dans
> le message news: 3fddf0a5$1@forums-2-dub...
> > Hi folks.
> >
> > [see parent message for remainder]
Or, jump directly to the article it mentions:
http://www.sybase.com/detail?id=47945
Thanks again Olivier, I'll be looking into this option soon.
Mike
"Olivier Citeau" <oci...@yahoo.fr> wrote in message
news:3fdefbea@forums-1-dub...
> Use Internet Explorer Through OLE.
> There is an example on powerobject newsgroup (on yahoo.com)
>
> "Michael Rollo [PBnewsgroups]"
> <mrollo.everyo...@jascorp.and-i'm-no-exception.com> a écrit dans
> le message news: 3fddf0a5$1@forums-2-dub...
> > Hi folks.
> >
[...etc...]
That, I can tell you, is a definite disappointment! Wonder if this will
ever get fixed.... :-(
Thanks again for your assistance.
Mike
"Olivier Citeau" <oci...@yahoo.fr> wrote in message
news:3fdefbea@forums-1-dub...
You can use case-express.sybase.com or the bug reporting
mechanism on isug.com.
For case-express, you need to have a sybase account, but
it's free and only takes a couple of minutes to set up.
For isug.com, click on the Enhancement Request button on the
left nav bar.
Personally, I would do both.
steve
[TeamSybase]
I will submit an enhancement request ASAP!
Regards,
Mike
<Steve Katz [TeamSybase]> wrote in message
news:3fdf4f26.76...@sybase.com...