Changeset 605 for trunk/zoo-project/zoo-kernel/service_internal.c
- Timestamp:
- Mar 9, 2015, 4:46:24 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal.c
r601 r605 1943 1943 case SERVICE_SUCCEEDED: 1944 1944 nc1 = xmlNewNode(ns, BAD_CAST "ProcessSucceeded"); 1945 sprintf(sMsg,_(" Service \"%s\" run successfully."),serv->name);1945 sprintf(sMsg,_("The service \"%s\" ran successfully."),serv->name); 1946 1946 nc3=xmlNewText(BAD_CAST sMsg); 1947 1947 xmlAddChild(nc1,nc3); … … 1951 1951 tmpStatus=getMapFromMaps(m,"lenv","status"); 1952 1952 xmlNewProp(nc1,BAD_CAST "percentCompleted",BAD_CAST tmpStatus->value); 1953 sprintf(sMsg,_(" ZOO Service \"%s\" is currently running. Please, reload this document to get the up-to-date status of the Service."),serv->name);1953 sprintf(sMsg,_("The ZOO service \"%s\" is currently running. Please reload this document to get the up-to-date status of the service."),serv->name); 1954 1954 nc3=xmlNewText(BAD_CAST sMsg); 1955 1955 xmlAddChild(nc1,nc3); … … 1957 1957 case SERVICE_ACCEPTED: 1958 1958 nc1 = xmlNewNode(ns, BAD_CAST "ProcessAccepted"); 1959 sprintf(sMsg,_(" Service \"%s\" was accepted by the ZOO Kernel and it run as a background task. Please consult the statusLocation attribtue providen in this document to get the up-to-date document."),serv->name);1959 sprintf(sMsg,_("The service \"%s\" was accepted by the ZOO kernel and is running as a background task. Please access the URL in the statusLocation attribute provided in this document to get the up-to-date status and results."),serv->name); 1960 1960 nc3=xmlNewText(BAD_CAST sMsg); 1961 1961 xmlAddChild(nc1,nc3); … … 2067 2067 /* If the file cannot be created return an ExceptionReport */ 2068 2068 char tmpMsg[1024]; 2069 sprintf(tmpMsg,_("Unable to create the file :\"%s\" for storing the ExecuteResponse."),stored_path);2069 sprintf(tmpMsg,_("Unable to create the file \"%s\" for storing the ExecuteResponse."),stored_path); 2070 2070 2071 2071 errorException(m,tmpMsg,"InternalError",NULL); … … 2251 2251 nc3=xmlNewNode(ns_wps, BAD_CAST tmpV->value); 2252 2252 else 2253 nc3=xmlNewNode(ns_wps, BAD_CAST "Lit teralData");2253 nc3=xmlNewNode(ns_wps, BAD_CAST "LiteralData"); 2254 2254 } 2255 2255 tmp=m->content; … … 2711 2711 if(teste==NULL){ 2712 2712 char tmpMsg[1024]; 2713 sprintf(tmpMsg,_("Unable to create the file :\"%s\" for storing the session maps."),session_file_path);2713 sprintf(tmpMsg,_("Unable to create the file \"%s\" for storing the session maps."),session_file_path); 2714 2714 errorException(m,tmpMsg,"InternalError",NULL); 2715 2715 … … 2804 2804 file_path=(char*)malloc((strlen(tmp1->value)+strlen(file_name)+2)*sizeof(char)); 2805 2805 sprintf(file_path,"%s/%s",tmp1->value,file_name); 2806 2806 2807 2807 FILE *ofile=fopen(file_path,"wb"); 2808 2808 if(ofile==NULL){ 2809 2809 char tmpMsg[1024]; 2810 sprintf(tmpMsg,_("Unable to create the file :\"%s\" for storing the %s final result."),file_name,tmpI->name);2810 sprintf(tmpMsg,_("Unable to create the file \"%s\" for storing the %s final result."),file_name,tmpI->name); 2811 2811 errorException(m,tmpMsg,"InternalError",NULL); 2812 2812 free(file_name); … … 2862 2862 #endif 2863 2863 printProcessResponse(m,request_inputs1,cpid, 2864 s,r_inputs->value,res, 2864 // s,r_inputs->value,res, 2865 s, s->name,res, // replace serviceProvider with serviceName in stored response file name 2865 2866 request_inputs, 2866 2867 request_outputs); … … 2893 2894 if(toto==NULL){ 2894 2895 char tmpMsg[1024]; 2895 sprintf(tmpMsg,_("Wrong RawDataOutput parameter , unable to fetch any result for the name your provided: \"%s\"."),tmpI->name);2896 sprintf(tmpMsg,_("Wrong RawDataOutput parameter: unable to fetch any result for the given parameter name: \"%s\"."),tmpI->name); 2896 2897 errorException(m,tmpMsg,"InvalidParameterValue","RawDataOutput"); 2897 2898 return; … … 3832 3833 free(tmp0); 3833 3834 buffer[strlen(buffer)-1]=0; 3834 if(i+1<level){ 3835 map* tmpMap=getMapFromMaps(conf,"lenv","metapath"); 3835 if(i+1<level){ 3836 #ifdef IGNORE_METAPATH 3837 map* tmpMap = createMap("metapath", ""); 3838 #else 3839 map* tmpMap=getMapFromMaps(conf,"lenv","metapath"); 3840 #endif 3836 3841 if(tmpMap==NULL || strlen(tmpMap->value)==0){ 3837 3842 char *tmp01=zStrdup(tmp00->value); … … 3982 3987 } 3983 3988 if(hasValidValue<0){ 3984 char *replace=_(" Ununderstood <%s> value, %s %s the only acceptable value.");3989 char *replace=_("The value <%s> was not recognized, %s %s the only acceptable value."); 3985 3990 nb=0; 3986 3991 char *vvalues=NULL;
Note: See TracChangeset
for help on using the changeset viewer.