From b801a391a430b0bf0ff773a96a275e39d3a77e20 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 12 Jul 2012 11:58:44 +0200 Subject: [PATCH] Fix: Phone not saved when using web service --- htdocs/webservices/server_thirdparty.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/webservices/server_thirdparty.php b/htdocs/webservices/server_thirdparty.php index 023d3a15a7a..2cb49aee234 100755 --- a/htdocs/webservices/server_thirdparty.php +++ b/htdocs/webservices/server_thirdparty.php @@ -103,10 +103,10 @@ $server->wsdl->addComplexType( 'country_id' => array('name'=>'country_id','type'=>'xsd:string'), 'country_code' => array('name'=>'country_code','type'=>'xsd:string'), 'country' => array('name'=>'country','type'=>'xsd:string'), - 'phone' => array('name'=>'country_id','type'=>'xsd:string'), - 'fax' => array('name'=>'country_id','type'=>'xsd:string'), - 'email' => array('name'=>'country_id','type'=>'xsd:string'), - 'url' => array('name'=>'country_id','type'=>'xsd:string'), + 'phone' => array('name'=>'phone','type'=>'xsd:string'), + 'fax' => array('name'=>'fax','type'=>'xsd:string'), + 'email' => array('name'=>'email','type'=>'xsd:string'), + 'url' => array('name'=>'url','type'=>'xsd:string'), 'profid1' => array('name'=>'profid1','type'=>'xsd:string'), 'profid2' => array('name'=>'profid2','type'=>'xsd:string'), 'profid3' => array('name'=>'profid3','type'=>'xsd:string'),