[system] / trunk / xmlrpc / example_of_xml-rpc_call.txt Repository:
ViewVC logotype

View of /trunk/xmlrpc/example_of_xml-rpc_call.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 279 - (download) (annotate)
Fri May 17 21:44:04 2002 UTC (17 years, 3 months ago) by gage
File size: 8483 byte(s)
Experimental xmlrpc WeBWorK webservices

    1 POST /RPC2 HTTP/1.0
    2 User-Agent: Frontier/6.2.1 (MacOS)
    3 Host: webwork-db.math.rochester.edu:8000
    4 Content-Type: text/xml
    5 Content-length: 8386
    6 
    7 <?xml version="1.0"?>
    8 <methodCall>
    9 	<methodName>renderProblem</methodName>
   10 	<params>
   11 		<param>
   12 			<value>
   13 				<struct>
   14 					<member>
   15 						<name>answer_form_submitted</name>
   16 						<value><i4>1</i4></value>
   17 						</member>
   18 					<member>
   19 						<name>course</name>
   20 						<value>mth141</value>
   21 						</member>
   22 					<member>
   23 						<name>envir</name>
   24 						<value><struct>
   25 							<member>
   26 								<name>answerDate</name>
   27 								<value>4014438528</value>
   28 								</member>
   29 							<member>
   30 								<name>cgiDirectory</name>
   31 								<value>asdf</value>
   32 								</member>
   33 							<member>
   34 								<name>cgiURL</name>
   35 								<value>asdf</value>
   36 								</member>
   37 							<member>
   38 								<name>classDirectory</name>
   39 								<value>asdf</value>
   40 								</member>
   41 							<member>
   42 								<name>courseName</name>
   43 								<value>mth141</value>
   44 								</member>
   45 							<member>
   46 								<name>courseScriptsDirectory</name>
   47 								<value>/u/gage/xmlrpc/experiments/courseScripts/</value>
   48 								</member>
   49 							<member>
   50 								<name>displayMode</name>
   51 								<value>HTML_tth</value>
   52 								</member>
   53 							<member>
   54 								<name>dueDate</name>
   55 								<value>4014438528</value>
   56 								</member>
   57 							<member>
   58 								<name>fileName</name>
   59 								<value>c0s2p1</value>
   60 								</member>
   61 							<member>
   62 								<name>formattedAnswerDate</name>
   63 								<value>6/19/00</value>
   64 								</member>
   65 							<member>
   66 								<name>formattedDueDate</name>
   67 								<value>6/19/00</value>
   68 								</member>
   69 							<member>
   70 								<name>formattedOpenDate</name>
   71 								<value>6/19/00</value>
   72 								</member>
   73 							<member>
   74 								<name>functLLimitDefault</name>
   75 								<value>
   76 									<i4>0</i4>
   77 									</value>
   78 								</member>
   79 							<member>
   80 								<name>functMaxConstantOfIntegration</name>
   81 								<value>
   82 									<double>1000000000000.0</double>
   83 									</value>
   84 								</member>
   85 							<member>
   86 								<name>functNumOfPoints</name>
   87 								<value>
   88 									<i4>5</i4>
   89 									</value>
   90 								</member>
   91 							<member>
   92 								<name>functRelPercentTolDefault</name>
   93 								<value>
   94 									<double>0.000001</double>
   95 									</value>
   96 								</member>
   97 							<member>
   98 								<name>functULimitDefault</name>
   99 								<value>
  100 									<i4>1</i4>
  101 									</value>
  102 								</member>
  103 							<member>
  104 								<name>functVarDefault</name>
  105 								<value>x</value>
  106 								</member>
  107 							<member>
  108 								<name>functZeroLevelDefault</name>
  109 								<value>
  110 									<double>0.000001</double>
  111 									</value>
  112 								</member>
  113 							<member>
  114 								<name>functZeroLevelTolDefault</name>
  115 								<value>
  116 									<double>0.000001</double>
  117 									</value>
  118 								</member>
  119 							<member>
  120 								<name>htmlDirectory</name>
  121 								<value>asdf</value>
  122 								</member>
  123 							<member>
  124 								<name>htmlURL</name>
  125 								<value>asdf</value>
  126 								</member>
  127 							<member>
  128 								<name>inputs_ref</name>
  129 								<value>
  130 									<struct>
  131 										<member>
  132 											<name>AnSwEr1</name>
  133 											<value>hello</value>
  134 											</member>
  135 										<member>
  136 											<name>AnSwEr2</name>
  137 											<value>8</value>
  138 											</member>
  139 										<member>
  140 											<name>AnSwEr3</name>
  141 											<value>2*x^(1)</value>
  142 											</member>
  143 										</struct>
  144 									</value>
  145 								</member>
  146 							<member>
  147 								<name>macroDirectory</name>
  148 								<value>asdf</value>
  149 								</member>
  150 							<member>
  151 								<name>numAbsTolDefault</name>
  152 								<value>
  153 									<double>0.0000001</double>
  154 									</value>
  155 								</member>
  156 							<member>
  157 								<name>numFormatDefault</name>
  158 								<value>%0.5g</value>
  159 								</member>
  160 							<member>
  161 								<name>numOfAttempts</name>
  162 								<value>
  163 									<i4>0</i4>
  164 									</value>
  165 								</member>
  166 							<member>
  167 								<name>numRelPercentTolDefault</name>
  168 								<value>
  169 									<double>0.0001</double>
  170 									</value>
  171 								</member>
  172 							<member>
  173 								<name>numZeroLevelDefault</name>
  174 								<value>
  175 									<double>0.000001</double>
  176 									</value>
  177 								</member>
  178 							<member>
  179 								<name>numZeroLevelTolDefault</name>
  180 								<value>
  181 									<double>0.000001</double>
  182 									</value>
  183 								</member>
  184 							<member>
  185 								<name>openDate</name>
  186 								<value>3014438528</value>
  187 								</member>
  188 							<member>
  189 								<name>probFileName</name>
  190 								<value>c0s2p1</value>
  191 								</member>
  192 							<member>
  193 								<name>problemSeed</name>
  194 								<value>
  195 									<i4>1234</i4>
  196 									</value>
  197 								</member>
  198 							<member>
  199 								<name>problemValue</name>
  200 								<value>
  201 									<i4>1</i4>
  202 									</value>
  203 								</member>
  204 							<member>
  205 								<name>probNum</name>
  206 								<value>
  207 									<i4>1</i4>
  208 									</value>
  209 								</member>
  210 							<member>
  211 								<name>psvnNumber</name>
  212 								<value>
  213 									<i4>123</i4>
  214 									</value>
  215 								</member>
  216 							<member>
  217 								<name>questionNumber</name>
  218 								<value>
  219 									<i4>1</i4>
  220 									</value>
  221 								</member>
  222 							<member>
  223 								<name>scriptDirectory</name>
  224 								<value>/u/gage/xmlrpc/experiments/scripts/</value>
  225 								</member>
  226 							<member>
  227 								<name>sectionName</name>
  228 								<value>Gage</value>
  229 								</member>
  230 							<member>
  231 								<name>sectionNumber</name>
  232 								<value>
  233 									<i4>1</i4>
  234 									</value>
  235 								</member>
  236 							<member>
  237 								<name>sessionKey</name>
  238 								<value>asdf</value>
  239 								</member>
  240 							<member>
  241 								<name>setNumber</name>
  242 								<value>
  243 									<i4>1</i4>
  244 									</value>
  245 								</member>
  246 							<member>
  247 								<name>studentLogin</name>
  248 								<value>gage</value>
  249 								</member>
  250 							<member>
  251 								<name>studentName</name>
  252 								<value>Mike Gage</value>
  253 								</member>
  254 							<member>
  255 								<name>tempDirectory</name>
  256 								<value>/u/gage/xmlrpc/experiments/tmp/</value>
  257 								</member>
  258 							<member>
  259 								<name>templateDirectory</name>
  260 								<value>asdf</value>
  261 								</member>
  262 							<member>
  263 								<name>tempURL</name>
  264 								<value>http://webwork-db.math.rochester.edu/</value>
  265 								</member>
  266 							<member>
  267 								<name>webworkDocsURL</name>
  268 								<value>asdf</value>
  269 								</member>
  270 							</struct></value>
  271 						</member>
  272 					<member>
  273 						<name>extra_packages_to_load</name>
  274 						<value><array>
  275 							<data>
  276 								<value>AlgParserWithImplicitExpand</value>
  277 								<value>Expr</value>
  278 								<value>ExprWithImplicitExpand</value>
  279 								<value>AnswerHashExpr</value>
  280 								<value>ExprWithImplicitExpand</value>
  281 								</data>
  282 							</array></value>
  283 						</member>
  284 					<member>
  285 						<name>mode</name>
  286 						<value>HTML_tth</value>
  287 						</member>
  288 					<member>
  289 						<name>modules_to_evaluate</name>
  290 						<value><array>
  291 							<data>
  292 								<value>Exporter</value>
  293 								<value>DynaLoader</value>
  294 								<value>GD</value>
  295 								<value>WWPlot</value>
  296 								<value>Fun</value>
  297 								<value>Circle</value>
  298 								<value>Label</value>
  299 								<value>PGrandom</value>
  300 								<value>Units</value>
  301 								<value>Hermite</value>
  302 								<value>List</value>
  303 								<value>Match</value>
  304 								<value>Select</value>
  305 								<value>AlgParser</value>
  306 								</data>
  307 							</array></value>
  308 						</member>
  309 					<member>
  310 						<name>problem_state_info</name>
  311 						<value><struct>
  312 							<member>
  313 								<name>num_of_correct_ans</name>
  314 								<value>
  315 									<i4>0</i4>
  316 									</value>
  317 								</member>
  318 							<member>
  319 								<name>num_of_incorrect_ans</name>
  320 								<value>
  321 									<i4>0</i4>
  322 									</value>
  323 								</member>
  324 							<member>
  325 								<name>recorded_score</name>
  326 								<value>
  327 									<i4>0</i4>
  328 									</value>
  329 								</member>
  330 							</struct></value>
  331 						</member>
  332 					<member>
  333 						<name>source</name>
  334 						<value>RE9DVU1FTlQoKTsgICAgICAgDWxvYWRNYWNyb3MoIlBHLnBsIiwgICAgICAgDQkiUEdiYXNpY21hY3Jvcy5wbCIsICAgICAgIA0JIlBHY2hvaWNlbWFjcm9zLnBsIiwgICAgICAgDQkiUEdhbnN3ZXJtYWNyb3MucGwiLCAgICAgIA0JKTsgICAgICAgDQkNQkVHSU5fVEVYVA1Db21wbGV0ZSB0aGUgc2VudGVuY2U6ICRQQVINXHsgYW5zX3J1bGUoMjApIFx9ICB3b3JsZCENRU5EX1RFWFQNDUFOUyggc3RyX2NtcCggIkhlbGxvIiApICk7ICAjIGhlcmUgaXMgdGhlIGFuc3dlciwgYSBzdHJpbmcuDQ1CRUdJTl9URVhUDSRIUg0NDUVORF9URVhUDQ1FTkRET0NVTUVOVCgpOyAN</value>
  335 						</member>
  336 					</struct>
  337 				</value>
  338 			</param>
  339 		</params>
  340 	</methodCall>

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9