A apresentação está carregando. Por favor, espere

A apresentação está carregando. Por favor, espere

UNIVERSIDADE FEDERAL DE GOIÁS INSTITUTO DE INFORMÁTICA Sistemas Distribuídos Ciência da Computação 2o. Semestre / 2006 Prof. Fábio M. Costa

Apresentações semelhantes


Apresentação em tema: "UNIVERSIDADE FEDERAL DE GOIÁS INSTITUTO DE INFORMÁTICA Sistemas Distribuídos Ciência da Computação 2o. Semestre / 2006 Prof. Fábio M. Costa"— Transcrição da apresentação:

1 UNIVERSIDADE FEDERAL DE GOIÁS INSTITUTO DE INFORMÁTICA Sistemas Distribuídos Ciência da Computação 2o. Semestre / 2006 Prof. Fábio M. Costa fmc@inf.ufg.br www.inf.ufg.br/~fmc/SD2006 Aula 53-54: Web Services – Introdução

2 Instituto de Informática - UFG Infra-estrutura e componentes de Web Services Sec urit y Service descriptions (in WSDL) Appli cation s Director y service Web Servic es XMLXML Choreo graphy SOAPSOAP URIs (URLs or URNs) HTTP, SMTP or other transport

3 Instituto de Informática - UFG Combinação de Web Services: O Exemplo do Serviço de Agente de Viagens hotel bookin g a Travel Agent flight booking a hire car booking a Ser vic e Cli ent flight bookin g b hotel bookin g b hire car booking b

4 Instituto de Informática - UFG Mensagem SOAP em um envelope enve lope hea der bo dy header element body elemen t header element body elemen t

5 Instituto de Informática - UFG Exemplo de uma requisição simples sem cabeçalhos m:exc hange env:en velope xmlns:env =namespace URI for SOAP envelopes m: arg 1 env: body xmlns:m = namespace URI of the service description H ell o m: arg 2 W orl d Obs.: Nesta figura e na próxima, cada elemento XML é representado por uma caixa sombreada com seu nome em itálico, seguido por quaisquer atributes e seu conteúdo

6 Instituto de Informática - UFG Exemplo de uma resposta correspondente à requisição da figura anterior env:envelope xmlns:env = namespace URI for SOAP envelope m: res 1 env: body xmlns:m = namespace URI for the service description m:r es2 W orl d m:exchang eResponse H ell o

7 Instituto de Informática - UFG Uso de uma requisição HTTP POST na comunicação cliente-servidor com SOAP endpoint address act ion POST /examples/stringer Host: www.cdk4.net Content-Type: application/soap+xml Action: http://www.cdk4.net/examples/stringer#exchange <env:envelope xmlns:env=namespace URI for SOAP envelope> Soap message HTTP header


Carregar ppt "UNIVERSIDADE FEDERAL DE GOIÁS INSTITUTO DE INFORMÁTICA Sistemas Distribuídos Ciência da Computação 2o. Semestre / 2006 Prof. Fábio M. Costa"

Apresentações semelhantes


Anúncios Google