0

Hi everyone im getting this error when i try to execut the code via a browser, its a SOAP call to a footprints webservices server written in php, well it only shows me this error. I pasted the entire code below minus my username and password :)

<h2>Web Service Test - create new issue</h2>

<?php

try [B]{[/B]

$client = new SoapClient(NULL,

   array(

"location"=>"http://www.mywebsite.com/MRcgi/MRWebServices.pl",

"uri"=>"MRWebServices",

"style"=>SOAP_RPC,

        "use" => SOAP_ENCODED       

   )

);

$issue_number = $client->MRWebServices__createIssue("username",'password','',

array(projectID =>1,

       title=>"Test Issue creation.",

                              status=>"Open" ,

                      priorityNumber => 3,

                      description => "This is a test"

              )

);

print "<BR><b> Issue created; Issue number = $issue_number</b><br><hr>\n";

 

 } catch (SoapFault $exception) {

print "ERROR! - Got a SOAP exception:<br>";

echo $exception;             

}

?>
2
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by marcuskona
0

try to remove and in the fifth row

i did remove the { and it just through me another error

Parse error: parse error, unexpected T_VARIABLE in /homepages/10/d159684860/htdocs/joomla/issue.php on line 7

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.