Giter Site home page Giter Site logo

Comments (4)

 avatar commented on August 30, 2024

I've also had the problem that the result from methodResponse is empty, when the XML-Response had whitespace. I've made a pull request to fix it, maybe this will solve your problem too.

from symfony-rpc-bundle.

skolodyazhnyy avatar skolodyazhnyy commented on August 30, 2024

@flowlive It seems that you didn't wrap your array content into data element. But specification says that it's mandatory - http://xmlrpc.scripting.com/spec.html.

If you sure that your XML request is valid, please show me your case to help me reproduce this error.

Thanks!

from symfony-rpc-bundle.

flowlive avatar flowlive commented on August 30, 2024

Hi skolo :)
thank you both for your replies. I really appreciate it, since i use this(/your) bundle in my Bachelor Thesis.

Here is what i found out, after chrisank pointed out an issue with whitespaces:
if the Xml file has any kind of whitespace(normal, tab or linebreak, doesnt matter) between the opening array-tag and the following opening data-tag(yes, i did wrap it ;-> ), i get the fault response(see opening post).
If I remove the whitespaces between those two opening tags, everything works like a charm :)
So i guess there is some kind of error in the parsing routine?!?

I will do further tests, and let you know if anything else crashes ;-)

EDIT: okay, i found a similar bug within the struct type. There are no whitespaces allowed between any tags in a struct as far as my testings go.

from symfony-rpc-bundle.

skolodyazhnyy avatar skolodyazhnyy commented on August 30, 2024

@flowlive @chrisank thanks for pointing on an important problem with bundle. I have pushed a fix. Feel free to reopen the ticket if problem is not resolved.

Thanks and good luck

from symfony-rpc-bundle.

Related Issues (8)

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.