[wsf-c-dev] svn commit r346 - wsf/php/src/scripts
svn at wso2.com
svn at wso2.com
Sun Jan 7 22:52:55 PST 2007
Author: buddhika
Date: Sun Jan 7 22:52:42 2007
New Revision: 346
Modified:
wsf/php/src/scripts/WS_WsdlCreater.php
wsf/php/src/scripts/WS_WsdlScript.php
Log:
modified for WSDL Gen
Modified: wsf/php/src/scripts/WS_WsdlCreater.php
==============================================================================
--- wsf/php/src/scripts/WS_WsdlCreater.php (original)
+++ wsf/php/src/scripts/WS_WsdlCreater.php Sun Jan 7 22:52:42 2007
@@ -29,23 +29,7 @@
$this->endpoint = $endpoints;
$this->f_name = $obj_name;
$this->service_name = $service;
- if (!$binding_style )
- {
- $this->Binding_style = "doc-lit";
- }
- else if ($binding_style == "rpc")
- {
- $this->Binding_style = "rpc";
- }
- else if ($binding_style == "doc-lit")
- {
- $this->Binding_style = "doc-lit";
- }
- else
- {
- echo " Wrong binding style\n";
- exit(0);
- }
+ $this->Binding_style = $binding_style;
}
private function buildWsdlDom()
Modified: wsf/php/src/scripts/WS_WsdlScript.php
==============================================================================
--- wsf/php/src/scripts/WS_WsdlScript.php (original)
+++ wsf/php/src/scripts/WS_WsdlScript.php Sun Jan 7 22:52:42 2007
@@ -6,6 +6,7 @@
$Binding_style = NULL;
+
if ($binding_style == "rpc")
{
$Binding_style = "rpc";
More information about the Wsf-c-dev
mailing list