Newbie to XML question: What is required to run XML on a Windows XP SP2 desktop? (i.e. JRE, VM, etc.). I take XML samples and can run as html, but not xml. An Open XML Editor I am now using also points out root errors (for syntactically correct XML examples). Couldn't find a reference on-line. Any ...
658 byte By
kew98a at 2007-11-27 11:42:13
I have a xml string passed into the BPEL workflow, and I need to extract the value of "serviceOrderGuid" (see the xml string below), how I can use BPEL mapper to do this? I am using NetBeans 6.0/M10.ThanksKebin<Parameters ...
3028 byte By
jdroza at 2007-11-27 11:42:16
Hi,I'm experiencing problems for table generation with the following case:a class declares two fields; one of them typed as a subclass of the other; both fields annotated with @Embedded; the subclass uses the annotation @AttributeOverride to avoid column names duplication.When the tables are ...
997 byte By
kew98a at 2007-11-27 11:42:18
I have created a workflow, it is waiting in a loop to reveive 5 messages, after a message recieved and processed, it goes back to wait for another message, it loops until all 5 messages are received. What happens if new message comes in during the privous one is still in processing (at this moment, ...
643 byte By
Rob_Ha at 2007-11-27 11:42:47
I created a program with JavaMail that worked like I wanted it to in Eclipse (after I added the jars to my classpath), but I cannot seem to get it to work in a jar file. I use the following file as the Manifest file:Manifest-Version: 1.0Class-Path: *.jarCreated-By: 1.5.0 (Sun Microsystems ...
hi, we have a sun java entreprise system 2005 Q4.i've problem with space in disk. it seems the messages never deleted from my system.we use microsoft outlook to download messages to pc and delete them from the server, i access from web and the messages are gone, but stiil in the disk.what can i ...
I've been trying to convert an xml document to a string, but I'm having a problem converting. I'm reading the XML from a file.Document document = builder.parse(new File(filename));And I'm sure that works. I can parse the result. But then I try to return what I've read using:return ...
238 byte By
j_stara at 2007-11-27 11:44:29
<p>Hi! Please try to answer my question : if there are 3 methods in the servlet as service,doGet and doPost then which one gets executed first and does the request get passed to other method?</p><p>Message was edited by: </p><p>j_star</p>
<p>Hi,</p><p>Using JAXB can I Marshall an java object to xml directly without Unmarshalling it first?</p><p>Thanks.</p>
I'm not exactly sure if "process" is the right word, so I'll describe what I mean. There are two XML files ( http://xml.pinnaclesports.com/xmlfeed.asp and http://208.138.39.112/XMLLineFiles/Baseball.xml) that are constantly updated online, and I want to be able to compare certain numbers in the ...
277 byte By
mskamala at 2007-11-27 11:46:30
<p>Respected All</p><p>Can I extract value of tag from DOM object without specifying the xml tag element name or traverse it like arraylist or vector , if it is a tree of node then there is any way to traverse the tree to extract its values</p><p>please comment or any idea</p>
<p>Hello, </p><p>I have a element with name ClientId and having value as:- rohan&meta.</p><p> It gives Sax Parser Exception.</p><p> So is there any trick for string with value having symbol &.</p>
588 byte By
dvpka at 2007-11-27 11:48:16
Hi I have problem with the code i am using Eclipse IDE when i build it doesnt show any errors but when i run i show arun time error as:ERROR: 'null'FATAL ERROR: 'Could not compile stylesheet'javax.xml.transform.TransformerConfigurationException: Could not compile stylesheetat ...
407 byte By
amattasa at 2007-11-27 11:48:46
If I have a local EJB bean which has two classes and an interface:Class:AccountRoleBeanAccountMgrExceptionInterfaceAccountRole (Local)And I use it in a webapp, it appears I have to import both the interface and the exception class.And I'm injecting the class as @EJB AccountRole accountRoleIt seems ...
I want to retrieve e-mail from my account on Gmail in my application, but I have a problem. I cant establishe a connection with pop3 server...Do you have an example (full) in Java code for retrieving a mail from Gmail account.I used the example from JavaMail Api 1,4 Specifications, but I have a ...
I'm trying to write a Java client to connect to a web service using Axis 1.4 (choose this by default, perhaps I should use something else?). The web service has a URL of the form " http://domain.com/directory/service.asmx" and I'm trying to call a method of the form MethodName(String stateAbbr). I ...
5951 byte By
amattasa at 2007-11-27 11:49:54
SEVERE: "DPL8011: autodeployment failure while deploying the application : Error loading deployment descriptors for module [CI] -- Cannot resolve reference Unresolved Ejb-Ref com.stryker.cmf.accountrolebean.AccountMgrBean/mailer@jndi: @null@com.stryker.cmf.cimailer.CIMailer@Session@nullThis is the ...
Hi!I'm trying to parse an XML document in order to store the various elements into Oracle DB tables.In the document, I have a node like...<ElementList><Element elem_code="AA"><Name>A Name</Name>... etcIn Java, I write something like...NodeList listOfElements = ...
i am new to javamail.....this is my first application in javamail....sendingmail.javaimport javax.mail.*;import javax.mail.internet.*;import java.util.*;public class sendingmail{public static void main(String s[])throws Exception{Properties p=System.getProperties();p.put("mail.smtp.host", ...
129 byte By
pratqba at 2007-11-27 11:53:41
<p>Is it possible to fetch the number of unread messages from the gmail server? If yes kindly tell how? Expect fast responses</p>
public class Test extends HttpServlet {private static final long serialVersionUID = -1L;@EJBprivate T2Facade t2fl;public void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {T2 t2 = new T2("hello");t2fl.save(t2);LogUtil.log("t2.getId() = ...
Hi,I have to save a string with UTF-8 encoding (using the sax handler ContentHandler.characters()) method. This takes a char array as a parameter. If I have a string and get the characters from it using:str.toCharArray()this won't return a UTF-8 encoded char array, will it? And how do I get a ...
Hello. I have a servlet that must send an email after some data has been processed.I'm my method sendMail(....) i send this mail.The method sendMail works perfectly. If I test the method in isolation everything works fine and the mail is sent.The problem that, in the servlet, the method simply ...
Greetings,My xml file contains special chars such as '\r'.JAXB converts \'r' chars into '\n' while reading xml file.I am reading the values into String variables.How can Prevent that.Do I need to change the variable type in my XSD.Your help is ...
Part of the benefit of JAXB is that a schema is not required; annotating Java classes alone allows for XML serialization/deserialization. With the deprecation of the Unmarshaller.setValidating() in favor of the unmarshaller.setSchema() method, however, it seems that validation is only available ...
<p>what is use of ejbPostCreate(), what it returns, where exactly can it be in</p>
<p>what is the difference between ejbLoad() & ejbStore()?</p>