Loading ...
Sorry, an error occurred while loading the content.

Need Help

Expand Messages
  • remmar_p
    Hi guys I have here my php script I need to connect on hurricane site
    Message 1 of 2 , Aug 30, 2005
    • 0 Attachment
      Hi guys I have here my php script I need to connect on hurricane
      site

      <?php
      //require_once "SOAP/Client.php";
      //$url = "http://weather.terrapin.com/soap/HurricaneService.wsdl";
      //$soapClient = new SOAP_WSDL
      ("http://weather.terrapin.com/soap/HurricaneService.wsdl");

      require_once('lib/nusoap.php');
      $client = new soapclient
      ('http://weather.terrapin.com/soap/HurricaneService.wsdl', true);
      $err = $client->getError();
      if ($err) {
      echo '<h2>Constructor error</h2><pre>' . $err . '</pre>';
      }
      $param = array ("");
      $namespace="urn:HurricaneService";

      $result = $client->call('getCurrentStorms',$param,$namespace);
      // Check for a fault
      if ($client->fault) {
      echo '<h2>Fault</h2><pre>';
      print_r($result);
      echo '</pre>';
      } else {
      // Check for errors
      $err = $client->getError();
      if ($err) {
      // Display the error
      echo '<h2>Error</h2><pre>' . $err . '</pre>';
      } else {
      // Display the result
      echo '<h2>Result</h2><pre>';
      print_r($result);
      echo '</pre>';
      }
      }
      echo '<h2>Request</h2><pre>' . htmlspecialchars($client->request,
      ENT_QUOTES) . '</pre>';
      echo '<h2>Response</h2><pre>' . htmlspecialchars($client->response,
      ENT_QUOTES) . '</pre>';
      echo '<h2>Debug</h2><pre>' . htmlspecialchars($client->debug_str,
      ENT_QUOTES) . '</pre>';
      ?>
    • Dietrich Ayala
      Hi, Please ask support questions on the appropriate list for the implementation you re using. In your case: PHP SOAP list -
      Message 2 of 2 , Aug 30, 2005
      • 0 Attachment
        Hi,

        Please ask support questions on the appropriate list for the
        implementation you're using.

        In your case:

        PHP SOAP list - http://www.php.net/mailing-lists.php
        NuSOAP-general - https://lists.sourceforge.net/lists/listinfo/nusoap-general

        -d

        On 8/30/05, remmar_p <remmar_p@...> wrote:
        > Hi guys I have here my php script I need to connect on hurricane
        > site
        >
        > <?php
        > //require_once "SOAP/Client.php";
        > //$url = "http://weather.terrapin.com/soap/HurricaneService.wsdl";
        > //$soapClient = new SOAP_WSDL
        > ("http://weather.terrapin.com/soap/HurricaneService.wsdl");
        >
        > require_once('lib/nusoap.php');
        > $client = new soapclient
        > ('http://weather.terrapin.com/soap/HurricaneService.wsdl', true);
        > $err = $client->getError();
        > if ($err) {
        > echo '<h2>Constructor error</h2><pre>' . $err . '</pre>';
        > }
        > $param = array ("");
        > $namespace="urn:HurricaneService";
        >
        > $result = $client->call('getCurrentStorms',$param,$namespace);
        > // Check for a fault
        > if ($client->fault) {
        > echo '<h2>Fault</h2><pre>';
        > print_r($result);
        > echo '</pre>';
        > } else {
        > // Check for errors
        > $err = $client->getError();
        > if ($err) {
        > // Display the error
        > echo '<h2>Error</h2><pre>' . $err . '</pre>';
        > } else {
        > // Display the result
        > echo '<h2>Result</h2><pre>';
        > print_r($result);
        > echo '</pre>';
        > }
        > }
        > echo '<h2>Request</h2><pre>' . htmlspecialchars($client->request,
        > ENT_QUOTES) . '</pre>';
        > echo '<h2>Response</h2><pre>' . htmlspecialchars($client->response,
        > ENT_QUOTES) . '</pre>';
        > echo '<h2>Debug</h2><pre>' . htmlspecialchars($client->debug_str,
        > ENT_QUOTES) . '</pre>';
        > ?>
        >
        >
        >
        >
        >
        > -----------------------------------------------------------------
        > This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Please stay on-topic.
        > Yahoo! Groups Links
        >
        >
        >
        >
        >
        >
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.