Pessoal,
Estou tentando adicionar um service referente aos webservices da Cielo e estou recebendo o seguinte erro:
There was an error downloading 'https://qasecommerce.cielo.com.br/servicos/ecommwsec.do'.
The request failed with HTTP status 405: Method Not Allowed.
Metadata contains a reference that cannot be resolved: 'https://qasecommerce.cielo.com.br/servicos/ecommwsec.do'.
The content type text/xml; charset=ISO-8859-1 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The
first 158 bytes of the response were: '<?xml version="1.0" encoding="ISO-8859-1"?> <erro xmlns="http://ecommerce.cbmp.com.br"> <codigo>001</codigo> <mensagem>Requisi��o inv�lida</mensagem> </erro>
'.
If the service is defined in the current solution, try building the solution and adding the service reference again.
Mas como da erro no xml se eu nem mesmo comecei a desenvolver esta parte.
1o quero referenciar o webservice pra ver se esta tudo certo.
Testes
https://qasecommerce.cielo.com.br/servicos/ecommwsec.do
Producao
https://ecommerce.cbmp.com.br/servicos/ecommwsec.do
O que poderia ser ?