Free Online Books and PDFs for Web Designers
Powered by MaxBlogPress  

SOAP XML Message – Understanding and Creating with Liquid XML Studio

What Is SOAP?

Soap is an Xml based transport protocol. Soap stands for Simple Object Access Protocol. Soap is a lightweight mechanism for exchanging structured and typed information. As it is XML based so it is language and platform independent. SOAP has been a widely accepted protocol for XML based system- to- system communications so several web services rely on SOAP.

SOAP has the following Elements

  • Envelope
  • Header
  • Body
  • Fault

SOAP Envelope:  You can consider Envelope as the Root Element in XML. It is configured to get notified that when the message transfer is over and when you need to stop receiving the message and process it. Just like XML Root is mandatory, Envelope is also a mandatory part of Soap. Every Envelope must contain one body Element in it. Inside the Envelope positions, all the elements are fixed and cannot be changed. The Element is prefixed by ENV Namespace.

An Envelope looks like this

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

SOAP-ENV:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
  ...
  Message information goes here
  ...
</SOAP-ENV:Envelope>

SOAP Header: Header in Element can exist multiple times in the soap. The header element will always be the first child of the Envelope. Header Elements are used to add new features and functionality in the soap. All the List Header Elements come after Envelope Start Element and Body Start Element. Header Element has the following  two Attributes.

SOAP Body: Body is a mandatory part of a soap message. It contains the data which needs to be exchanged in a soap message. Body should be inside an Envelope and below a Header. Soap based webservices can be implemented on IIS Server and then the Soap processor will map the body information to .net based objects.

SOAP Faults: For Error Handling Fault element is included in a soap message. This is also present inside Envelope and after a body element. Fault element has the following sub elements

  • Fault Code: This is an error code which details the type of error code that has been generated.
  • Fault String: small description about the error.
  • Fault Actor: Possible cause of error. This is useful when the service is served through many hope and it is intended that this will tell you which hope had created the error.
  • Details: Detailed description of error caused.

To create a SOAP Message for SOAP based web service from the Liquid XML Editor is very easy to do, here’s how;

Step 1: Download the Liquid Xml Editor from here and install.

Step 2: Create a new project .

Step 3: Right click on documents Add a new item.

 Step 4: Now click on icon which says Call A Webservice.

Step 5: Provide the webservice URL and click on Test.

Step 6: Once the test is successful, click on New .

Step 7: A list of soap methods is displayed.

Step 8: Click on any of the method for which you need to create SOAP based XML.

Step 9: Now click Finish to complete the operation.

SOAP will be generated for your operation.

VN:F [1.9.12_1141]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.12_1141]
Rating: 0 (from 0 votes)

Incoming search terms:

liquid xml,using liquid xml studio with soap,subclipse clear svn password weblogic,liquidXML and soap,tutorial liquid xml studio,soap xml,memcached and weblogic,Liquid XML studio create web service,liquid XML how install certificate,java soap service xml param
http://www.journaldev.com/wp-content/plugins/sociofluid/images/digg_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/reddit_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/dzone_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/delicious_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/blinklist_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/furl_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/newsvine_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/technorati_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/google_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/myspace_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/facebook_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/sphinn_48.png http://www.journaldev.com/wp-content/plugins/sociofluid/images/twitter_48.png

Who reads this also read:

  1. How to install Oracle Weblogic on Mac and Creating Weblogic domain
  2. Understanding Java Object cloning and when to override it
  3. Java Interview Questions: Understanding and Extending Java ClassLoader
  4. How to install Memcached Server on Mac OS/Linux
  5. How to clear Eclipse subclipse and subversion plugins user-password in Mac OS

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>