Hi, I am newbie to nuSoap I need to have some function that could accept array of string as
parameter.
I am using VS.net 2055 + C# to connect to this webservice but unfortunately when I try to update
the web reference I got this message :
this is my nusoap server code in php:
<?
require("../inc/Config.inc.php");
require ("nusoap.php");
$Server = new soap_server();
$Server->configureWSDL('Integration Services', 'urn:intserv');
$Server->wsdl->addComplexType(
'ArrayOfstring',
'complexType',
'array',
'',
'SOAP-ENC:Array',
array(),
array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'string[]')),
'xsd:string'
);
$Server->register('echoStringArray',
array('inputStringArray'=>'[b]tns:ArrayOfstring[/b]'),
array('return'=>'[b]tns:ArrayOfstring[/b]'),
'http://soapinterop.org/');
function echoStringArray($inputStringArray)
{
return $inputStringArray;
}
$POST_DATA = isset($GLOBALS['HTTP_RAW_POST_DATA']) ? $GLOBALS['HTTP_RAW_POST_DATA'] : '';
$Server->service($POST_DATA);
?>
|
I am sure that nuSoap has this ability, cuz I could connect to : http://myserver/server.php successfully and there are some
methods with array of string !
please help me ..........