Academic Tutorials



English | French | Portugese | Dutch | Italian
Google

Online

À la maison Codes sources E-Livres Téléchargements Nous contacter Au sujet de nous

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


En-tête de SAVON

Previous Next





L'élément d'en-tête de SAVON contient l'information d'en-tête. Et il est facultatif.



Élément d'en-tête de SAVON

Cet élément contient des informations spécifiques à l'application sur le message de SAVON.

Si l'élément d'en-tête est présent, ce doit être le premier élément d'enfant de l'élément d'enveloppe.

Tous les éléments immédiats d'enfant de l'élément d'en-tête doivent namespace-être qualifiés.

<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">

<soap:Header>
<m:Trans
xmlns:m="http://www.academictutorials.com/transaction/"
soap:mustUnderstand="1">234</m:Trans>
</soap:Header>

...
...

</soap:Envelope>

L'exemple ci-dessus contient un en-tête avec un élément de « transport », une valeur d'attribut de « mustUnderstand » de « 1 », et une valeur de 234.

Le SAVON définit trois attributs dans le namespace de défaut (" http://www.w3.org/2001/12/soap-envelope »). Ces attributs sont : acteur, mustUnderstand, et encodingStyle. Les attributs définis dans l'en-tête de SAVON définit comment un destinataire devrait traiter le message de SAVON.




L'attribut d'acteur

En passant différents points finaux le long du chemin de message, un message de SAVON peut voyager d'un expéditeur à un récepteur. Non toutes les parties du message de SAVON peuvent être prévues pour le point final final du message de SAVON mais, au lieu de cela, peuvent être prévues pour un ou plusieurs des points finaux sur le chemin de message.

L'attribut d'acteur de SAVON peut être employé pour adresser l'élément d'en-tête à un point final particulier.

Syntaxe

soap:actor="URI"
Exemple

<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">

<soap:Header>
<m:Trans
xmlns:m="http://www.academictutorials.com/transaction/"
soap:actor="http://www.academictutorials.com/appml/">
234
</m:Trans>
</soap:Header>

...
...

</soap:Envelope>



L'attribut de mustUnderstand

Cet attribut peut être employé pour indiquer si une entrée d'en-tête est obligatoire ou facultative pour que le destinataire traite.

Si vous ajoutez le « mustUnderstand= " 1 » à un élément d'enfant de l'élément d'en-tête il indique que le récepteur traitant l'en-tête doit identifier l'élément. Si le récepteur n'identifie pas l'élément il doit échouer en traitant l'en-tête.

Syntaxe

soap:mustUnderstand="0|1"
Exemple

<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">

<soap:Header>
<m:Trans
xmlns:m="http://www.academictutorials.com/transaction/"
soap:mustUnderstand="1">
234
</m:Trans>
</soap:Header>

...
...

</soap:Envelope>



L'attribut d'encodingStyle

Cet attribut est employé pour définir les types de données utilisés dans le document. Un message de SAVON n'a aucun codage de défaut. L'attribut d'encodingStyle peut apparaître sur n'importe quel élément de SAVON. Il s'appliquera au contenu de cet élément et à tous les éléments d'enfant.

Syntaxe

soap:encodingStyle="URI"
Exemple

<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
...
Message information goes here
...
</soap:Envelope>




Previous Next

Keywords:soap messages, soap 1.1, soap specification element, soap protocol


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
AJAX Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PHP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
XML Web Services Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz

Privacy Policy
Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.