title: PHP web service client Call JAVA web service server
body: <p>Please Help.</p>
  
  <p>This is document service <a href="http://ebizonline.allianzcp.com/online_insurance_test/IssuePolicySoapHttpPort?WSDL" rel="nofollow">http://ebizonline.allianzcp.com/online_insurance_test/IssuePolicySoapHttpPort?WSDL</a></p>
  
  <p>I need to use PHP to call operation "OnlineMainWS" and send parameter ("METHOD" = "VERIFY").
  It not all parameter request. But will return Error Code like this </p>
  
  <pre><code>CODE= 001
  CMI_URL_PRINT= null
  VMI_URL_PRINT= null
  CMI_POLICY_NO= null
  VMI_POLICY_NO= null
  METHOD = VERIFY
  </code></pre>
  
  <p>My issue is can not send parameter to web service.
  I need example code to call and send parameter. And return CODE will not null. Please help me -/-</p>
  
  <p>This is my code</p>
  
  <pre><code>class RequestModel {
      function RequestModel($METHOD) 
      {
          $this-&gt;METHOD = $METHOD;
      }
  }
  $soapclient = new SoapClient(
      'http://ebizonline.allianzcp.com/online_insurance_test/IssuePolicySoapHttpPort?wsdl',
      array(
          'location' =&gt; 'http://ebizonline.allianzcp.com/online_insurance_test/IssuePolicySoapHttpPort',
          'uri' =&gt; 'http://azcp.online.ws/',
          'trace' =&gt; 1,
          'use' =&gt; SOAP_LITERAL,
          'style' =&gt; SOAP_RPC,
          "soap_version" =&gt; SOAP_1_1
      )
  );
  /* Fill your Contact Object */
  $RequestModel = new RequestModel("VERIFY");
  
  /* Set your parameters for the request */
  $params = array(
    "requestModel" =&gt; $RequestModel
  );
  
  $result = $soapclient-&gt;__soapCall('OnlineMainWS', $params,  array('soapaction' =&gt; 'http://azcp.online.ws//OnlineMainWS') );
  
  var_dump($result);
  
  echo "&lt;br&gt;&lt;br&gt;&lt;br&gt; ====== REQUEST HEADERS ===== &lt;br&gt;";
  var_dump($soapclient-&gt;__getLastRequestHeaders());
  echo "&lt;br&gt; ====== REQUEST ===== &lt;br&gt;";
  var_dump(htmlentities($soapclient-&gt;__getLastRequest()));
  echo "&lt;br&gt;&lt;br&gt;&lt;br&gt; ====== ResponseHeaders ===== &lt;br&gt;";
  var_dump($soapclient-&gt;__getLastResponseHeaders());
  echo "&lt;br&gt; ====== Response ===== &lt;br&gt;";
  var_dump(htmlentities($soapclient-&gt;__getLastResponse()));
  </code></pre>
  
  <p>It still return Null. And parameter not send.
  How I can do that.
  Thank you for help.</p>