MetaJolie

Inclusion code:

Service Deployment

Port Name

Location

Protocol

Interfaces

MetaJolie

-

-

MetaJolieInterface

List of Available Interfaces

MetaJolieInterface

Interface documentation: WARNING: the API of this service is experimental. Use it at your own risk.

Operation Name

Input Type

Output Type

Faults

getInputPortMetaData

GetInputPortMetaDataRequest

GetInputPortMetaDataResponse

ParserException( ParserExceptionType ) InputPortMetaDataFault( undefined ) SemanticException( SemanticExceptionType )

parseRoles

ParseRoleRequest

Role

getMetaData

GetMetaDataRequest

GetMetaDataResponse

ParserException( ParserExceptionType ) SemanticException( SemanticExceptionType )

messageTypeCast

MessageTypeCastRequest

MessageTypeCastResponse

TypeMismatch( undefined )

checkNativeType

CheckNativeTypeRequest

CheckNativeTypeResponse

Operation Description

getInputPortMetaData

Invocation template:

getInputPortMetaData@MetaJolie( request )( response )

Request type

Type: GetInputPortMetaDataRequest

Type documentation: no documentation provided

type GetInputPortMetaDataRequest: void {
.filename: string
.name: Name
}

Response type

Type: GetInputPortMetaDataResponse

Type documentation: no documentation provided

type GetInputPortMetaDataResponse: void {
.input*: Participant
}

Possible faults thrown

Fault ParserException with type ParserExceptionType

Fault-handling install template:

install ( ParserException => /* error-handling code */ )
type ParserExceptionType: void {
.line: int
.sourceName: string
.message: string
}

Fault InputPortMetaDataFault with type undefined

Fault-handling install template:

install ( InputPortMetaDataFault => /* error-handling code */ )

Fault SemanticException with type SemanticExceptionType

Fault-handling install template:

install ( SemanticException => /* error-handling code */ )
type SemanticExceptionType: void {
.error*: void {
.line: int
.sourceName: string
.message: string
}
}

parseRoles

Invocation template:

parseRoles@MetaJolie( request )( response )

Request type

Type: ParseRoleRequest

Type documentation: no documentation provided

type ParseRoleRequest: void {
.filename: string
.rolename: Name
}

Response type

Type: Role

Type documentation: no documentation provided

type Role: void {
.output?: Participant
.input: Participant
.name: Name
.conversation*: Conversation
}

getMetaData

Invocation template:

getMetaData@MetaJolie( request )( response )

Request type

Type: GetMetaDataRequest

Type documentation: no documentation provided

type GetMetaDataRequest: void {
.filename: string
.name: Name
}

Response type

Type: GetMetaDataResponse

Type documentation: no documentation provided

type GetMetaDataResponse: void {
.output*: Participant
.input*: Participant
.interfaces*: Interface
.types*: Type
.service: Service
.embeddedServices*: void {
.servicepath: string
.type: string
.portId: string
}
}

Possible faults thrown

Fault ParserException with type ParserExceptionType

Fault-handling install template:

install ( ParserException => /* error-handling code */ )
type ParserExceptionType: void {
.line: int
.sourceName: string
.message: string
}

Fault SemanticException with type SemanticExceptionType

Fault-handling install template:

install ( SemanticException => /* error-handling code */ )
type SemanticExceptionType: void {
.error*: void {
.line: int
.sourceName: string
.message: string
}
}

messageTypeCast

Invocation template:

messageTypeCast@MetaJolie( request )( response )

Request type

Type: MessageTypeCastRequest

Type documentation: no documentation provided

type MessageTypeCastRequest: void {
.types: void {
.types*: Type
.messageTypeName: Name
}
.message: undefined
}

Response type

Type: MessageTypeCastResponse

Type documentation: no documentation provided

type MessageTypeCastResponse: void {
.message: undefined
}

Possible faults thrown

Fault TypeMismatch with type undefined

Fault-handling install template:

install ( TypeMismatch => /* error-handling code */ )

checkNativeType

Invocation template:

checkNativeType@MetaJolie( request )( response )

Request type

Type: CheckNativeTypeRequest

Type documentation: no documentation provided

type CheckNativeTypeRequest: void {
.type_name: string
}

Response type

Type: CheckNativeTypeResponse

Type documentation: no documentation provided

type CheckNativeTypeResponse: void {
.result: bool
}