Re: Web Service PHP and SSL

From: chris (dl4gbe_at_hotmail.com)
Date: 09/05/04


Date: 5 Sep 2004 07:00:49 -0700

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.
 

"Todd Seiber" <ToddSeiber@discussions.microsoft.com> wrote in message news:<D3BFA051-F8A6-49F5-8BA0-A4B8109C82BB@microsoft.com>...
> Lets try this again.
>
> Chris,
> What exception is being thrown on the PPC?
>
> "chris" wrote:
>
> > 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
> >



Relevant Pages

  • RE: Web Service PHP and SSL
    ... > I wrote a web service in php using the nusoap library. ... > Calling the web service from the PC and the Pocket PC works (using ... > php web service without SSL, it works, but using SSL it fails. ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: Web Service PHP and SSL
    ... > I wrote a web service in php using the nusoap library. ... > Calling the web service from the PC and the Pocket PC works (using ... > php web service without SSL, it works, but using SSL it fails. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Web Service PHP and SSL
    ... I wrote a web service in php using the nusoap library. ... Calling the web service from the PC and the Pocket PC works (using ... php web service without SSL, it works, but using SSL it fails. ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: Consuming a PHP Webservice
    ... I am currently using NuSoap for the server implementation. ... > Just add the php as a "web reference" in your project. ... The web service works OK using a testing PHP client. ... >> web service to consume the webservice. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Need for encryption in WSE 3.0 if using SS-avoid man-in-middle
    ... if the other endpoint has a trusted and valid SSL certificate, he would see the data in cleartext. ... But if you let customers change the endpoint address they must be also able to change the server certificate for mutual authentication..so i don't see a real advantage to use additional message security - and you are in the same situation as with transport security. ... I plan on upgrading my .NET 2.0 web service to use WSE 3.0. ...
    (microsoft.public.dotnet.framework.aspnet.security)