PHP肥皂Gerrit

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PHP肥皂Gerrit相关的知识,希望对你有一定的参考价值。

Misc operations
  1. //GetContent (for external ID)
  2.  
  3. $contentClient = new SoapClient("http://cs2.acme.com/ContentService.svc?wsdl",
  4. array('location' => "http://cs2.acme.com/ContentService.svc/basic"));
  5. $contentParams = array("ExternalID" => 'abc123', "ServiceID" => 123, "SessionContext" => $sessionContext);
  6. $contentResponse = $contentClient->GetContent(array('parameters'=>$contentParams));
  7. $content = $contentResponse->GetContentResult;
  8.  
  9.  
  10. //Register Subscriber
  11.  
  12. $subscriberClient = new SoapClient("http://cs2.acme.com/SubscriberService.svc?wsdl",
  13. array('location' => "http://cs2.acme.com/SubscriberService.svc/basic"));
  14. $subscriberVO = array ("UserName" => 'patriksuser', "Password" => 'abc123', "Email" => '[email protected]');
  15. $subscriberParams = array("NewSubscriber" => $subscriberVO, "SessionContext" => $sessionContext);
  16. $subscriberResponse = $subscriberClient->RegisterSubscriber(array('parameters'=>$subscriberParams));
  17. $newsubscriber = $subscriberResponse->RegisterSubscriberResult;

以上是关于PHP肥皂Gerrit的主要内容,如果未能解决你的问题,请参考以下文章

crucible VS gerrit

带有 PHP 的 Jira 肥皂

PHP 使用肥皂从sugarCRM恢复关系

PHP 肥皂故障

代理上的 PHP 肥皂

gerrit的简单介绍