NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Another newbie question


Joined: 14 Dec 2005
Posts: 3
Reply with quote
Hi guys.

Ok I'm getting confused with the NuSOAP client and setCredentials.

What I've been given to use:





Now i'm not sure what to use (.asmx or the WSDL) when I make an instance of the soapClient object :

$wsdlfile="http://www.xxx.co.za/Webservices/Member/wsMember.asmx?WSDL";
$client=new soapclient($wsdlfile,true);

OR

$serverpath ='http://www.xxx.co.za/Webservices/Member/wsMember.asmx';
$client = new soapclient($serverpath);

Also,

when do I setCredentials?? is this done once or for every call to consume the webservice?

Please guys i'm in real need of help. Any advice, links, help will be appreciated.

thanks in advance
View user's profileFind all posts by bebilSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7857
Reply with quote
Quote:
Now i'm not sure what to use (.asmx or the WSDL) when I make an instance of the soapClient object

It depends on how your server returns WSDL responce. Try one by one in your web browser and whatever URL that returns with proper WSDL should be used.

Quote:
when do I setCredentials??

As soon as you get WSDL from your server, just run PHPED, tools->NuSoap Wizard, enter WSDL's URL, check "Server requires authorization", enter username and password, then proceed with other wizard's pages and it will generate you all the code for the nusoap client calls, including setCredentials
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Another newbie question
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
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic