Web Service PHP and SSL

C

chris

Hallo

I wrote a web service in php using the nusoap library.
Calling the web service from the PC and the Pocket PC works (using
vb.net). Calling the web service via SSL on the pc works, but fails on
the pocket pc.

I did some research (No my boss asked me to do some research :-( ) So
I wrote
an asp.net web service with the exact same interface, the php web
service is using. The asp.net web service never fails. It always works
nicely.

So: What is wrong with the pocket pc implementation? Why can I call a
php web service without SSL, it works, but using SSL it fails.
I change the URL in my Web Service Client to the test asp.net web
service.
Pocket PC never fails. Using asp.net I can call the service from my
pocket pc with or without ssl.

Is there some code in Pocket PC

IF (url.Indexof(".PHP") >= 0 (and orl.IndexOf("HTTPS://") >= 0) then
through a very nasty exception?????

It does not make any sense!!!! I am using the same windows 2000 server
with IIS, the same client function, the same WSDL definition. php
with ssl fails
asp.net with ssl works, both work without HTTPS.



Thanks

Chris

Bangkok/Thailand
 
C

chris

Hallo Todd,

Thanks for the reply. I am not in the office today. So I can't give
you the
exacy error message. (Will do tomorrow) The message is like : ... "is
connecting to a transport connection which was closed", or something
like this.
It throws a webexception. Like I said the thing is very, very strange.
It can't have something to do with the certificates. The whole thing
works connecting to an asp page. It can't have something todo with
php, because the whole thing works when I use a PC with the same
source to connect. Same with the server. It's the same test machine
and both PHP and ASP are in the same virtual directory, secured with
the same certificate. I can't be my programming, everything works not
using SSL, only SSL makes problems and only in conjunction with Php
and only on the ppc, not the pc.
One Thing: The error also occurs when I use httpwebrequest directly,
not using the client web services classes.

Thanks a lot

Chris

P.S. I can't rewrite the web service using asp.net because finally the
web service will run on an AS/400 machine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top