|
One method is of course before you return the value to the client within your server to store is to a local file/database. But that is all dependent on how you code it.
i.e. supposed you have f ... |
|
have you tried:
php's html_entity_decode() to convert it, and then bring it into simplexml? |
|
just to make sure:
1. did you use $client = new soapclient('https://'.$username.':'.$password.'@www.xxxxxxx.com/ws/server.php?wsdl', true); and 2. did you also use $client->setCredential ... |
|
Have you considered doing it this way:
1. create an array for your input data 2. pass the array to your client call i.e. <SubscriptionSignUp xmlns="http://localhost/"> < ... |
|
You might also want to put this into your client:
$client->setCredentials($username, $password, "basic"); I went through something like what you are doing, a https connect ... |
|
Hello,
I am John from Greece and i have some problems with an application i made using NuSoap. I made an application using PHP5 for creating a web service for Moodle LMS. I build it in my Win X ... |
|
Solution:
turns out maxOccurs works the same as if you create SOAP-ENC:Array example: $server->wsdl->addComplexType( 'DataName__s' 'complexType', 'array', '', 'SOAP- ... |
|
Okay I've resolved all the issues and would like to post how I did it, incase someone else gets into this mess:
Client Side 1. you need to include the following in your nusoap server/client r ... |
|
see the last post
|
|
my client actually uses:
// Display the result // echo '<h2>Result of CountBasketItems</h2><pre>'; echo '<h2>Result of TDLRequest</h2><pre& ... |
|
yup here's what I'm using:
$server = new nusoapservermime; and it works fine if I don't use attachments, it's just when attachments are put in, it goes haywire, I can see the server return the ... |
|
did you check the XML payload the server returned when attachment was supplied?
first off thanks for the quick response, I've checked that the data is returned, here's an excerpt: Response HTTP ... |
Page 1 of 2 | All times are GMT - 5 Hours |
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by