How To Find Web Service Of Site
How Do I Access a Spider web Service?
Web services are described in a special XML file chosen a WSDL (Web Service Description Language). The WSDL document describes the service, including the structure of the input and output. In order to access a web service, you must first discover it's WSDL entry, which will mostly exist a URL on the spider web. To access a Spider web Service from uniPaaS, you demand to define a SOAP entry in the Services department and load the service WSDL. When the WSDL is loaded, a customer module (JAR file) is generated and optionally XML schemas are generated also.
-
Go to Options->Settings->Services .
-
Printing F4 (or Edit->Create Line) to open up a line.
-
Give your spider web service a proper noun. In our example, nosotros used CountryInfo .
-
In the Server cavalcade, zoom to select Lather .
-
Press Alt+Enter to access the Server properties.
-
In the WSDL URL field, enter the URL of the WSDL you are accessing. The Client Module field will fill in automatically.
-
Press the Load button. It will take a few moments for uniPaaS to create the Client Module and XML Schema files.
Also in Service Properties, you can gear up attachment encoding type, and the security settings to exist used.
One time the Web service is defined, you can access it easily from inside uniPaaS.
-
Press F4 (Edit->Create Line) to open a line.
-
Press I to select the Invoke functioning. The cursor will move to the next field.
-
Spider web service volition be selected by default. Tab to the next field.
-
Go to the Properties pane (Alt+Enter).
-
Zoom from the Service field to select the Service you want. In our instance, that is CountryInfo .
-
Zoom from the Operation field to select which spider web service operation you lot want to access.
-
Zoom from the Mistake field to select a variable (Blob or Blastoff) to hold the error code description (if the functioning completes successfully the variable will have an empty value).
-
Zoom from the Arguments field to set upwardly the arguments for this Web service. The exact statement list volition vary depending on the Web service, but uniPaaS will display a listing of what the Web service expects. Often the argument will be a complex type argument represented every bit XML document, in which instance the location of the XML Schema location will be listed.
-
Zoom from the Return value field to specify a variable for the Returned value from the Web service.
That is all there is to information technology! If the Web service uses complex input or output, you will need to put together the XML Blob for the Arguments and/or Return value.
Source: http://ftp.magicsoftware.com/www/help/unipaas/mergedprojects/masteringedeveloper/How_Do_I_Access_a_Web_Service_.htm
Posted by: cameronlacent.blogspot.com
0 Response to "How To Find Web Service Of Site"
Post a Comment