Git Product home page Git Product logo

equalize-xpi-modules's People

Contributors

codebude avatar engswee avatar jvandborg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

equalize-xpi-modules's Issues

XML2JSON Array on rootNode

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" } } ]

Parse both request and response

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 !

problem with the character * (star) when doing a conversion from xml to json

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:

image

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

Issue Cloning Codes

Hi,
I have set sslverify=false under Preferences > Team > Git > Configuration in my NWDS but while trying to clone the code, I get the error attached
gitisuue

Any help will be appreciated.

Thanks
Arijit

CPI: Nordic Characters (e.g. 'ä', 'ö') are mangled with DeepPlain2XMLConverter

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
}

GitHub_FCB_Issue_00

"Yrjö Kyrölä" converts into "Yrj�� Kyr��l��"

Might be related to issue "Encoding of umlaut character corrupted during XML to JSON conversion #10"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.