Skip to Content
0

How to Consume Webservices from Banco Central do Brasil

Oct 30, 2017 at 04:47 PM

92

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sandra Rossi Oct 30, 2017 at 05:50 PM
1

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.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Sandra,

I´ll check this references for try to solve my problem.

Thank´s a lot

0
Jelena Perfiljeva
Oct 30, 2017 at 07:30 PM
1

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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Jelene!!!

Thanks for the tips!! It works fine

0

Glad to hear it was helpful. If your question has been answered then kindly close it. Thank you!

0