NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
$client=new soapclient('http://localhost/nusoap/samples/serv


Joined: 20 Oct 2006
Posts: 2
Reply with quote
the demo is
$client=new soapclient('http://localhost/nusoap/samples/server/AuthorityService.php?wsdl',true);
but i want
$client=new soapclient('c:/localhost.wsdl');
dose nusoap support?
thanks
View user's profileFind all posts by tomunoSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
no.
you still have to specify 2nd parameters that confirms that you are supplying wsdl in the 1st.
Also from your post it's not clear if c:\localhost.wsdl is a correct filename.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 20 Oct 2006
Posts: 2
Reply with quote
1: $s=new soapclient('http://myserver/test?wsdl',"wsdl");
2: $result=$s->call('test', $parameters);

when 1 ,the program call the url myserver
and 2 the program also call the url myserver

I want to modify the nusoap.php
Let 1
$s=new soapclient('http://myserver/test?wsdl',"wsdl");
can't call the url myserver
because I use url filter in the webservices server
web services client must call the url once!
thanks
View user's profileFind all posts by tomunoSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
web services client must call the url once!

It's wrong assumption.
It would be the case if you worked with local copy of WSDL file.
Otherwise, your webserver client have to acquire WSDL each time your create soapclient.
But it does not mean that it have to do so each time your call Soap methods.
Did I make it clear? Smile

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
$client=new soapclient('http://localhost/nusoap/samples/serv
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