PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Web Service reading empty parameter - but it is not empty

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Web Services
View previous topic :: View next topic  
Author Message
ely_pear



Joined: 02 Oct 2007
Posts: 3

PostPosted: Wed Oct 24, 2007 7:03 pm    Post subject: Web Service reading empty parameter - but it is not empty Reply with quote

Hi,
I'm unable to get this code working from php:

require 'SOAP/Client.php';
$soapclient = new SOAPClient('http://localhost/service.asmx?wsdl');
$ret = $soapclient->HelloParam( 'john' );

it should return "Hello ]john[" but for some reason it sees the parameter empty and returns "Hello ][". From another client (tired a c#one) it works fine. This happens for all the web services I try to connect to: my parameter(s) is(are) always seen as empty.

Did anyone ever experience this kind of problem?
I'm running PHP 5.1.4.

Thanks in Advance,
Ely
Back to top
View user's profile Send private message
outasync



Joined: 15 Apr 2008
Posts: 3

PostPosted: Tue Apr 15, 2008 8:24 pm    Post subject: Reply with quote

yes I get the same problem when passing parameters, the server says I am sending the values but they are also empty. When I remove the parameters the server returns an error saying the parameters are missing, so I know they are being sent just the values are messed up
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Web Services All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement