Sunday, December 23, 2007

[completeJava] provides Programming help and WebDesign help

Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Yahoo! Groups

Join a Health

& Fitness Group

or create your own.

.

__,_._,___

[completeJava] Doubt on WSDL2Java

Hi all,

I need some help w.r.t web services in java. I have a wsdl file and i
need to send and receive calls to this wsdl url or file through java
program. This url needs authentication (user name and pwd). So for
this, i have used the wsdl2java tool(by downloading xerces,axis and
installing tomcat) to convert the wsdl into java classes and i wrote a
small client program to call this java classes. I am having a problem
now. The client program compiles succesfully but the when i run it, it
gives a "missing authentication header" exception. Actually from the
wsdl file i have, there is a class called AuthenticationHeader.java
also generated. I called setUsername and setPassword methods available
on this class to set the username and password for the wsdl url but
this does not help. I don't understand if this is the right way to do
it. The complete exception details are:

Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: Missing authentication header.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:Missing authentication
header.
at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:222)
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:129)
at
org.apache.axis.encoding.DeserializationContext.endElement(Deserializ
ationContext.java:1087)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow
n Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at
org.apache.axis.encoding.DeserializationContext.parse(Deserialization
Context.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnders
tandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
new5.wsdl.VMware_x0020_Lab_x0020_Manager_x0020_SOAP_x0020_interface
Soap_BindingStub.getTemplateByName(VMware_x0020_Lab_x0020_Manager_x0020_SOAP_x
0020_interfaceSoap_BindingStub.java:2132)
at Client.main(Client.java:57)

{http://xml.apache.org/axis/}hostname:supraja-win

Missing authentication header.
at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:222)
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:129)
at
org.apache.axis.encoding.DeserializationContext.endElement(Deserializ
ationContext.java:1087)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow
n Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at
org.apache.axis.encoding.DeserializationContext.parse(Deserialization
Context.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnders
tandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
new5.wsdl.VMware_x0020_Lab_x0020_Manager_x0020_SOAP_x0020_interface
Soap_BindingStub.getTemplateByName(VMware_x0020_Lab_x0020_Manager_x0020_SOAP_x
0020_interfaceSoap_BindingStub.java:2132)
at Client.main(Client.java:57)

Any help would be really appreciated regardng this. Many thanks in advance

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Search Ads

Get new customers.

List your web site

in Yahoo! Search.

Women of Curves

on Yahoo! Groups

see how women are

changing their lives.

.

__,_._,___

Monday, December 17, 2007

[completeJava] Trendy Used Laptops

Looking for a cheap used laptop? Visit the website to get a sleek and
trendy laptop for you at throw away prices:
http://cheaplaptops.bigbargains.info

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Search Ads

Get new customers.

List your web site

in Yahoo! Search.

Parenting Groups

on Yahoo! Groups

Single Parenting

to managing twins.

.

__,_._,___

[completeJava] Hibernate is Very Slow

Hi Friens:

I am new to Hibernate .Now I am using Hibernate3.0 which performance
is very slow. Could you please suggest me with some setting so that
it performance can increase. Many thanks for your help.

Please see below my attached files....

hibernate.cfg.xml file


<?xml version='1.0' encoding='utf-8'?>

<!DOCTYPE hibernate-configuration PUBLIC

"-//Hibernate/Hibernate Configuration DTD//EN"

"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

<hibernate-configuration>

<session-factory>

<property
name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</proper
ty>

<property
name="hibernate.connection.url">jdbc:mysql://localhost:3306/inish</pro
perty>

<property name="hibernate.connection.username">root</property>

<property name="hibernate.connection.password">password</property>

<property name="hibernate.connection.pool_size">10</property>

<property name="hibernate.jdbc.batch_size">30</property>

<property name="c3p0.max_size">20</property>

<property name="c3p0.max_statements">50</property>

<property name="c3p0.acquire_increment">10</property>

<property name="show_sql">true</property>

<property name="dialect">org.hibernate.dialect.MySQLDialect</property>

<property name="hibernate.hbm2ddl.auto">create</property>

<!-- Mapping files -->

<mapping resource="message.hbm.xml"/>

</session-factory>

</hibernate-configuration>

Message.hbm.xml file

<?xml version="1.0"?>

<!DOCTYPE hibernate-mapping PUBLIC

"-//Hibernate/Hibernate Mapping DTD 3.0//EN"

"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>

<class name="hibernateImpl.message.Message" table="MESSAGE">

<id name="id" column="ID" >

<generator class="increment"/>

</id>

<map name="MessageProperties" cascade="all" batch-size="100"
optimistic-lock="false">

<key column="MESSAGEID"/>

<index column="NAME" type="string"/>

<element column="VALUE" type="string"/>

</map>

<property name="conversationId">

<column name="CONVERSATIONID" />

</property>

<property name="deliveryMode">

<column name="DELIVERYMODE" not-null="true"/>

</property>

<property name="destination">

<column name="DESTINATION" />

</property>

<property name="expiration">

<column name="EXPIRATION" />

</property>

<property name="messageId">

<column name="MESSAGEID" />

</property>

<property name="messageType">

<column name="MESSAGETYPE" />

</property>

<property name="replyTo">

<column name="REPLYTO" />

</property>

<property name="timeToLive">

<column name="TIMETOLIVE" />

</property>

<property name="timestamp">

<column name="TIMESTAMP" />

</property>

<property name="priority">

<column name="PRIORITY" />

</property>

</class>

</hibernate-mapping>

Thanks,
Asutosh

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

New web site?

Drive traffic now.

Get your business

on Yahoo! search.

Cat Zone

on Yahoo! Groups

Join a Group

all about cats.

.

__,_._,___

Thursday, December 13, 2007

[completeJava] Nude friend network

we all are nudists who enjoy living naked, skinny dipping, and meeting
other nude friends.

Would you like to join us? View naked photos, watch hot vedios and
read nudist blogs!

http://www.geocities.com/sexywomanwithoutany/index.htm

http://www.geocities.com/nudiessex1314/index.htm

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Search Ads

Get new customers.

List your web site

in Yahoo! Search.

Yahoo! Groups

Cat Zone

Connect w/ others

who love cats.

.

__,_._,___

Friday, November 30, 2007

Re: [completeJava] Direct Web Remoting

Thirupathi: Cool stuff........Its really great to see TIBCO stuff in you mail about DWR.

Members: Thirupathi has mentioned about TIBCO General Interface product (TIBCO GI) for DWR, friends if you remember I wrote a mail long back (dig your mail box) about TIBCO GI , its advantages and its free availability at www.tibco.com.

We are talking about really bleeding edge technologies, lets keep going like this.
 
______________________________________________________________________________________
"Though we cannot rewrite the past, we should write a better future"
M Naveen Kumar Reddy 
Novartis Pharmaceuticals Corporation
East Hanover, NJ 07936, USA
Direct phone: +1 862-778-9356
Cell: +1 732-318-8956


----- Original Message ----
From: b.thirupathi <thirupathi_reddy_82@yahoo.com>
To: completeJava@yahoogroups.com
Sent: Thursday, November 29, 2007 11:33:49 PM
Subject: [completeJava] Direct Web Remoting

http://getahead. org/dwr

DWR allows Javascript in a browser to interact with Java on a server and helps you manipulate web pages with the results.

DWR is Easy Ajax for Java

DWR version 2.0 is our new stable release. Version 2 includes a host of updates, including Reverse Ajax which allows Java on the server to remotely control browsers by publishing scripts to them. See the release notes for more information, or download it now and use it in your website in minutes.

Our previous stable release is Version 1.1.4. Find out more in the release notes or download it.

Introduction Download Documentation Support

TIBCO Software are sponsoring DWR
TIBCO and DWR are working together to enhance Ajax in the enterprise, to integrate DWR with TIBCO General Interface, to enhance DWR to extend the enterprise service bus to the browser. Find out more.

Other Languages

Non-English Documentation
DWR documentation and tutorials are now available in Chinese, Spanish, Portuguese, French, Italian and Swedish.

DWR is Open Source, available under the Apache Software License v2.




Get easy, one-click access to your favorites. Make Yahoo! your homepage.

__._,_.___
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Yahoo! Groups

Going Green

Share your passion

for the planet.

.

__,_._,___

Thursday, November 29, 2007

[completeJava] Stripes

http://mc4j.org/confluence/display/stripes/Home

Welcome to Stripes!

Stripes is a presentation framework for building web applications using the latest Java technologies. The main driver behind Stripes is that web application development in Java is just too much work! It seems like every existing framework requires gobs of configuration. Strutshttp://mc4j.org/confluence/images/icons/linkext7.gif is pretty feature-light and has some serious architectural issues (see Stripes vs. Struts for details). Others, like WebWork 2 and Spring-MVC are much better, but still require a lot of configuration, and seem to require you to learn a whole new language just to get started.

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

10 pairs of tickets

a day from Yahoo!

Fly home for the

Holidays for free.

Fitness Challenge

on Yahoo! Groups

Get in shape w/the

Special K Challenge.

.

__,_._,___