Skip to Content

How to Consume Webservices from Banco Central do Brasil

Hi Experts,

I tryed to automate the transaction OB08, for update Exchange Rate and this information come from "Banco Central do Brasil" , it´s Bank that provide a Webservices. The Adreess : https://www3.bcb.gov.br/sgspub/JSP/sgsgeral/FachadaWSSGS.wsdl

When I try to create a Consume Webservices via ECC (sproxy), the system finished with error:

Proxy Generation:

error occured

Exception occurred in library handler

Incorrect value: Unknown namespace http://schemas.xmlsoap.org/soap/encoding/

I test for other Webservices and works fine.

I checked the difference for others services , is the extension ASMX exist, but in this case doesn´t . Somebody could guide me ?

Thank´s

Sidnei Palmieri

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 30, 2017 at 05:50 PM

    The proxy generator has some limitations, and you need to modify manually the WSDL. To know which parts could be incorrect, look at note 944029 - XML schema supported by ABAP proxy generation. It's a time-consuming task though.

    There's also the note 2193032 - SPROXSET switch NO_RPC_STYLE, if the WSDL has not the RPC style, you may deactivate temporarily the SIDL Library to avoid some errors (and reactivate it right after the client proxy generation). I never tested it so I can't tell you how good/whether it works.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2017 at 07:30 PM

    I had the same problem 2 years ago with using a WSDL from Russian Bank but was not able to resolve it. Instead, I found a program that used HTTP_GET function to just call their website and get the data from it. It was not an ideal solution but we simply had no time to investigate further. Also later the whole project was scratched, so that issue still remains a mystery to me.

    You might want to search some local SAP boards in Brazil where the solutions would be more likely discussed than on SCN.

    Add comment
    10|10000 characters needed characters exceeded