Axis - Send Attachment from Client to Server

6127 byte By StrongSteve21a at 2007-11-27 3:19:57
Hi Everybody!I have the following problem. I have to develop a Web Service, using Axis, and a client that is able to download data and upload data.Last week I implemented a mechanism to download data from the webservice to the client. This works perfect, even for file above 1.5Gb. No I used the ...

Ejb3 help needed( <ejb-local-ref>)

842 byte By patel123a at 2007-11-27 3:20:51
hi I have developed one enterprise application.In client refers the session bean in turn session bean refers the entity bean. But the problem is when i run that application i am not getting desired output.I ahve used JNDI look up to refer the bean. i am using netbeansIDE5.5 and sun's ...

JDK1.6 XSLTC and Xalan

406 byte By sasicordysjavaa at 2007-11-27 3:21:06
Hi ,I am using XALAN till now to transform my xml . I want to move to JDK1.6 .In my XSL i have java script extensions and java extensions (Static method calling).I want to know without any changes to my xsl will the same work with JDK1.6 XSLTC . Do i need to change any thing .Is there is any ...

websphere ejb remote call

806 byte By skoizumi2133a at 2007-11-27 3:24:20
I can't call ejb remotely with java applicatoin (javax.naming.NameNotFoundException).I tried with the servlet and works fine. How can i setup the environment so that it works with java client remotely. //call ejb from ejb Context initial = new InitialContext();sample.HelloWorldHome home = ( ...

Invalid Addresses exception

384 byte By joshiashutosha at 2007-11-27 3:25:21
hi all , I am a java mail api neophyte , i tried to use the mail api for sending mail , i succeded in sending mail with in my smtp server, but once i tried to replace the email id of my domain to , gmail or yahoo id the jsp container returned the invalid address exception ,I expect some useful ...

Couldnot create folder

445 byte By MAYAa at 2007-11-27 3:25:29
Hi,In my machine(Linux) IMAP is running always. I have a guest mailbox under /var/spool/mail/guest which contains 7 mails. I have created a mail account in KMail client for thtat guest mailbox with IMAP protocol. And from the KMail client i tried to create a folder. But it says "Creating folder ...

Problem with MSSQL 2005 and Toplink

1948 byte By GonzaloFerreyraa at 2007-11-27 3:26:42
Hello everyone :i'm trying to use Toplink Essentials on a MSSQL 2005 database, in a jse Swing project; but i'm getting a RollbackException when i try to rollback a transaction.When i run a test to force a rollback, it looks like the database had rollbacked the transaction;That's what i'm ...

JAVA API for XML Web Services (JAX-WS), version 2.0.

843 byte By Hajala at 2007-11-27 3:26:53
i read the article "Introducing JAX-WS 2.0 With the Java SE 6 Platform, Part 1 By Robert Eckstein and Rajiv Mordani, September 2006 " and i was impressed by it.I tried to implement it on NETBEANS 5.5 and i only changed the package name from HELLO to wsPOJOi got the following errorException in ...

Design question - long transaction

1363 byte By AvihaiMara at 2007-11-27 3:27:28
Hey,My client is a swt client that runs on machine A and the server is a J2ee server that runs on machine B.We use facade design pattern and the API are exposed to the client as a stateless session bean.The user does some configuration changes.for change (like add new components ... ) we need ...

Invalid Email Exception

5661 byte By Sriram_Venkatesana at 2007-11-27 3:28:10
Hi when I try to send a simple java mail using the below code I get the following exception.import java.util.Properties;import javax.mail.*;import javax.mail.internet.*;import java.io.UnsupportedEncodingException;public class MailExample{public static void main(String args[]){String host = ...

class passing in lan from one system to other

222 byte By jeetthapariana at 2007-11-27 3:29:38
how can we pass a class which has integer arrays, variables from one system to other system on LAN when we have the destination address. if u can give a refference code than my work will become more easy.its urgent.

consuming a jms queue from a multithread application

640 byte By Legolas.wa at 2007-11-27 3:30:14
HiThank you for reading my post.I have an application which shuld consume message of a queue.my application is multithread and what i want to know is:- How i can ask queue to remove a message after my thread finished its work with the message, by this way i can ensure that if my thread face an ...

Escaping XML Special Characters

315 byte By Zyphona at 2007-11-27 3:30:28
Are there any ways built into the Java API to escape XML special characters, i.e. <blah> => <blah>? I'm trying to throw a user inputed String into my XML tree, but I, of course, will get problems if they start inputting >, <, ', ", or other special ...

Some Questions

380 byte By asif_need_javaa at 2007-11-27 3:31:09
I have some questions. Those are the followings :-1) Does stub always make a serialized copy of the object that is passed to the skeleton?2) The skeleton invokes the method on the remote object, passing a plain old java reference to the new remote object. What does it mean 搊ld java reference?3) ...

Printing XML document from File on Console///

399 byte By Shashank.Tilwallia at 2007-11-27 3:31:33
Hi,Does any one know how do I print the whole XML document to console with document Object.DocumentBuilderFactory _dbf = DocumentBuilderFactory.newInstance();DocumentBuilder db = _dbf.newDocumentBuilder();Document doc = db.parse("C:\\workspace\TG31.1.306_addUser.xml");I need to do something ...

Problem in Sun Java Server while configuring Java Mail

522 byte By Manojmaruthoora at 2007-11-27 3:32:03
I am now doing an application in Java MailWhile i am trying to set the connection factory in Java Mail the server is sthrowing an exception namely"A "com.sun.enterprise.tools.guiframework.exception.FrameworkError" was caught. The message from the exception: "Unable to get View for ...

about the versions of J2EE (very urgent)

126 byte By techtalk_javaa at 2007-11-27 3:32:21
i want an complete evolution of j2ee from the origin to till date. when they came into use i.e the releasing date, etc.

which server ?

43 byte By myharshdesignera at 2007-11-27 3:32:26
which server should i use for J2EE ?

weblogic 10

306 byte By Neel_Parikha at 2007-11-27 3:33:14
hi friendsi am using weblogic10 for one of my projects. in this following line:- <jsp:useBean class = "test" scope="page">can anyone please tell me where to store the test file........specifically in which directory.........i keep getting error that "no type ...

Mail attachment charset problem

1466 byte By jsjeppea at 2007-11-27 3:34:03
Hello,I have made a program which is able to send Icalendar files as an attachment. I get the data as an InputStream.My problem is that the Icalendar file doesn磘 show the letters '?, '? and '?. I have tried to use iso-8859-1 in the MimeBodyPart headerline and in the ByteArrayDataSource, but ...

SetParameter and xslt

494 byte By a12a at 2007-11-27 3:34:39
Hi all, i've a made a class that pass parameter to an xsl withtransformer.setParameter("myparam","A/B/C")Note that i want that the parameter was an XPATH to access node C in xml file.Now, in my xsl i've declared the param:<xsl:param name="myparam" />but when i do<xsl:value-of ...

using xpath to get parent nodes

1916 byte By Taigoa at 2007-11-27 3:35:31
hi! i磎 trying to copy some elements from a xml file, and i have some problems.i have this file ?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="xslpath.xsl"?><bookstore> <book id="0"><title id="pt">Harry Magico</title><desc ...

Help for Java EE5 enterprise application with JSP,Session Bean,Entityclass

506 byte By snehaka at 2007-11-27 3:36:33
Hi I am new to JavaEE5 and I am developing an enterprise application in NetBeans and deploying in Sun Application Server. My application requires JSP pages for web presentation and Session Bean for business logic and entity classes to access database.Can anybody please tell me how do I access ...

Using Soap Headers Yes or No?

480 byte By crisyalea at 2007-11-27 3:37:55
Hi, I have a question about soap headers.Gente, tengo una duda existencial. I've a lot of webmethod that have a common param (userdata) and a own param for each method.I don't know if I can put this common data in a soap headers instead of pass this data by param.In the first option, I'm ...

jDK 1.6 XSLTC

142 byte By sasicordysjavaa at 2007-11-27 3:38:09
Hi ,Does any body help me iwth what are all the features jdk1.6 xsltc have more than JDK 1.5 xsltc.?Regards,Sasi.A

Accessing EJBs from Servlets in a WSAD

742 byte By pkamdar2000a at 2007-11-27 3:38:39
Hi,i am using WebSPhere studio Application Developer IDE and a Test Version of WebSphere 5.0 to deploy and run enterprise application which has a Web Module packaged as a .WAR file and EJB Module packed as a EJB .jar file now can any one tell me if i want to access the session bean from a ...

Why Session.getDefaultInstance(props, null) does not work some time

367 byte By GYANENDRAa at 2007-11-27 3:39:07
I have a java mailing program, in which when I use session = Session.getInstance(props, null); is works proper every time, but when I use session = Session.getDefaultInstance(props, null);this works some time proper, but some time it does not sends the mails.Please help me, why this is so.Kind ...

sending an automated email

692 byte By vinu@worka at 2007-11-27 3:39:14
Hi,I am a student and I am doing a website project. I have planned to add an application called 'Tell a friend'. In this application when an user clicks a link then a new window will open and in that window there will be one form, in which user has to enter his name,email id, message, ...

Problem in invoking Webservices

2874 byte By newjava1234a at 2007-11-27 3:39:15
Hi All,Iam getting error while invoking the webservices.I am succuessfulle deploy the webservices in server,but while try to invoke the service iam getting the error like this,AxisFault faultCode: { http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: ...

How to deploy EJB in Websphere

353 byte By prasadmcaa at 2007-11-27 3:39:17
Hai,Can anyone tell me how to deploy an EJB application in Websphere i mainly want to know what xml files we need to keep in meta-inf directory & what is their structure . I have worked with JBoss in that i was using ejb-jar.xml & jboss.xml similarly i want to know what files we need ...

Sending the selected data from mail to SMS

371 byte By CS30@coma at 2007-11-27 3:39:56
Hello,I am able to get mails from my local server and store it in a file.Now what i want to do is select the required data and send it as an SMS.Instead of reading the test file and retriving the data is it possible to read the data before it goes to the file , i mean from the buffer ,perform ...

create a secure XML API

625 byte By Ajaxranda at 2007-11-27 3:40:01
I need a web application to authenticate other web applications and then allow them to read the MYSQL database contents that available in my end.for a example http://www.mydomain.com has the MySQL database contents. http://www.otherdomain1.com, http://www.otherdomain2.com,etc. will read the ...

namespace problem in jdk 1.4.2

2017 byte By Hackemessera at 2007-11-27 3:41:07
Hi,I'm trying to transform a xml file using default transformation from JDK 1.4.2 (requirement). I have need to use exslt node-set() function in a template because i have to sort the nodes. my stylesheet is now defined as this:<xsl:stylesheet ...

@Basic not working

2946 byte By keisuke.takahashia at 2007-11-27 3:41:23
Hi,I've the class below. What i would like to do is that whenever i find a record by using named query, i wouldn't want the password field to be retrieved, because i don't want to pass it through the network to the client.Therefore, i've found this @Basic annotation which supposedly can do ...

extending local interface to my own interface

1584 byte By basti78a at 2007-11-27 3:42:24
I use my on business interface to hold EJB methods. public interface Test extends ServiceInterface {public void test(int sum)throws EJBException;} public class TestImpl implements Test {public void test(int sum) throws EJBException {//do something}}public interface ...

Problem sending jms message from Web page button (JSF 1.2)

6231 byte By janir4a at 2007-11-27 3:42:42
SJSAS PE 9.0 running on WindowsSome of the code//imports:import javax.jms.ConnectionFactory;import javax.jms.Queue;import javax.jms.Session;import javax.jms.JMSException;import javax.annotation.Resource;//Injection@Resource(mappedName = "jms/ConnectionFactory")private ConnectionFactory ...

Problems persisting relationship

1453 byte By Sebetea at 2007-11-27 3:43:11
Hi, this is my first post, i磎 new whith j2ee. I磎 trying to persist a relationship between two entities, here they go:@Entity@Table(name = "tbl_position")public class Position implements Serializable {@Id@GeneratedValue(strategy = GenerationType.TABLE)@Column(name = "positionid")private Long ...

Problem with wsimport generated complextype

1643 byte By dudleydawsona at 2007-11-27 3:43:24
Hi-I am trying to implement a web service. I built the server side with axis, and it seems to be working fine. When I use wsimport to generate client side stubs, it seems to be unable to fully generate the client bean.The relevant (i think) part of the wsdl generated by axis:<xs:schema ...

remove node

453 byte By Taigoa at 2007-11-27 3:44:26
hello, it磗 possible to remove a node or a element by is id? i have this example:<book><chapter id="um"><para id ="test">chapter 1. </para><para id ="test1">chapter 2. </para><para id ="test2">chapter 3. </para></chapter></book>and i ...

how to saving data in csv file

1205 byte By tomassa at 2007-11-27 3:44:51
I have problem with saving data in csv file. I would like save my data looklike this example :excel preview :ABC1 1011122 131415As we see all values are in separate cell A1=10, B1=11, C1=12 ...so I try :PrintWriter wy = new PrintWriter(new ...

About CTS & Compatibility

151 byte By -@-a at 2007-11-27 3:45:15
Who is responsible for testing a "compatible" product against the CTS?What can I do if a "compatible" product seems to violate its claim?

JavaMail under GPL?

80 byte By kenooaa at 2007-11-27 3:45:22
Will the source code of JavaMail be published under the GPL? If so, when?

excepion when initializing EJB as a CORBA client

1684 byte By enz01a at 2007-11-27 3:45:27
Hi,I am trying to connect to a remote CORBA server(C++) through my ejb running on PE8.2, but when I init the IONA ORB in the ejb, I get the follwing exception:Caused by: org.omg.CORBA.INITIALIZE: Exception reading properties, probably this is an applet but no applet parameter supplied to ...

UnsupportedDataTypeException:

513 byte By sandyg9000a at 2007-11-27 3:45:41
I am getting the following message when I attempt to send an email with an image that i am attempting to convert to pngjavax.activation.UnsupportedDataTypeException: no object DCH for MIME type image/pngI set content with the following statementmbp1.setContent(ActReport.EmailSetup(), ...

wsimport naming collision

868 byte By qballera at 2007-11-27 3:46:33
JAXWS 2.0Java 1.5.0_11Ant 1.7.0<wsdl:service name="TempCallback"><wsdl:port name="TempCallback"binding="tns:TempSoapBinding"><soap:address location=" " /></wsdl:port> </wsdl:service>The following error is generated when wsimport is executed on a WSDL containing the ...

HELP!! user-supplied IMAP & POP3 commands

725 byte By lxgwx4a at 2007-11-27 3:46:51
I have a problem about the javamail when developping a webmail. My POP3 server supports some extension commands that javamail 1.4 doesn't support. But javamail supports the IMAP user-supplied IMAP commands.As listed in the javamail's API document, javamil has the function of "Execute a ...

Inactive session Objects in Database

907 byte By garavaa at 2007-11-27 3:46:52
Hi :We are facing this peculiar problem of Invalid Sessions in database. There are Inactive sessions for days together in Database. We are using a common utility for all select Queries; along with that we are using datasource to get connection object. We have even checked that common component ...

help me IN JAVA MAIL

7436 byte By god_bless1_you1a at 2007-11-27 3:47:08
HI TO ALL......I AM NEW TO THIS FIELD....I AM TRYING TO SEND EMAIL THROUGH JAVA MAIL FUNCTION......,FIRST I AM FETCHING THE MAIL ADDRESS FROM DATA BASE.....I WANT TO SEND MAIL TO THOSE ADDRESS......HERE I M LITTLE BIT CONFUSED....PLZ HELP ME....BELOW IS THE CODE.........THIS FOR SEARCHING THE ...

Java Mail error

609 byte By patmugaa at 2007-11-27 3:47:29
I am getting the following error message.javax.naming.NameNotFoundException: No object bound to name java:comp/env/mail/NotificationI set up a java mail Session resouce with a JNDI name mail/Notification.In my code I am getting the Session using:Context ic = new InitialContext();mailSession = ...

JavaMail and Ristretto

565 byte By caesara at 2007-11-27 3:47:40
Hi,I am asked to develop a java software with email client capabilities. As I google, I found two java Mail API, JavaMail and Ristretto.I wonder which one should I use? I have tried out Columba and it works fine with gmail and my company smtp server. I haven't tried out all features by ...