When calling a webservice, it returns the following message:
---------------------------
Web Service Error
---------------------------
Operation: Retrieve
Buffer: Primary
Method: getDatosPrincipales
Error message: The client found the answer content type 'text / plain', but 'text / xml' was expected.
Error of the request with the error message:
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://service.consultaruc.registro.servicio2.sunat.gob.pe">http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:BeanDdp" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ConsultaRuc">070701020701721010007/08/200402/02/19960001- - RIOS RAMIREZ ARMANDO OSCAR PEDRO OCONFECCIONES MILITARES-
You will have some code that uses the SOAP XML call from PowerBuilder, I have tried several codes that I found on the web but I can not get it to work.