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

Insert data with nusoap

Expand Messages
  • Sahala
    Maaf mengganggu para master CI. :D saya mau bertanya, bisa ga insert data ke web service wsdl melaui nusoap. krn setau saya sih, nusoap itu bisanya nge read
    Message 1 of 3 , Mar 25 2:39 AM
    • 0 Attachment
      Maaf mengganggu para master CI. :D

      saya mau bertanya, bisa ga insert data ke web service wsdl melaui nusoap.
      krn setau saya sih, nusoap itu bisanya nge read doang.

      mohon pencerahan nya ya.

      regards

      ogan tobing
    • donny irawan
      Setahu saya kalo werbservice servernya memberikan akses atau fungsi insert harusnya bisa saja. Kebetulan belum pernah coba sampe dalem si keburu pindah ke
      Message 2 of 3 , Mar 26 8:16 PM
      • 0 Attachment
        Setahu saya kalo werbservice servernya memberikan akses atau fungsi insert harusnya bisa saja.
        Kebetulan belum pernah coba sampe dalem si keburu pindah ke REST.

        Regards,

        Donny Irawan

        www.odisys.co.id

        ----- Original Message -----
        From: "Sahala" <ogan_mi@...>
        To: codeigniter-id@yahoogroups.com
        Sent: Monday, March 25, 2013 4:39:04 PM
        Subject: [codeigniter-id] Insert data with nusoap






        Maaf mengganggu para master CI. :D

        saya mau bertanya, bisa ga insert data ke web service wsdl melaui nusoap.
        krn setau saya sih, nusoap itu bisanya nge read doang.

        mohon pencerahan nya ya.

        regards

        ogan tobing
      • Sahala
        require_once( nusoap.php ); $wsdl = $wsdl = https://example.com/ws/external/gatewayservice/CustomerOrder/v1/CustomerOrder.wsdl ; ; $soap = new
        Message 3 of 3 , Mar 29 11:21 PM
        • 0 Attachment
          require_once('nusoap.php');


          $wsdl = '$wsdl = 'https://example.com/ws/external/gatewayservice/CustomerOrder/v1/CustomerOrder.wsdl';';

          $soap = new SoapClient($wsdl, array('soap_version' => SOAP_1_2,));
          $client->soap_defencoding = 'UTF-8';
          $client->decode_utf8 = false;

          $param = array(

          'InitialDeposit' => '10000',
          'InvestorPassword' => 'abc123Rt',
          'NotificationLang' => 'En',
          'Password' => 'ccr67fr',
          'AccountType' => 'Standard',
          'Address' => 'Sidikalangstreet',
          'City' => 'newZeland',
          'Country' => 'canada',
          'Email' => 'ada.adhee@...',
          'Leverage' => '1',
          'Name' => 'TomCruise',
          'Phone' => '0080221231',
          'State' => 'NewsZeland',
          'ZipCode' => '22111'



          );
          $res = $client->call('OpenDemoAccount',$param);
          if($err=$client->getError()){
          echo 'Error:'.$err;
          }else echo '<xmp>'. print_r($res, true) . '</xmp>';



          muncul error Error:a:InternalServiceFault: Array

          kira2 dimana ya kurang nya?

          regards,
          Ogan tobing


          --- In codeigniter-id@yahoogroups.com, donny irawan <doni.bageur@...> wrote:
          >
          > Setahu saya kalo werbservice servernya memberikan akses atau fungsi insert harusnya bisa saja.
          > Kebetulan belum pernah coba sampe dalem si keburu pindah ke REST.
          >
          > Regards,
          >
          > Donny Irawan
          >
          > www.odisys.co.id
          >
          > ----- Original Message -----
          > From: "Sahala" <ogan_mi@...>
          > To: codeigniter-id@yahoogroups.com
          > Sent: Monday, March 25, 2013 4:39:04 PM
          > Subject: [codeigniter-id] Insert data with nusoap
          >
          >
          >
          >
          >
          >
          > Maaf mengganggu para master CI. :D
          >
          > saya mau bertanya, bisa ga insert data ke web service wsdl melaui nusoap.
          > krn setau saya sih, nusoap itu bisanya nge read doang.
          >
          > mohon pencerahan nya ya.
          >
          > regards
          >
          > ogan tobing
          >
        Your message has been successfully submitted and would be delivered to recipients shortly.