engswee / equalize-xpi-modules Goto Github PK
View Code? Open in Web Editor NEWPI Custom Adapter Modules
License: MIT License
PI Custom Adapter Modules
License: MIT License
Can you tell me where i can find the dependencies (possibly maven) of the import package "com.sap.XXXXXX" ?
Hi There,
Congrats for your project, very helpful !
I couldn't find a way to generate a JSON within an array on the root node, like the sample bellow.
Is there any way to do that ?
[ { "effectiveEndDate": "2200-01-01T00:00:00.000-0800", "businessUnits": [ { "name": "UN_NEG" } ], "effectiveStartDate": "2014-01-01T00:00:00.000-0800", "payeeId": "TesteIntegr2", "lastName": "Teste Integracao2 API", "preferredLanguage": "en_US", "eventCalendar": { "name": "CAL_MEN_EV" } } ]
It seems that at least some nordic characters (ä, Ä, ö, Ö) get mangled in DeepPlain2XMLConverter -conversion on CPI.
The scenario is from UTF-8 to UTF-8, so there should be no other sources of charset corruption.
The conversion script is simply;
import com.sap.gateway.ip.core.customdev.util.Message
import com.equalize.cpi.converter.FormatConversionBean
def Message processData(Message message) {
def fcb = new FormatConversionBean(message.exchange, message.getProperties())
def output = fcb.convert()
message.setBody(output)
return message
}
"Yrjö Kyrölä" converts into "Yrj�� Kyr��l��"
Might be related to issue "Encoding of umlaut character corrupted during XML to JSON conversion #10"
Hi Eng Swee
We think we have problem with the character * (star) when doing a conversion from xml to json using XML2JSONConverter.
It looks like that * is being lost during the xml-json-conversion. However this only applies to
the special case, when * is in a XML tag. As soon as there are more characters, like “* XX” the conversion is correct:
Do you you know this problem or how to solve our problem (be file or JMS receiver adapter) in connection with the use of FormatConversionBean?
Thanks for your feedback and kind regards
Christof
Hi there,
In a synchronous scenario, using HTTP_AAE, is it possible to convert the request from xml to json AND the response from json to xml ?
How should I configure the module beans in order to archive that ?
Thanks a lot !
Add additional functionality to retrieve the attachment file name from the Content Disposition field of the MIME envelope as detailed the link below:-
https://blogs.sap.com/2015/04/13/attachmentsplitterbean-split-attachments-into-child-messages/comment-page-1/#comment-371552
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.