SOAP? Why would you use that?
I am using Ruby Enterprise Edition and Rails 3 to write my web application. The application uses Ustream's Watershed white label broadcasting services to provide live streaming for my users. Unfortunately I have hit a snag during development. Watershed allows an application to provide it's own authentic...
Short of it is I am using a 3rd party library to parse some xmpp messages. It is giving me an instance of XmlPullParser to parse an atom syndicate feed entity myself. I'd like to use the apache Abdera project for this but the XmlPullParser un-encodes encoded characters (<, >, etc) this causes problems when I give the buffer to Abdera as ...
I'm doing a distribution of tomcat for a many servers and in each of these servers the realm is going to be different. I would like to have a file /etc/tomcat/realm.xml containing the realm for that installation and have the file /var/lib/tomcat/conf/server.xml import it directly. I've tried with Xinclude without luck and I'm about to ...
I'm currently writing out xml and have done the following:
header ("content-type: text/xml");
header ("content-length: ".strlen($xml));
$xml being the xml to be written out. I'm near about 1.8 megs of text (which I found via firebug), it seems as the writing is taking more time than the script to run.. is there a way to increase this...
Hello,
I have an XML file ( XML file I produce ) which contains information about my parteners.
I want them to display on their website information relative to them by picking them into the XML file.
I have no idea to do that, ecxept that i need to write a 'parser' in javascript to display information. This javascript code i guess has...
Hi guys,
I'm parsing a generic JSON to a XML using net.sf.json. (I'm not using POJO Obj in the conversion)
Json that I'm converting:
{
"root": {
"accountId": "1000",
"Items": [
{
"cost": 0.1,
"debit": 0.1
},
{
"cost": 0.2,
...
So I've been trying to set up certificate authentication for my clients and services. The eventual goal is to partition data based on the certificate a client connects with (i.e. the certificate becomes their credentials in to the greater system and their data is partitioned based on these credentials).
I have been able to set it up suc...
I bought this program that created a pretty nice imageuploader flash script however I can't get the Javascript function close window to close the popup and redirect the original page.
here is the XML piece that defines the url's:
<urls urlToUpload="upload.php?" urlOnUploadSuccess="http://www.home.com/purchase.html"
urlOnUploadFail="ht...
I am working on an app which calls a rest web service. Sometimes the xml responses contain characters which the phone can not display. When displaying these characters, an empty box is displayed instead. I would like to filter out these characters. How can I detect if a character will be able to be displayed on the screen?
Some spec...
I am beginner in PHP. I am trying to parse this xml file.
<relationship>
<target>
<following type="boolean">true</following>
<followed_by type="boolean">true</followed_by>
<screen_name>xxxx</screen_name>
<id type="integer">xxxx</id>
</target>
<source>
<notifications_enabled nil="true"/>
<following type="boolean">true</fol...
Scenario
I have a windows service written in C# that performs some processing based on parsing an XML file and use that data to carry out various tasks.
The service also does various bits of logging - which uses settings from an APP.Config file.
The Problem
When the service is compiled, installed and run, the XML file seems to disappe...
Hi,
I need to create an XML schema definition (XSD) that describes Java objects.
I was wondering how to do this when the objects in question inherit from a common base class with a type parameter.
public abstract class Rule<T> { ... }
public abstract class TimeRule extends Rule<XTime> { ... }
public abstract class LocationRule exten...
Hi,
I am using JMS Messaging in my java program.
My messages are coming from IBM Main Frame and the messages are xml files.
Mainframe pushes messages that is xml files to the queue
But when the java program reads the messages from the queue an additional character "?" gets added in front of the xml file.
For example a file like this:
...
I added the solution to the code below.
The code at the bottom is what I have. I removed the creation of all tags.
At the top in the xml file I get.<?xml version="1.0" encoding="UTF-8" standalone="no"?> Note that standalone is no, even thou I have it set to yes.
The first question: How do I get standalone = yes?
I would like to add <...
I am using E4X to bind some values from xml in flex 3.
There is a problem when xml tag's (or attribute's) name has special character in it: having xml content
var xml:XML = <tag>
<special-name att="val" />
</tag>
special-name could not be accessed using xml.special-name.@att because it is interpreted as subtraction, on the other ...
Hello,
I'm trying to figure out how to know if a node is the last child of another, or not.
I know how to retrieve the parent's lastChild name ($node->parentNode->lastChild->nodeName), but as sometimes there's many same node names within the same parent, the name is definitly not the way to find the last child.
I'm looking for some kin...
I want to create my java application into a software. Then make it as an installer(setup). Also i made the java application into an executable jar. I am using IzPack for create installer. But i dont know create xml file for IzPack to add in it. If anybody know means, send me the procedure with example.
Thanks in advance.
...
Hello,
I've got an XML file on my serveur, and my parteners have to access it via a javascript i'm coding.
It's working perfectly in local, but as soon as i do :
xmlDoc.async=false;
xmlDoc.load("/export/export.xml");
to
xmlDoc.load("http://www.something.com/export/export.xml");
It stopped working. I know that it's to avoid XSS...
I'm trying to edit an XML schema in Visual Studio 2010 Ultimate RC, but when I go to the toolbox (with the schema open and focused) there's absolutely nothing in the Toolbox view, even when every tutorial out there that I've read tells me that there should be. I've tried using the context menu option for resetting the Toolbox to no effec...
Update There is no ready XML parser in Java community which can do NIO and XML parsing. This is the closest I found, and it's incomplete: http://wiki.fasterxml.com/AaltoHome
I have the following code:
InputStream input = ...;
XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
XMLStreamReader streamReader = xmlInputFactor...