Erro webService WSDL

07/03/2018

0

Ola!
Estou com o seguinte erro ao tentar consumir webservice, trabalhando com Delphi:
comando executado:

GetCadsusServicePortType.consultar(request);

<env:Detail xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:fault="http://tempuri.org/soapfaults" fault:type="faultDetails" fault:messageId="Id-2b22a05a013918018fce000011914ac4">
<fault:path policy="/cadsus/CadsusService/v5r0">
<fault:filter status="Error" name="Service Handler for 'CadsusService'">
<fault:path policy="/cadsus/CadsusService/v5r0">
<fault:filter status="Pass" name="1. Request from Client">
<fault:path policy="/cadsus/CadsusService/v5r0">
<fault:filter status="Pass" name="Before Operation-specific Policy">
<fault:path policy="Filtro Conteudo">
<fault:filter status="Pass" name="Bloquear conteudo non-SOAP/XML">
</fault:filter>
<fault:filter status="Pass" name="Threatening Content">
</fault:filter>
<fault:filter status="Pass" name="If SOAP 1.1">
</fault:filter>
<fault:filter status="Pass" name="Validacao Schema 1.1">
</fault:filter>
<fault:filter status="Pass" name="Complexidade do XML">
</fault:filter>
<fault:filter status="Pass" name="Remover Elementos Inapropriados do WS-Security">
</fault:filter>
<fault:filter status="Pass" name="HTTP 200">
</fault:filter>
</fault:path>
</fault:filter>
<fault:filter status="Pass" name="SOAP Action Processor">
</fault:filter>
<fault:filter status="Pass" name="Schema Validation Filter">
</fault:filter>
</fault:path>
</fault:filter>
<fault:filter status="Error" name="2. User Defined Request Hooks">
<fault:path policy="ConverterSOAP-1.1To1.2">
<fault:filter status="Pass" name="SOAP 1.1 TO SOAP 1.2">
</fault:filter>
<fault:filter status="Error" name="Remover Namespaces Sem Uso">
</fault:filter>
</fault:path>
</fault:filter>
</fault:path>
</fault:filter>
<fault:filter status="Fail" name="SOAP Fault">
</fault:filter>
</fault:path>
<fault:attributes>
<fault:attribute name="circuit.exception" value="com.vordel.circuit.CircuitAbortException: nested fault: XML parse failed: libxml error: : level: 3, code: 5, file: none, line: 1, str1: "", str2: "", str3: "", int1: 0, int2: 37, message: Extra content at the end of the document ">
</fault:attribute>
<fault:attribute name="circuit.failure.reason" value="nested fault: XML parse failed: libxml error: : level: 3, code: 5, file: none, line: 1, str1: "", str2: "", str3: "", int1: 0, int2: 37, message: Extra content at the end of the document ">
</fault:attribute>
<fault:attribute name="content.body" value="com.vordel.mime.XMLBody@1588e325">
</fault:attribute>
<fault:attribute name="http.client" value="com.vordel.dwe.http.ServerTransaction@4df89d2e">
</fault:attribute>
<fault:attribute name="http.headers" value="{Cache-control=[no-cache], Client-ip=[189.28.129.71], ECID-Context=[1.klWTU0o4000000000;kXjE], Host=[servicoshm.saude.gov.br], Proxy-agent=[Oracle-Traffic-Director/11.1.1.7], Proxy-jroute=[Q9K0eCsE0ZFhjhL0], Proxy-ssl=[False], Soapaction=[""], Surrogate-capability=[otd="Surrogate/1.0"], User-agent=[CodeGear SOAP 1.3], Via=[1.1 net-OTD_WEB], X-forwarded-for=[187.23.194.167,189.28.129.71]}">
</fault:attribute>
<fault:attribute name="http.querystring" value="com.vordel.mime.QueryStringHeaderSet@7d175eff">
</fault:attribute>
<fault:attribute name="http.raw.querystring" value="null">
</fault:attribute>
<fault:attribute name="http.request.uri" value="/cadsus/CadsusService/v5r0">
</fault:attribute>
<fault:attribute name="http.response.info" value="ERROR">
</fault:attribute>
<fault:attribute name="http.response.status" value="500">
</fault:attribute>
<fault:attribute name="id" value="Id-2b22a05a013918018fce000011914ac4">
</fault:attribute>
<fault:attribute name="leg0" value="[ "http", [0,1520443947517,0,"2b22a05a013918018fce000011914ac4",null,null,null,"http",null,0,0,"192.168.152.196","192.168.152.196","192.168.152.25","36567","8080",null,"/cadsus/CadsusService/v5r0",0,null,null,null]]">
</fault:attribute>
<fault:attribute name="message.source" value="8080">
</fault:attribute>
<fault:attribute name="monitoring.enabled" value="true">
</fault:attribute>
<fault:attribute name="resolved.to.path" value="CadsusService">
</fault:attribute>
<fault:attribute name="service.name" value="CadsusService">
</fault:attribute>
<fault:attribute name="soap.request.action" value="">
</fault:attribute>
<fault:attribute name="soap.request.method" value="requestConsultar">
</fault:attribute>
<fault:attribute name="soap.request.method.QName" value="{http://servicos.saude.gov.br/cadsus/v5r0/cadsusservice}requestConsultar">
</fault:attribute>
<fault:attribute name="soap.version" value="http://schemas.xmlsoap.org/soap/envelope/">
</fault:attribute>
<fault:attribute name="statistics" value="com.vordel.statistics.MessageMetrics@95df782">
</fault:attribute>
<fault:attribute name="webservice.context" value="CadsusService [ESPK:<key type='WebServiceRepository'><id field='name' value='Web Service Repository'/><key type='WebServiceGroup'><id field='name' value='CADSUS50'/><key type='WebService'><id field='name' value='CadsusService'/></key></key></key>]">
</fault:attribute>
<fault:attribute name="xsd.errors" value="[]">
</fault:attribute>
</fault:attributes>
</env:Detail>.
Diego Pohl

Diego Pohl

Responder

Posts

01/02/2021

Makson Nascimento

amigo estou precisando urgente desta consulta em delphi! vc conseguiu :?? tem como me enviar os forms desta consulta?
Ola!
Estou com o seguinte erro ao tentar consumir webservice, trabalhando com Delphi:
comando executado:

GetCadsusServicePortType.consultar(request);

<env:Detail xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:fault="http://tempuri.org/soapfaults" fault:type="faultDetails" fault:messageId="Id-2b22a05a013918018fce000011914ac4">
<fault:path policy="/cadsus/CadsusService/v5r0">
<fault:filter status="Error" name="Service Handler for 'CadsusService'">
<fault:path policy="/cadsus/CadsusService/v5r0">
<fault:filter status="Pass" name="1. Request from Client">
<fault:path policy="/cadsus/CadsusService/v5r0">
<fault:filter status="Pass" name="Before Operation-specific Policy">
<fault:path policy="Filtro Conteudo">
<fault:filter status="Pass" name="Bloquear conteudo non-SOAP/XML">
</fault:filter>
<fault:filter status="Pass" name="Threatening Content">
</fault:filter>
<fault:filter status="Pass" name="If SOAP 1.1">
</fault:filter>
<fault:filter status="Pass" name="Validacao Schema 1.1">
</fault:filter>
<fault:filter status="Pass" name="Complexidade do XML">
</fault:filter>
<fault:filter status="Pass" name="Remover Elementos Inapropriados do WS-Security">
</fault:filter>
<fault:filter status="Pass" name="HTTP 200">
</fault:filter>
</fault:path>
</fault:filter>
<fault:filter status="Pass" name="SOAP Action Processor">
</fault:filter>
<fault:filter status="Pass" name="Schema Validation Filter">
</fault:filter>
</fault:path>
</fault:filter>
<fault:filter status="Error" name="2. User Defined Request Hooks">
<fault:path policy="ConverterSOAP-1.1To1.2">
<fault:filter status="Pass" name="SOAP 1.1 TO SOAP 1.2">
</fault:filter>
<fault:filter status="Error" name="Remover Namespaces Sem Uso">
</fault:filter>
</fault:path>
</fault:filter>
</fault:path>
</fault:filter>
<fault:filter status="Fail" name="SOAP Fault">
</fault:filter>
</fault:path>
<fault:attributes>
<fault:attribute name="circuit.exception" value="com.vordel.circuit.CircuitAbortException: nested fault: XML parse failed: libxml error: : level: 3, code: 5, file: none, line: 1, str1: "", str2: "", str3: "", int1: 0, int2: 37, message: Extra content at the end of the document ">
</fault:attribute>
<fault:attribute name="circuit.failure.reason" value="nested fault: XML parse failed: libxml error: : level: 3, code: 5, file: none, line: 1, str1: "", str2: "", str3: "", int1: 0, int2: 37, message: Extra content at the end of the document ">
</fault:attribute>
<fault:attribute name="content.body" value="com.vordel.mime.XMLBody@1588e325">
</fault:attribute>
<fault:attribute name="http.client" value="com.vordel.dwe.http.ServerTransaction@4df89d2e">
</fault:attribute>
<fault:attribute name="http.headers" value="{Cache-control=[no-cache], Client-ip=[189.28.129.71], ECID-Context=[1.klWTU0o4000000000;kXjE], Host=[servicoshm.saude.gov.br], Proxy-agent=[Oracle-Traffic-Director/11.1.1.7], Proxy-jroute=[Q9K0eCsE0ZFhjhL0], Proxy-ssl=[False], Soapaction=[""], Surrogate-capability=[otd="Surrogate/1.0"], User-agent=[CodeGear SOAP 1.3], Via=[1.1 net-OTD_WEB], X-forwarded-for=[187.23.194.167,189.28.129.71]}">
</fault:attribute>
<fault:attribute name="http.querystring" value="com.vordel.mime.QueryStringHeaderSet@7d175eff">
</fault:attribute>
<fault:attribute name="http.raw.querystring" value="null">
</fault:attribute>
<fault:attribute name="http.request.uri" value="/cadsus/CadsusService/v5r0">
</fault:attribute>
<fault:attribute name="http.response.info" value="ERROR">
</fault:attribute>
<fault:attribute name="http.response.status" value="500">
</fault:attribute>
<fault:attribute name="id" value="Id-2b22a05a013918018fce000011914ac4">
</fault:attribute>
<fault:attribute name="leg0" value="[ "http", [0,1520443947517,0,"2b22a05a013918018fce000011914ac4",null,null,null,"http",null,0,0,"192.168.152.196","192.168.152.196","192.168.152.25","36567","8080",null,"/cadsus/CadsusService/v5r0",0,null,null,null]]">
</fault:attribute>
<fault:attribute name="message.source" value="8080">
</fault:attribute>
<fault:attribute name="monitoring.enabled" value="true">
</fault:attribute>
<fault:attribute name="resolved.to.path" value="CadsusService">
</fault:attribute>
<fault:attribute name="service.name" value="CadsusService">
</fault:attribute>
<fault:attribute name="soap.request.action" value="">
</fault:attribute>
<fault:attribute name="soap.request.method" value="requestConsultar">
</fault:attribute>
<fault:attribute name="soap.request.method.QName" value="{http://servicos.saude.gov.br/cadsus/v5r0/cadsusservice}requestConsultar">
</fault:attribute>
<fault:attribute name="soap.version" value="http://schemas.xmlsoap.org/soap/envelope/">
</fault:attribute>
<fault:attribute name="statistics" value="com.vordel.statistics.MessageMetrics@95df782">
</fault:attribute>
<fault:attribute name="webservice.context" value="CadsusService [ESPK:<key type='WebServiceRepository'><id field='name' value='Web Service Repository'/><key type='WebServiceGroup'><id field='name' value='CADSUS50'/><key type='WebService'><id field='name' value='CadsusService'/></key></key></key>]">
</fault:attribute>
<fault:attribute name="xsd.errors" value="[]">
</fault:attribute>
</fault:attributes>
</env:Detail>.
Responder

Que tal ter acesso a um e-book gratuito que vai te ajudar muito nesse momento decisivo?

Ver ebook

Recomendado pra quem ainda não iniciou o estudos.

Eu quero
Ver ebook

Recomendado para quem está passando por dificuldades nessa etapa inicial

Eu quero

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar