Comments (4)
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.
@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.
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.
@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)
- Documentation HOT 6
- How to set the prefix ? HOT 1
- curl error in makeRequest will result in InvalidArgumentException HOT 1
- Schema xmlrpc.xsd HOT 8
- DOMDocument::createElement(): unterminated entity reference error HOT 1
- Logging errors instead of throwing them HOT 1
- "The XML document has not valid XML-RPC content" on Server creation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symfony-rpc-bundle.