Web Services FAQ Section Index | Page 22
Is any method in Java which can create the Doctype parameter in the XML document, that is to produce !DOCTYPE Response SYSTEM "MyResponse.dtd"> ?
There is no such method in the DOM spec. However, the implementation you are using might provide one. In Sun's JAXP implementation, there is the method XmlDocument.setDoctype(String dtdPublicId, S...more
I have two XML documents and want to combine them into one single document. How do I go about doing this?
I have two XML documents and want to combine them into one single document. How do I go about doing this? The rules are simple, 1. If an attribute is present in both files but have different valu...more
The W3C maintains the latest at http://www.w3.org/TR/SOAP/.
The DevelopMentor SOAP FAQ is probably the best place to start. Microsoft also has a SOAP FAQ.more
DevelopMentor runs a list. You can subscribe and read the archives at http://discuss.develop.com/soap.html.
IBM makes a reference implementation available through the Apache group at http://xml.apache.org/soap.
Taken from the SOAP v1.1 specification [http://www-4.ibm.com/software/developer/library/soap/soapv11.html: SOAP is a lightweight protocol for exchange of information in a decentralized, distribut...more
SOAP stands for Simple Object Access Protocol.
We are getting the inputs using HTML forms (mostly text box). The validations (like not empty) are done using Java Script. After the successful validation we have to generate XML document by using Java script and the same will be passed to EJB via JSP.
We are getting the inputs using HTML forms (mostly text box). The validations (like not empty) are done using Java Script. After the successful validation we have to generate XML document by using...more
How do you convert from: <users> <user firsname="John" lastname="Joe" article="One"/> <user firsname="Jack" lastname="Jill" articl...more
Several people provided good answers to this question. From Davanum Srinivas: Two good starting points for XML are http://www.javasoft.com/xml and http://www.xml.org/. There is a very good t...more
If you are familiar with the PostScript language you could simply write an XSL to do the work for you. The actual work can then be done using some form of XSL-Transformation tool (Xalan is one, ht...more
How can an XML document like this be created with the JAXP API? <address> <name City="New York"> <first>John</first> <last>Joe</last> <...more
There is an article at The Swing Connection that explains this process: http://java.sun.com/products/jfc/tsc/articles/persistence/index.html more
What is the best way to convert HTML to XML, separating the content(data) from presentation in HTML? Are there any Java API's that we can make use of?
Try Cocoon and ECS, or JetSpeed from the Apache group (java.apache.org). Thijs Stalenhoef adds: There aren't re...more