From 3aeb9544e40036bf602f3b8bb0e31e35007ae123 Mon Sep 17 00:00:00 2001 From: Susana Montes Pedreira Date: Fri, 26 Mar 2010 15:18:01 +0100 Subject: [PATCH] ItEr52S10AdaptacionServiciosRESTItEr51S10: Adapting of the material-categories-sample.xml --- scripts/rest-clients/import-unit-types.sh | 2 +- .../material-categories-sample.xml | 49 ++++++++++++++----- 2 files changed, 37 insertions(+), 14 deletions(-) diff --git a/scripts/rest-clients/import-unit-types.sh b/scripts/rest-clients/import-unit-types.sh index 786767e3a..5badb3710 100755 --- a/scripts/rest-clients/import-unit-types.sh +++ b/scripts/rest-clients/import-unit-types.sh @@ -30,4 +30,4 @@ authorization=`./base64.sh $loginName:$password` curl -sv -X POST $certificate -d @$file \ --header "Content-type: application/xml" \ --header "Authorization: Basic $authorization" \ - $baseServiceURL/unittypesp | tidy -xml -i -q -utf8 + $baseServiceURL/unittypes | tidy -xml -i -q -utf8 diff --git a/scripts/rest-clients/material-categories-sample.xml b/scripts/rest-clients/material-categories-sample.xml index 72a1b7f12..d19af03f9 100644 --- a/scripts/rest-clients/material-categories-sample.xml +++ b/scripts/rest-clients/material-categories-sample.xml @@ -1,19 +1,42 @@ - - - - - + + - + + + - - + + + + + + + + + + + + + + + +