cancel
Showing results for 
Search instead for 
Did you mean: 

Base64 in Proxy Runtime

Former Member
0 Kudos

Hi gurus,

I'm planning to use Base64 for sending/receiving binary data to R/3. I generated a proxy for a receiver interface which has a field of type Base64 and it is generated as RAWSTRING.

When I send a test XML through a web service (for my SOAP-PI-Proxy scenario) which has a correct Base64 data in the relative field, the proxy runtime in R/3 throws "Error in Control Framework" in SMQ2, even before the message reaches the proxy code.

How does the proxy runtime handle Base64? Does it actually convert it to RAWSTRING or I should use different xsd types for inbound interfaces(such as hexString maybe?). If yes, how to convert?

And what about sending? Is it possible to send Base64 from client proxies?

Regards,

Gökhan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member

It looks like proxy runtime decodes the base64 into an XSTRING automatically at runtime.

former_member200962
Active Contributor
0 Kudos

what is the Type that you have defined in DT of XI/PI....it should be xsd:base64Binary.......then you can build your proxy accordingly to accept the base64 message...check it out...

Regards,

Abhishek.