2000 organizations, including eBay, Ericsson, and Lockheed Martin, now work smarter with Corporate Accounts. Save over 36%!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested JAX / SAXP Solutions: 1 - 25 of 30
 
how do I update an xml file using java. I just want to update a tag value that is already existing. For example the tag is <name>xyz</test>
Hi,       I have a java porgram that read an XML document from a url. here is an excerp from the XML: <?xml version="1.0" encoding="UTF-8"?> <items > <item font-face="Arial" font-size="3...
Dear fellow Java developers: I have written some java code that creates an xml document, but I'm having trouble SAVING it on to my local pc as an xml file.  I thought it would be similar to...
Hi,   I am using the wsimport tool to generate a web service client.  I am using the following format:    wsimport -keep -p my.namespace http://foo.myWsdl.com?wsdl The only issue is th...
I am a Java ignoramus. I am trying to create a SOAP message and add to it various security elements. I have tried the following and variations with no success. import javax.xml.soap.Messag...
How to convert POJO to a jaxb ObjectFactory using marshalling?
I'm trying to parse an XML file with the Java DOM and am running into a problem and getting this error when I call parse(): java.net.MalformedURLException: no protocol: I'm positive my x...
Hello, I need simple to learn JAXB tutorial for begginers ( not this one https://jaxb.dev.java.net/tutorial/index.html ) Maybe Ebook also. Please help
PHP SoapClient hangs while waiting for Java javax.xml.ws.Endpoint to return WSDL In Java, I have a simple Web Service, by using the @WebService and @SOAPBinding annotations and a class with...
I need to verify an XML digital signature and as part of the process I need to extract the signer certificate from the signed file "Signature" element.   Using the following methods: NodeLis...
Dear fellow Java/XML developers: I have a very large xml file that is fully left justified, and I want to write a small program in Java that converts this file to reflect a properly structu...
Hi experts I write simple java program that call soap xml service using saaj and I get exception ... this is the code         try {                                //First create the connec...
I am using NetBeans 6.1 to construct a console application using JAX-WS to generate code to consume a Web Service. How can I change the url of the end point for the web service at runtime? It ...
Hi, I am using dom4j api and trying to evaluate an xpath. It is not working for me when the xml uses namespaces. Could you please let me know what changes should I make? dom4j version: 1.6 ...
I need to write a web service client applicaton in JAVA to call a web service developed in .Net. I am trying to use Wsimport to creat a stub for the web service client classes. This is what ...
Hi, I am new to working with XML in java. I have a requirement where in I have to take input from a XML file, get the relevant data from the database  and display in the jsp page. can you p...
Hi, I want to validate a soap xml given below <?xml version="1.0" encoding="UTF-8"?> <Envelope> <Body> <name>pavan</name> <number>123</number> </Body> </Envelope> to validate agai...
I have some code that uses dom4J to parse an XML file, which was written back when Java didn't have good XML handling. With Java 6, I've been told that XML handling has been dramatically impro...
1. I have an InputStream/InputSource from a servlet, after doing a file upload of an XML file 2. After I perfom my filtering, I need to end up with another InputSource, asI am attempting to...
Hi Experts, how can I create xml file using jaxp ? sample xml file : <?xml version="1.0"?> <country name="xyz">      <cities>           <city name="Test1" id="1">                <address >                     <street>str...
I have one XML file  and I want to create two files out of it based on contents. Is there a way I can use Java and xslt to split one xml into two. Please look at the attached sample xml. I wan...
I am not getting all the element and element value info while parsing, can someone point me what I am doing wrong here. ==XML file  look like ==  <PT> - <PTInfo>   <Title>Title</Title> ...
I am working on creating a form that allows you to choose options from multiple SPRY generated drop down menus. I need to figure out how to make it so that when the Submit button is hit it ini...
Hi there, Are there any JavaScript XML libraries out there that let us make XML calls without requiring a callback? Why? Because we are trying to rapidly develop an application and with al...
Dear fellow developers: I am parsing an XML document that contains many names, using the SAX method, and then printing them out to the console.  The names I am selecting are found within th...