Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Does any one have sample code to consume web service using 360 works web service manager in PHP,say for 'AddTwoNumbers' operation?

here is code which we wrote

require_once('lib/nusoap.php');

$wsdl ="http://servername/websvcmgr.php?wsdl&service=ExampleService";

$client=new soapclient($wsdl, 'wsdl');

$param=array('addend1'=>'15', 'addend2'=>'10');

$result = $client->call('AddTwoNumbers', $param);

// Check for a fault

if ($client->fault) {

echo '

Fault

';

print_r($result);

echo '

';

} else {

// Check for errors

$err = $client->getError();

if ($err) {

// Display the error

echo '

Error

' . $err . '
';

} else {

// Display the result

echo '

Result

';

print_r($result);

echo '

';

}

}

This does execute 'display result' code, but no output value is shown.

  • 2 weeks later...

I replied privately to this, here is the PHP code to access our test server if anybody else is trying to do this:


<?php

$soap = new SoapClient('http://wpeoffice.360works.com/websvcmgr.php?wsdl&Service=ExampleService');

$lookup = $soap->AddTwoNumbers(array("Addend1" => "3", "Addend2" => "4"));



print_r( $lookup );

?>

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.