sandeepsharma

Greenhorn
+ Follow
since Jan 05, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sandeepsharma

For the EJB, default transaction management type is CONTAINER and default transaction attribute for a business method is REQUIRED. So even though we did not specify transaction attributes in our bean class, defaults took over.

But for Bean manager Transaction as here.... Nothing is specified...???
Hence the Answer.
Message-driven beans may declare only the NotSupported or Required transaction attribute. The other transaction attributes don't make sense in message-driven beans because they apply to client-initiated transactions. The Supports, RequiresNew, Mandatory, and Never attributes are all relative to the transaction context of the client. For example, the Mandatory attribute requires the client to have a transaction in progress before calling the enterprise bean. This is meaningless for a message-driven bean, which is decoupled from the client.

The NotSupported transaction attribute indicates that the message will be processed without a transaction. The Required transaction attribute indicates that the message will be processed with a container-initiated transaction.
Call back on Entity listeners will be executed first if specified, followed by Super classes and then the sub classes.
U need to publish the service with DataHandler as the argument of the function
for example:
public void getXmlFile(DataHandler file){
----
}
DataHandler of activation framework..............
15 years ago
AXIS error
Sorry, something seems to have gone wrong... here are the details:

Fault - ; nested exception is:
org.apache.axis.InternalException: java.lang.Exception: Method 'getCatalog' does not match any of the valid signatures for message-style service methods
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.apache.axis.InternalException: java.lang.Exception: Method 'getCatalog' does not match any of the valid signatures for message-style service methods
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname tpxp-ajoshi86


I am getting this error; anybody have some suggestions.....
I am using AXIS1.3 and provide JAXM
15 years ago
U can go thru the site JAVA World, roseindia and books from wrox publication..............
15 years ago