[wsf-c-dev] svn commit r403 - wsf/php/src/scripts

svn at wso2.com svn at wso2.com
Fri Jan 12 00:27:34 PST 2007


Author: buddhika
Date: Fri Jan 12 00:27:12 2007
New Revision: 403

Modified:
   wsf/php/src/scripts/WS_WsdlBinding.php
   wsf/php/src/scripts/WS_WsdlConsts.php
   wsf/php/src/scripts/WS_WsdlCreater.php
   wsf/php/src/scripts/WS_WsdlInterface.php
   wsf/php/src/scripts/WS_WsdlMessage.php
   wsf/php/src/scripts/WS_WsdlOperations.php
   wsf/php/src/scripts/WS_WsdlPort.php
   wsf/php/src/scripts/WS_WsdlScript.php
   wsf/php/src/scripts/WS_WsdlService.php
   wsf/php/src/scripts/WS_WsdlType.php
Log:
 Adding licence to scripts


Modified: wsf/php/src/scripts/WS_WsdlBinding.php
==============================================================================
--- wsf/php/src/scripts/WS_WsdlBinding.php	(original)
+++ wsf/php/src/scripts/WS_WsdlBinding.php	Fri Jan 12 00:27:12 2007
@@ -1,4 +1,21 @@
 <?php
+/*
+ * Copyright 2005,2006 WSO2, Inc. http://wso2.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 
   class WS_WsdlBinding
    {

Modified: wsf/php/src/scripts/WS_WsdlConsts.php
==============================================================================
--- wsf/php/src/scripts/WS_WsdlConsts.php	(original)
+++ wsf/php/src/scripts/WS_WsdlConsts.php	Fri Jan 12 00:27:12 2007
@@ -1,4 +1,21 @@
 <?php
+/*
+ * Copyright 2005,2006 WSO2, Inc. http://wso2.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 class WS_WsdlConst
 {
     

Modified: wsf/php/src/scripts/WS_WsdlCreater.php
==============================================================================
--- wsf/php/src/scripts/WS_WsdlCreater.php	(original)
+++ wsf/php/src/scripts/WS_WsdlCreater.php	Fri Jan 12 00:27:12 2007
@@ -1,4 +1,20 @@
 <?php
+/*
+ * Copyright 2005,2006 WSO2, Inc. http://wso2.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 include 'WS_WsdlConsts.php';
 include 'WS_WsdlOperations.php';

Modified: wsf/php/src/scripts/WS_WsdlInterface.php
==============================================================================
--- wsf/php/src/scripts/WS_WsdlInterface.php	(original)
+++ wsf/php/src/scripts/WS_WsdlInterface.php	Fri Jan 12 00:27:12 2007
@@ -1,5 +1,22 @@
 <?php
 
+/*
+ * Copyright 2005,2006 WSO2, Inc. http://wso2.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
   class WS_WsdlInterface
    {
 

Modified: wsf/php/src/scripts/WS_WsdlMessage.php
==============================================================================
--- wsf/php/src/scripts/WS_WsdlMessage.php	(original)
+++ wsf/php/src/scripts/WS_WsdlMessage.php	Fri Jan 12 00:27:12 2007
@@ -1,4 +1,21 @@
 <?php
+/*
+ * Copyright 2005,2006 WSO2, Inc. http://wso2.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
  class WS_WsdlMessage
  {
 

Modified: wsf/php/src/scripts/WS_WsdlOperations.php
==============================================================================
--- wsf/php/src/scripts/WS_WsdlOperations.php	(original)
+++ wsf/php/src/scripts/WS_WsdlOperations.php	Fri Jan 12 00:27:12 2007
@@ -1,5 +1,21 @@
 <?php
 
+/*
+ * Copyright 2005,2006 WSO2, Inc. http://wso2.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 class WS_WsdlOperations
 {
@@ -124,7 +140,6 @@
 	    if(preg_match_all('|@param\s+(?:object\s+)?(\w+)\s+\$(\w+)\s+(.*)|', $doc_comment, 
 			      $matches, PREG_SET_ORDER)) 
 	    {
-		//$j = 0;
 		$this->xsdTypes[$operationName]["In"] = array();
 		foreach($matches as $match) 
 		{

Modified: wsf/php/src/scripts/WS_WsdlPort.php
==============================================================================
--- wsf/php/src/scripts/WS_WsdlPort.php	(original)
+++ wsf/php/src/scripts/WS_WsdlPort.php	Fri Jan 12 00:27:12 2007
@@ -1,4 +1,21 @@
 <?php
+/*
+ * Copyright 2005,2006 WSO2, Inc. http://wso2.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
  class WS_WsdlPort
  {
 
@@ -31,7 +48,7 @@
 	     foreach(array(self::WS_WSDL_PORT_TYPE_INPUT_TAG, self::WS_WSDL_PORT_TYPE_OUTPUT_TAG) as $type)
 	     {
 		 $sel = $port_doc->createElementNS(WS_WsdlConst::WS_SCHEMA_WSDL_NAMESPACE, $type);
-		 $sel->setAttribute(self::WS_WSDL_PORT_TYPE_MESSAGE_TAG, self::WS_WSDL_PORT_TYPE_TNS_TAG. "$name".ucfirst($type));
+		 $sel->setAttribute(self::WS_WSDL_PORT_TYPE_MESSAGE_TAG, "$name".ucfirst($type));
 		 $operation->appendChild($sel);
 	     }
 	     $port_el->appendChild($operation);

Modified: wsf/php/src/scripts/WS_WsdlScript.php
==============================================================================
--- wsf/php/src/scripts/WS_WsdlScript.php	(original)
+++ wsf/php/src/scripts/WS_WsdlScript.php	Fri Jan 12 00:27:12 2007
@@ -1,4 +1,21 @@
 <?php
+/*
+ * Copyright 2005,2006 WSO2, Inc. http://wso2.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 
 function ws_generate_wsdl($include_location, $service_name, $fn_arry, $binding_style, $wsdl_version)
 {
@@ -21,6 +38,7 @@
 	exit(0);
     }
 
+
     
     $wsdl = new WS_WsdlCreater($fn_arry ,$service_name, 'http://localhost/Wso2/Wsdl_gen.php', $Binding_style, 'http://www.wso2.org/php/', $wsdl_version);
     $wsdl_out = $wsdl->WS_WsdlOut();

Modified: wsf/php/src/scripts/WS_WsdlService.php
==============================================================================
--- wsf/php/src/scripts/WS_WsdlService.php	(original)
+++ wsf/php/src/scripts/WS_WsdlService.php	Fri Jan 12 00:27:12 2007
@@ -1,4 +1,20 @@
 <?php
+/*
+ * Copyright 2005,2006 WSO2, Inc. http://wso2.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 
 class WS_WsdlService

Modified: wsf/php/src/scripts/WS_WsdlType.php
==============================================================================
--- wsf/php/src/scripts/WS_WsdlType.php	(original)
+++ wsf/php/src/scripts/WS_WsdlType.php	Fri Jan 12 00:27:12 2007
@@ -1,6 +1,22 @@
 <?php
 
-//include 'WS_WsdlConsts.php';
+/*
+ * Copyright 2005,2006 WSO2, Inc. http://wso2.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 
 class WS_WsdlType
  {




More information about the Wsf-c-dev mailing list