skip to main content
Corticon Server: Integration & Deployment Guide : Service contract examples : Examples of XSD and WSDLS available in the Deployment Console : Vocabulary-level WSDL, FLAT XML messaging style
 

Try Corticon Now
Vocabulary-level WSDL, FLAT XML messaging style
This topic defines and annotates the Vocabulary-level WSDL, FLAT XML in the following sections:
*SOAP Envelope
*Types
*Messages
*PortType
*Binding
*Service

SOAP Envelope

<?xml version=1.0 encoding=UTF-8?>
<definitions xmlns=http://schemas.xmlsoap.org/wsdl/
xmlns:tns=urn:<namespace> xmlns:cc=urn:<namespace>
xmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/
targetNamespace=urn:<namespace>>
for details on <namespace> definition, see XML Namespace Mapping

Types

<types>
    <xsd:schema xmlns:tns=urn:Corticon targetNamespace=urn:<namespace>
elementFormDefault=qualified>
This <type> section contains the entire Vocabulary-level XSD, FLAT-style service contract, minus the XSD Header section…
or details on <namespace> definition, see XML Namespace Mapping
</types>

Messages

The SOAP service supports two messages, each with a single argument. See portType
<message name=CorticonRequestIn>
    <part name=parameters element=cc:CorticonRequest />
</message>
<message name=CorticonResponseOut>
    <part name=parameters element=cc:CorticonResponse />
</message>

PortType

<portType name=VocabularyNameDecisionServiceSoap>
Indicates service operation: one message in and one message out…
<operation name=processRequest>
      <input message=tns:CorticonRequestIn />
      <output message=tns:CorticonResponseOut />
   </operation>
</portType>

Binding

Use HTTP transport for SOAP operation defined in <portType>
<binding name=VocabularyNameDecisionServiceSoap type=tns:
VocabularyNameDecisionServiceSoap
>
All WSDLs generated by the Deployment Console use Document-style messaging:
<soap:binding transport=http://schemas.xmlsoap.org/soap/http
style=document />
    <operation name=processRequest>
Identifies the SOAP binding of the Decision Service:
<soap:operation soapAction=urn:Corticon style=document />
<input>
     <soap:body use=literal namespace=urn:Corticon />
</input>
<output>
     <soap:body use=literal namespace=urn:Corticon />
</output>
</operation>
</binding>

Service

<service name=VocabularyNameDecisionService>
<port name=VocabularyNameDecisionServiceSoap binding=tns:VocabularyNameDecisionServiceSoap>
Corticon Server Servlet URI contained in section 22 of the Deployment Console will be inserted here:
<soap:address location=http://localhost:8850/axis/services/Corticon />
    </port>
  </service>
</definitions>