Commit 667c226aa9315a0d86e91ea9ad0057cc89e1fa15
Exists in
master
and in
41 other branches
Merge branch 'develop' into MAZ_6018
Showing
2 changed files
with
16 additions
and
2 deletions
Show diff stats
php/WebServices/WebServer.php
... | ... | @@ -130,8 +130,11 @@ class WebServer |
130 | 130 | $tagName = $object == "timetables" ? "timeTableList" : "catalogList"; |
131 | 131 | } |
132 | 132 | else { |
133 | - if (!@$dom->load(USERWSDIR.'Tt.xml')) | |
134 | - $this->throwError("workspaceError", "Workspace Error : Cannot load TimeTable list for ".$this->userID); | |
133 | + if (!file_exists(USERWSDIR.'Tt.xml')) { | |
134 | + $ttMgr = new TimeTableMgr(); | |
135 | + } | |
136 | + if (!@$dom->load(USERWSDIR.'Tt.xml')) | |
137 | + $this->throwError("workspaceError", "Workspace Error : Cannot load TimeTable list for ".$this->userID); | |
135 | 138 | $tagName = $object == "timetables" ? "timetabList" : "catalogList"; |
136 | 139 | } |
137 | 140 | |
... | ... | @@ -382,6 +385,10 @@ class WebServer |
382 | 385 | // $this->throwError('workspaceError', 'No Amda Local DataBase Parameters description file for '.$this->userID); |
383 | 386 | |
384 | 387 | $this->excludePrivateNodes($locParamSrc,$locParamDst); |
388 | + | |
389 | + if (!file_exists($wsParamSrc)) { | |
390 | + $paramMgr = new DerivedParamMgr('derivedParam'); | |
391 | + } | |
385 | 392 | |
386 | 393 | if (($this->userID == WSConfigClass::getAnonymousUserName()) || !copy($wsParamSrc, WSConfigClass::getWsResultDir().$wsParamDst)) |
387 | 394 | return array('success' => true,'ParameterList' => |
... | ... |
public/wsdl/Methods_AMDA.wsdl
... | ... | @@ -179,6 +179,13 @@ |
179 | 179 | <xs:enumeration value="MAVEN"/> |
180 | 180 | <xs:enumeration value="PSP"/> |
181 | 181 | <xs:enumeration value="SOLO"/> |
182 | + <xs:enumeration value="SOLO_MAG"/> | |
183 | + <xs:enumeration value="ROSETTA"/> | |
184 | + <xs:enumeration value="JUNO_CRUISE"/> | |
185 | + <xs:enumeration value="JUNO_JUPITER_ORBIT"/> | |
186 | + <xs:enumeration value="CASSINI"/> | |
187 | + <xs:enumeration value="MGS"/> | |
188 | + <xs:enumeration value="MESSENGER"/> | |
182 | 189 | </xs:restriction> |
183 | 190 | </xs:simpleType> |
184 | 191 | |
... | ... |