From f7eebc05029a2c93cfd89220beece0b37a6d7881 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 d6a72b0e4e7..e7f4a76d269 100755 --- a/htdocs/webservices/server_thirdparty.php +++ b/htdocs/webservices/server_thirdparty.php @@ -108,10 +108,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'),