Post method on Web Service?

835 byte By tx56ma at 2007-11-27 1:37:57
Hi,I am basically familiar with how html pages work, but only doing my first web services so I am actually trying to compare both technologies together.What I want to achieve is a web service that not only provides information as a response but also able to update information in a database on a ...

Problem reading Multiparts in 1.4.1ea

6631 byte By i_program_java_all_daya at 2007-11-27 1:39:18
I am using the following simple test program to print out the content type field for multiparts:// .. import statements .../** * Simple test for multipart emails. */public class SimpleEmailReader {/** Debug the Content Type field, adds spaces for indenting */private static void debugPart(Part ...

Ask the Experts Session on WSIT and Project Tango: April 30-May 4

583 byte By ed0a at 2007-11-27 1:40:37
Web Services Interoperability Technology, WSIT, ( http://java.sun.com/webservices/interop/) is an open-source implementation of next-generation web services technologies that deliver interoperability between Java EE and .Net. Project Tango (https://wsit.dev.java.net/) is a Sun initiative that ...

problem setting up JNDI tomcat 5.5

1812 byte By popajcea at 2007-11-27 1:40:56
Hi,I have a problem setting up JNDi in my application, I looked for all topics on this forum about setting up JNDI on tomacat, but I didn't figured out what is wrong, or what I did wrong, so if anyone can help me, here is the content of my xml files:META_INF/context.xml :<?xml version="1.0" ...

xmlns attr for element nodes creating problem with xslt

1356 byte By dhanu4ua at 2007-11-27 1:42:44
Hi all,I m facing a small issue. I have a xml file for which i have written a xsl file to transform to another xml(demo.xml).I am not able to select the nodes which have xmlns attribute. Can u tell me what has to be done.Snapshot of files:xml file:<ROWSET><ROW><INDEX ...

How can we get tag of XML file using SAX

1554 byte By pattanaikhra at 2007-11-27 1:42:46
Hi ,I'm parsing one SAX parser , I'have almost done this parsing. i have faced problem for one case, i'e how can we get tag from XML file using SAX parser?XML file is <DFProperties> <AccessType> <Get/></AccessType><Description> ...

Access external RPC/Enc-Webservice from JBI-Environment - HOW? HELP!!

303 byte By applet5a at 2007-11-27 1:42:52
Hi,I do need to access a web service from the jbi environment- without using any bpel- which is RPC-Encoded style (jax-ws doesn't read the wsdl).I don't find any tutorial/description, of how to do this!COULD SOMEONE PLEASE HELP ...

XPath, XLink, XPointer and Java

5453 byte By Anhura at 2007-11-27 1:44:54
Hello folks!This is the first time I actually deal with XPath, XLink and Java but I didn't think I would meet so much troubles... but I hope they are trivial for you, Java gurus! :-)Well, the issue is this:I have an XML document with xlinks with xpointers. I have to read the xlink content ...

Suggestion

80 byte By asif_need_javaa at 2007-11-27 1:45:18
I want to start learning EJB. What books are recommended? Any suggestion?

generic EJB with classloader

785 byte By p.fischera at 2007-11-27 1:45:33
Hello,I want to dynamically reload a class into an ejb on runtime. Is is right, that this can only be done by creating a new classloader for every reload?And if so, how about other dynamic classes, which are used in the first reloaded class. They then have to be reloaded again by the same ...

convert an array to xml

66 byte By soumayaa at 2007-11-27 1:45:47
i want to know how to convert a static array to an xml file

Open ESB + Addons - Netbeans 6 : problem deploying Service Engine example

1761 byte By kslatera at 2007-11-27 1:46:07
I have downloaded the Open ESB + Addons - Netbeans 6 installer jar from the Open ESB home page and I'm attempting to deploy a simple echo service JBI SE. The code was generated by clicking New Project -> JBI Components -> Service Engine. The project builds just fine.After I start the ...

Ask the Experts Session on WSIT and Project Tango: April 30-May 4

663 byte By ed0a at 2007-11-27 1:47:22
OpenESB 2.0 is the next generation integration platform. It's built on interoperable, open standards such as Java Business Integration. OpenESB 2.0 also leverages Web Services Interoperability Technology (WSIT).WSIT is an open-source implementation of next-generation web services technologies ...

Axis Ws-Security

6460 byte By max-padea at 2007-11-27 1:47:24
hi alli want to to try out an example for encrypting webservices with WS-SecuritySo i have a client and a server. the server ist very simple (see below). i ve created the client one time from the wsdl of the server and tried also to code the client without wsdl. both give me the same ...

OpenESB - Pub/Sub?

897 byte By bbarkera at 2007-11-27 1:47:54
I am relatively new to ESB and am looking at potential technologies to solve some problems I am currently working with. I read that in general an ESB provides publish and subscribe capabilities. Is OpenESB capable of publish and subscribe? If so how much information must be known about the ...

Changing XML

1519 byte By JavaNewUsera at 2007-11-27 1:48:41
HI AllI want to remove <none> which is a attribute of <ftpl name=>. How should i handle this special character?<?xml version="1.0" encoding="UTF-8"?><ftpl id="47" name="<none>XXXXXXXX xxx xxxxxxxx"><abc-cab name="Systems" id="43434"><abc-dr name="zzzzz" ...

Unknown SMTP host exception...

430 byte By sandy@worka at 2007-11-27 1:49:50
Hi all...am a newbie in j2ee...i have to send mails from my application...have written the code...but it gives an error like the smtp host specified, isunknown...can anyone pleaz tell me what r the things to be set up or what r the configurations to be done to send a mail using program...am ...

Problems on sending mail on Websphere Application Server Community Edition

17676 byte By gargyagotraa at 2007-11-27 1:50:03
Hi, i am using the following class for sending mail:-/**This class encapsulates mailing to any person. it defines method that takes parametres * such as mail server address,sender and recipient address, userid and password of the * SMTP account **/package src; import java.util.*;import ...

what is the use of ejbPostCreate()?

92 byte By anand_me003a at 2007-11-27 1:50:14
Can any body tell me What is the exact or relative purpose of ejbPostCreate() method?

What types of properties can a java bean contain

181 byte By JShuShua at 2007-11-27 1:51:33
HiI knwo a java bean can contain simple types like String, Boolean etc.. And arrays.Can a java bean contain a property which type is also a java bean?10x

Apt UnsupportedClassVersionError

963 byte By fonzia at 2007-11-27 1:52:20
I have been trying to compile the samples that came with the jaxws-ri download but I keep getting the following error:BUILD FAILEDC:\jaxws-ri\samples\annotations\build.xml:53: java.lang.UnsupportedClassVersionError: com/sun/tools/ws/ant/Apt (Unsupported major.minor version 49.0)I am getting the ...

Unable to access EJB server from client 2

3516 byte By gustavoriveraa at 2007-11-27 1:52:56
// Client 1package nepe.client;import javax.ejb.EJB;import nepe.ejb.Nepe;/** * * @author java */public class NepeClient {@EJBstatic Nepe nepe;/** Creates a new instance of NepeClient */public NepeClient(String[] args) {}/*** @param args the command line arguments*/public static void ...

How can call ejbs from the client?

327 byte By thesis1000a at 2007-11-27 1:53:12
Books say ejbs have many kinds of clients, for example web components.If my client is a ui or a servlet having nothing to do with that ejb server, how can i call the ejb remotely. I know web services can achive that completely. But if not using ws, can my client get the ejb reference by other ...

progress bar

108 byte By kmena at 2007-11-27 1:53:29
Hi all,is it possible to monitor downloading or senting procedure of a message?regards.

Is this an active forum?

77 byte By kmena at 2007-11-27 1:53:37
I dont see any replies to old messages.Is this an active forum?

where we will store the state in Statefull session bean.

583 byte By balu45a at 2007-11-27 1:53:41
Hi Everybody,In one interview, interviewer asked me abt satefull session beans.I said Stateful session beans are for maintaining conversational states b/w client. Then he asked immediately, Where it will store the conversational state i.e whether it is in database or some other place? like in ...

Where do I define how MessageExchange-XML-Payload looks alike on BC? SHORT!

883 byte By applet5a at 2007-11-27 1:53:42
Hi (again),I think, I finally understood the concept of the abstract service definitions.Nevertheless, one thing remains unexplained to me. If my self-coded BC (need to use axis for a specific legacy application, therefore coded an own BC) receives a MessageExchange in its thread started at the ...

jaxb 2.1.3 looking for jaxb.properties

907 byte By Abu-Rasheeda at 2007-11-27 1:55:17
I'm trying to use JAXB 2.1.3 with Sun Appserver 8.2, and I'm getting error saying jaxb.properties missing. I thought JAXB 2.X no longer create jaxb.properties.I have the following jars included in my webapp:jaxb-api.jarjaxb-impl.jarjavax.xml.bind.JAXBException: Unable to locate ...

Connecting FROM STAND ALONE CLIENT TO AN EJB Container in different server

2790 byte By andymarvinj1a at 2007-11-27 1:55:48
I am trying to connect to My app server (sun web app 9.0_01)form a STAND ALONE CLIENT.i've tried using the jndi.properties file using:org.omg.CORBA.ORBInitialHost=200.1.1.220org.omg.CORBA.ORBInitialPort=3700and i get the error:Apr 22, 2007 7:01:12 PM ...

Is Business Object Delegate necessary in EJB 3.0

107 byte By nsyed4a at 2007-11-27 1:56:05
I want to know if Business object delegate and service locator is necessary in EJB 3.0.Thanks

why a webservice ?

228 byte By goodprograma at 2007-11-27 1:56:18
Hi guys,I'm beginner for webservice, and I wonder what it does?I have surfed the Net but i'm not to the point.Can any one of u give a realtime example , how it works and when to use it ?Thnks

i am attaching excel file to the mail using java mail,it is rendering scrap

3597 byte By ettasrinua at 2007-11-27 1:56:48
hii am attaching excel file to the mail using java mail,it is rendering scrap code when i am opening in mail, it is working fine if it is a PNG imagepls..... help me out-package com.cypress.jetspeed.cyutils.common;import java.io.ByteArrayInputStream;import java.io.File;import ...

newbie: how to make EJB client call EJB in other server

335 byte By sagmana at 2007-11-27 1:57:43
Hi all,I'm new to EJB and have gone over the EE5 tutorial and its case studies, where app clients call some EBJs. But I'm still not sure what needs to be done in order to put the client on one Sun App Server and the EJB on another.Furthermore, what if both "sides" were EJBs? (no client-only ...

How can we know , where exactly Tag is ending and what is the tag name?

2270 byte By pattanaikhra at 2007-11-27 1:58:06
Hi ,I have one problem,Please help me.1. How can I'll identify where exactly my Node is ended,means how how can we find corresponding nodename? in partcular place<Node> ...

how Entity bean will be populated from database

622 byte By raviadhaa at 2007-11-27 1:58:12
Hi,i am new for EJB.I am using CMP EJB2.X with jboss4 server. How can i store and retrieve date from database. When i call create then i creates a bean instance but it does not store passing values in create in database. And when i call findAll() then it does not give me the all records what ...

Converting Special Chars in XML

4639 byte By JavaNewUsera at 2007-11-27 1:58:13
Hi All, I have written a program which converts all special characters in a invalid XML file.Problem is :- I want to convert special characters for tag values which makes XML invalid, but it converts whole XML file.. which again makes it invalid for me .. please find the code below public class ...

image doesnt display same in rediff as in outlook

247 byte By Ashitosha at 2007-11-27 1:58:43
hi,I am working on a project where i have to send mails with embeded images.It works fine in while viewing in outlook but if send it to rediff or yahoo the images are not embeded. they are shown as attachment.Thanks in advance

EJB accessing web app classes

186 byte By sridhar_ratnaa at 2007-11-27 1:59:15
hi,From an ejb classs, How can i access the classes in WEB-INF/classes folder of web application.I am using websphere application server.Thanks,Sridhar

Jtree DOM from several files

392 byte By Taigoa at 2007-11-27 1:59:25
hi! Can anyone tell me if is possible to make a DOM Jtree from several xml files that are located in one folder?Im using this file as an example: http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/dom/work/DomEcho05.javaHelp!! :(Message was edited by: TaigoMessage was edited by: ...

Java DB and Message Beans

237 byte By wgmartineza at 2007-11-27 1:59:27
Hi there,When specifying persistence for message beans, how can I specify that the database I want to use is Java DB. I can't seem to find any article that relates to this.I'd appreciate your help.wgmartinez

JNDI name for SLSB in EJB3.0

523 byte By XXL12345a at 2007-11-27 1:59:40
I have SLSB and remote client application. SLSB is created using only standard annotations (without XML descriptors).Trying to deploy SLSB to Weblogic and JBoss I've discovered thatWL and JBoss bind the SLSB to different JNDI names, sothat my client application can not work transparently ...

Fetching and moving mails from my local exchange server

312 byte By CS30@coma at 2007-11-27 2:00:28
I am able to read the messages from my local server which has surgemail. But my problem is 1. How to read only the uread mails.2. Is it possible copy/move the mails from the inbox folder to folder in my PC.I am using the same code as in the demos msgshow.javaThanks in ...

EJB and JMX

276 byte By LukBa at 2007-11-27 2:00:44
I need to instrumet dynamically grid application. Can anybody explain me the difference between Enterprise Java Beans and Java Management Extension ? Is it possible combine this two technologies? I?m going to use JBoss server. Please for answers Thank in advance

Change the web service url in netbeans 5.5 generated web service client.

590 byte By debdxa at 2007-11-27 2:00:52
Hi All,I have created a web service client using Netbeans 5.5. Now my client classes has been generated. If the web service server url changes due to moving into production server i have to create the client again.But i need to make the web service client in such a way that the i will put the ...

Database transactions using a session bean and POJO's

618 byte By pboeykensa at 2007-11-27 2:01:20
Hi,I have a question about session beans, pojo's and database transactions.First a small explanation:* I have a stateless session bean calling simple pojo's that are responsible for table updates.* Each pojo creates his own database connection (via a pool) before executing the db update.My ...

Well form java code but it still does not find XML content

2037 byte By litoa at 2007-11-27 2:03:13
Hi,I am trying to extract some data from an XML file but the only thing I get in return is null.If someone could take a look at my code for suggestions I would greatly appreciate since I have been several days looking at it without luck. I am also including a sample file to test (Actually, it ...

JMS Queue

112 byte By mynaa at 2007-11-27 2:03:57
What happens to the message in the JMS Queue if the consumer is not ready to receive the messages?

MDB

113 byte By mynaa at 2007-11-27 2:04:00
I know that the EJB container calls the MDB. But is there any way that the client can call the MDB?

How would you go about indentifying the shopping cart abandonment rate?

126 byte By Eric_lianga at 2007-11-27 2:04:35
Hello,Please help...How would you go about indentifying the shopping cart abandonment rate?Thanks!

Is ACC Standard?

428 byte By -@-a at 2007-11-27 2:04:36
Section 15.3 of the EJB3 specification has a bullet as follows:?Application client containers, which host standalone applications.Typically, I would expect this to be a Swing client talking to an EJB over IIOP protocol. Section 15.3.2 seems to describe this in scenio's 2.1 and 2.2.Are ...