Hi,
this question is related to nusoap client which is my php web site.I want to use a dot net webservice on my php portal the method in the webservice returns the whole data in an xml string which can be parsed but i doubt whether the webservice recognize the parameters/arguments which are being passed to the method.
here goes the code:
<?php
include("nusoap.php");
$s=new soapclient('http://www.windsgfs.com/Services/Data.asmx?wsdl','wsdl');
$s->setDefaultRpcParams(true);
$param=array('startFrom1'=>'','startTo1'=>'','shipName1'=>'Wind Spirit','eventName1'=>'','region1'=>'');
$result=$s->call('GetEvents',$param);
$xml1=$result["GetEventsResult"];
?>
<script language="javascript">
alert(<?=xml1?>);
<script>
the javascript alerts the whole xml document and the parameters are not recognised. how to go about it.
any help would be appreciated