Le serveur HTTP (concepteur)
De Wiki1000
Cet onglet permet de suivre l'activité du serveur HTTP de développement.
Le serveur HTTP peut être utilisé pour la mise au point de Web Services ou SDATA à partir du Client Desktop.
- Démarrer / Arrêter le serveur HTTP
- Accède au dialogue de propriété du serveur.
- Effacer la liste des messages
Propriétés du serveur
- Site
- Partie Site de l'URL
L'URL est de la forme :
http://host:port/site/server/...
- Port
- Port TCP d'écoute du serveur.
- Répertoire
- Répertoire pour les requêtes statiques.
Exemple d'utilisation SData
http://syfre:8080/l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA
Server SYFRE:8080 is running Server Server URL: http://syfre:8080/l1000/server Server SOAP URL: http://syfre:8080/l1000/server/soap.l1000 Server SData URL: http://syfre:8080/l1000/server/sdata/l1000 -------------------------------------------------------------------------------- 21/07/2011 15:56:08 Execution time :6164,7644 ms GET /l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA Host: syfre:8080 User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:5.0) Gecko/20100101 Firefox/5.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Connection: keep-alive 200 OK ContentType=application/atom+xml ContentLength=28738 <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:sdata="http://schemas.sage.com/sdata/2008/1" xmlns:http="http://schemas.sage.com/sdata/http/2008/1" xmlns:ns3="http://www.sage.com/fr/line1000/TestSYFREWF"> <id>http://syfre:8080/l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA</id> <title>WFClasseA - -</title> <updated>2011-07-21T15:56:07+02:00</updated> <link rel="self" type="application/atom+xml; type=feed" href="http://syfre:8080/l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA?orderBy=oid&count=100"/> <link title="Première page" rel="first" type="application/atom+xml; type=feed" href="http://syfre:8080/l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA?orderBy=oid&count=100"/> <link title="Dernière page" rel="last" type="application/atom+xml; type=feed" href="http://syfre:8080/l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA?orderBy=oid&count=100"/> <link title="schema" rel="http://schemas.sage.com/sdata/link-relations/schema" type="application/xml" href="http://syfre:8080/l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA/$schema"/> <link title="post" rel="http://schemas.sage.com/sdata/link-relations/post" type="application/atom+xml; type=feed" href="http://syfre:8080/l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA"/> <link title="service" rel="http://schemas.sage.com/sdata/link-relations/service" type="application/atom+xml; type=feed" href="http://syfre:8080/l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA/$service"/> <entry> <id>http://syfre:8080/l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA('15757DC35BD601060010000000E60001')</id> <title>X1</title> <updated>2011-07-19T14:44:39+02:00</updated> <sdata:key>15757DC35BD601060010000000E60001</sdata:key> <link rel="alternate" href="http://syfre:8080/l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA('15757DC35BD601060010000000E60001')" type="application/atom+xml; type=feed"/> <link rel="self" href="http://syfre:8080/l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA('15757DC35BD601060010000000E60001')" type="application/atom+xml; type=feed" title="Refresh"/> <sdata:payload> <ns3:WFClasseA sdata:key="15757DC35BD601060010000000E60001" sdata:url="http://syfre:8080/l1000/server/sdata/l1000/TestSYFREWF/-/WFClasseA('15757DC35BD601060010000000E60001')"> <ns3:Caption>Objet A1</ns3:Caption> <ns3:unBool>false</ns3:unBool> <ns3:unCode>X1</ns3:unCode> <ns3:unCompteur>aaaaaaaaargd</ns3:unCompteur> <ns3:unCompteur_CounterName>MonCompteur</ns3:unCompteur_CounterName> <ns3:unDerive/> <ns3:unDouble>0</ns3:unDouble> <ns3:uneChaine/> <ns3:unEntier>2</ns3:unEntier> <ns3:unEtat>Final</ns3:unEtat> <ns3:unEtat_AsInteger>4</ns3:unEtat_AsInteger> <ns3:extCode/> </ns3:WFClasseA> </sdata:payload> <http:etag>15757DC35BD601060010000000E60001-0000024400000001</http:etag> </entry> </feed>