View unanswered posts | View active topics It is currently Thu Dec 14, 2017 5:39 pm



Reply to topic  [ 3 posts ] 
 PEAR::SOAP 
Author Message
Junior Member

Joined: Sat Apr 09, 2005 2:24 am
Posts: 1
Location: Germany
Post 
Hi,

I'm just trying to connect to a Web Service with PEAR::SOAP. Currently I'm using the following script:

Code:
<?php
require_once "SOAP/Client.php";

$wsdl = new SOAP_WSDL('https://www.***.de/serviceport?wsdl');

echo ($wsdl->generateProxyCode());

?>


After executing the script, I get this parse error:

Warning: reset(): Passed variable is not an array or object in [...]/SOAP/WSDL.php on line 439/440

The lines 438-441:

Code:
if (!$port) {
reset($this->services[$this->service]['ports']);
$port = current($this->services[$this->service]['ports']);
}


Can't the script get the right port? Maybe as a result of the https-Connection? Any idea how to solve the problem?

Best regards

Mike


Sat Apr 09, 2005 2:36 am
Report this post
Profile ICQ
Junior Member

Joined: Wed Mar 10, 2010 1:30 am
Posts: 1
Post 
It was really a good experience to read out from here

_________________
Ethan Simond


Thu Mar 11, 2010 4:14 am
Report this post
Profile
Junior Member

Joined: Wed Mar 17, 2010 3:08 am
Posts: 1
Post 
Thats really great, I have also visited many other forums but this one is best of all

_________________
John


Wed Mar 17, 2010 12:32 pm
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.