[!] => The message with Action 'http://schemas.voeazul.com.br/AzulServices/Utilities' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).
)
)
como fazer o consumo com nusoap em um webservice do tip WCF? :S
Pergunta
Diuliano
Galera geralmente eu uso pra fazer a conexão com o wsdl utilizando a função "soapclient()'do nusoap mas não ta dando certo agora :S...
eu uso dessa forma para acessar o wsdl...
$client = new soapclient('https://webservices.voeazul.com.br/AZULWS/AzulServices.svc?wsdl'); $xml = new xml(); $xml->openTag('request'); $xml->addTag('DomainCode', 'EXT'); $xml->addTag('AgentName', ***********); $xml->addTag('Password', ***********); $xml->addTag('SystemType', 'WebServicesAPI'); $xml->openTag('RoleCode /'); $xml->addTag('ChannelType', 'API'); $xml->closeTag('request'); $xml = $xml->__toString(); $result = $client->call('Logon', $xml); print_r($result);me retorna isso:
Array
(
[faultcode] => a:ActionNotSupported
[faultstring] => Array
(
[!xml:lang] => pt-BR
[!] => The message with Action 'http://schemas.voeazul.com.br/AzulServices/Utilities' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).
)
)
como fazer o consumo com nusoap em um webservice do tip WCF? :S
Editado por DiulianoLink para o comentário
Compartilhar em outros sites
2 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.