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
How do I write and deploy a simple hello world program that uses XML and can be seen in a browser. What is the required software to start working with XML?
Several people have contributed to answering this question: From Thijs Stalenhoef To answer you second question first: A text editor is really all you need. XML is a human-readable format w...more
DevelopMentor runs a list. You can subscribe and read the archives at http://discuss.develop.com/soap.html.
The DevelopMentor SOAP FAQ is probably the best place to start. Microsoft also has a SOAP FAQ.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
I am generating XML and using XSL I am able to display it on the IE5 browser. But not all browsers support XML & XSL. So I would like to convert that XML and XSL to HTML in order to display it on all browsers. Is this possible? How?
Converting XML and XSL to HTML is exactly what IE5 does internally. This process is called a transformation. XML is transformed, using an XSL stylesheet, to HTML. There are many ways to do XSLT (X...more
How do you convert from: <users> <user firsname="John" lastname="Joe" article="One"/> <user firsname="Jack" lastname="Jill" articl...more
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
SOAP stands for Simple Object Access Protocol.
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
The W3C maintains the latest at http://www.w3.org/TR/SOAP/.
IBM makes a reference implementation available through the Apache group at http://xml.apache.org/soap.
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