SóProvas


ID
1179322
Banca
FCC
Órgão
TRT - 16ª REGIÃO (MA)
Ano
2014
Provas
Disciplina
Arquitetura de Software
Assuntos

Um web service pode ser visto como a convergência de algumas tecnologias como HTTP, XML, SOAP, WSDL e UDDI. O protocolo SOAP é uma especificação da W3C para troca de informações estruturadas em ambientes descentralizados e distribuídos. Um arquivo XML de mensagem SOAP pode conter alguns elementos obrigatórios e outros opcionais. Um dos elementos opcionais é o Fault, que suporta em seu interior os elementos

Alternativas
Comentários
  • The SOAP Fault element has the following sub elements:

    Sub ElementDescription
    A code for identifying the fault
    A human readable explanation of the fault
    Information about who caused the fault to happen

    Holds application specific error information related to the Body element

    http://www.w3schools.com/webservices/ws_soap_fault.asp

  • <faultCode>A text code used to indicate a class of errors. See the next Table for a listing of predefined fault codes.
    <faultString>A text message explaning the error
    <faultActor>A text string indicating who caused the fault. This is useful if the SOAP message travels through several nodes in the SOAP message path, and the client needs to know which node caused the error. A node that does not act as the ultimate destination must include a faultActor element.
    <detail>An element used to carry application-specific error messages. The detail element can contain child elements, called detail entries.

  • Parece que isso é válido para o SOAP 1.1. No SOAP 1.2 os nomes mudaram.

  • O elemento Fault do SOAP é o elemento de falha aonde possui erros e informações de status de uma mensagem SOAP.
    Este elemento é opcional e quando estiver presente deve aparecer como um elemento filho do elemento Body


    Fonte: https://zarelli.wordpress.com/2012/03/22/como-funciona-o-soap-protocolo-simples-de-acesso-a-objetos/
  • The SOAP Fault element has the following sub elements:

     

    faultcode: A code for identifying the fault

    faultstring: A human readable explanation of the fault

    faultactor: Information about who caused the fault to happen

    detail: Holds application specific error information related to the Body element

     

    FONTE: http://www.w3schools.com/xml/xml_soap.asp

  • Trazindo:

     

     

    O elemento falha SOAP tem os seguintes sub elementos:  

    faultcode: um código para a identificação da falha

    faultstring: Uma explicação legível humana da falha

    faultactor: Informações sobre quem causou a falha acontecer

    detalhe: Mantém aplicação específica informações de erro relacionado com o elemento do corpo