Questions tagged as 'xml'

0
answers

simplexml_load_file does not work with large XML file - Request Time Out

I'm using simplexml_load_file to parse an XML document, but the file has more than 100 mb and instead of loading only part of the nodes, what's happening is that the whole document is being loaded from a before the nodes are extracted, an...
asked by 17.06.2017 / 00:13
1
answer

Declaring namespaces in XML in classes imported by WSDL (jax-ws)

I'm developing a WebService application using jax-ws. In this model, after importing the WSDL, the IDE generates the classes that will be used in the information exchange. However when I create the object and pass as a parameter I get the messag...
asked by 18.07.2017 / 21:29
0
answers

simplexml_load_file does not return any records

I have the following routine for reading XML file: $arquivo_geral = "xml_categ_1.xml"; if (file_exists($arquivo_geral)) { $xml = simplexml_load_file($arquivo_geral); foreach($xml->categoria as $categoria):...
asked by 18.07.2017 / 19:16
1
answer

Switching screens with the same XML file

I'm developing an educational application (with several java exercises and explanations) for Android, but I have a question: the application becomes very cumbersome if I create an activity (with an XML file) by exercise or screen with explanat...
asked by 05.07.2017 / 03:57
1
answer

Transferring Data from a Line to a TextBox

I'm using Planning Calendar to see what events each worker has marked. But what I need is also, for example, when clicking on the worker Carlos Pinho his information (name and role) go to the Textbox (red arrow) that is in SimpleForm. Con...
asked by 01.06.2017 / 16:57
0
answers

How to enable cross-origin in tomcat?

I basically need to enable Cross-Origin in my Tomcat 8.5. I want to know the right way to do this and what are the risks?     
asked by 02.06.2017 / 22:45
1
answer

Sign XML Delphi "Class not registered"

I'm trying to sign a XML with Delphi , TAG Signature . For this I am using ready-made routines that all of these have one thing in common. **xmlDoc := CoDOMDocument50.Create;** During the execution of the Windows error "C...
asked by 01.06.2017 / 16:27
0
answers

NF-e in Delphi accessing WSDL

NF-e in Delphi accessing WSDL. I'm not experimenting on accessing servers in WSDL, nor NFe. I have available some encapsulated methods reported to be used in Delphi . The method I'm trying to access is this: function RecepcionarLote...
asked by 24.05.2017 / 17:31
4
answers

how to generate an xml in memory

With the code below, I generate a file and write it somewhere, however, instead of writing to disk, I wanted to generate it in memory, how do I do that? using (var context = new ClassContexto(ClassMaster.conexao())) {...
asked by 19.01.2017 / 17:47
1
answer

How to encrypt data in App.config

I would like to encrypt the keys (ApiKey and Secret) below in App.config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />...
asked by 02.07.2017 / 18:25