Soap differs from http to https

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
SpecialK
Forum Commoner
Posts: 96
Joined: Mon Sep 18, 2006 3:49 pm

Soap differs from http to https

Post by SpecialK »

I am trying to write a soap server using php soap. Over http it seemed to be working fine.
On the client side

Code: Select all

$user='abc';
$pass='123';
$cust="12345";
$lookup=123456789;

    $client = new SoapClient("http://myserver.com/mywsdl.wsdl",array('trace'=>true)); 
    $result = $client->getStatus($user,$pass,$cust,$lookup); 
When I do that, I actually have a dump from my getStatus function
[text] (abc,123,12345,123456789)[/text]
All seems very well. Now if I make a simple change to use https instead of http, this is what my dump looks like
[text](,,abc,123)[/text]

Is there something that is https does that would cause this? Note in this change, nothing anywhere else is modified so I'm not sure where I should be looking.
Post Reply