XML prerequisites?

321 byte By plinkochipsa at 2007-11-27 11:41:55
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 ...

How to use xPath to extract a element from a xml stringin BPEL workflow?

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 ...

Problems with Embedded classes mapping

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 ...

More Questions about the Correlation Set in BPEL workflow

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, ...

JavaMail jar file

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 ...

i cant delete messages

335 byte By urosarioa at 2007-11-27 11:42:55
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 ...

Probably Simple XML toString

457 byte By RogerFGay1a at 2007-11-27 11:43:48
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 ...

servlet execution

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>

JAXB Marshalling without UnMarshalling

119 byte By senakuloa at 2007-11-27 11:45:53
<p>Hi,</p><p>Using JAXB can I Marshall an java object to xml directly without Unmarshalling it first?</p><p>Thanks.</p>

XML Newbie - Help Processing Files!

781 byte By calmB4storma at 2007-11-27 11:46:25
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 ...

How to extract information from a DOM object without specifying the TAG Nam

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>

Xml Parsing with Symbol

204 byte By redangera at 2007-11-27 11:47:09
<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>

FATAL ERROR: 'Could not compile stylesheet'

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 ...

EJB Question

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 ...

retrieve mail from Gmail account with pop3?

411 byte By rumenegotina at 2007-11-27 11:48:47
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 ...

Java Web Service Client

896 byte By EdLaFavea at 2007-11-27 11:49:34
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 ...

Glassfish EJB Error

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 ...

Help dealing with nodes

729 byte By delphosbeana at 2007-11-27 11:50:01
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 = ...

Authentication failed Exception.... please help....

2943 byte By Santosh_Gadagojua at 2007-11-27 11:53:25
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", ...

Fetching the number of Unread messages from the gmail

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>

How to lookup EJB 3 session bean from servlet?

917 byte By maximuszena at 2007-11-27 11:57:01
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() = ...

UTF-8 encoded char array?

370 byte By justinlawlera at 2007-11-27 11:57:21
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 ...

Javamail from Tomcat

934 byte By Paranoid_Fabioa at 2007-11-27 11:57:27
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 ...

Jax B converts 'r' into '\n'

326 byte By prasadkumbharea at 2007-11-27 11:58:10
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 ...

JAXB Validation without a Schema

416 byte By shelleyLa at 2007-11-27 11:58:13
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 ...

what is use of ejbPostCreate(), what it returns, where exactly can it be in

82 byte By travprasada at 2007-11-27 11:59:35
<p>what is use of ejbPostCreate(), what it returns, where exactly can it be in</p>

what is the difference between ejbLoad() & ejbStore()?

65 byte By travprasada at 2007-11-27 11:59:37
<p>what is the difference between ejbLoad() & ejbStore()?</p>