Finally, I work it out!
I missed the annotation '@XmlType' at the JAXB class just as follow:
@XmlType
@XmlRootElement
public class StartProcessRequest{
...
}
Hoo~~:cool:
Type: Posts; User: charles-xie; Keyword(s):
Finally, I work it out!
I missed the annotation '@XmlType' at the JAXB class just as follow:
@XmlType
@XmlRootElement
public class StartProcessRequest{
...
}
Hoo~~:cool:
The problem still remains even I upgrade Spring WS to 1.5.9 and 1.5.10. By the way I use JDK 1.6 which already includes JAXB2's API instead of standalone version, could this be the reason?:( It...
I create a Web Service with JAXB2 according to the Spring Web Services Reference. The service started successfully, but when I use soap-ui to send request, it throws the followed exception:
...
I can't download it from http://s3.amazonaws.com/dist.springframework.org/release/SWS/spring-ws-1.5.9-with-dependencies.zip, the page can not be open.:(
Just send to email: 25757639@qq.com, thanks...
Good, you are right. It seems that I should read the Spring Security Reference document more carefully.:)
I can only get the instance of DaoAuthenticationProvider from <sec:authentication-manager alias="authenticationManager"/>, but the "getPasswordEncoder()" method is protected instead of pubilc.:(
How can I get configuration info such as PasswordEncoder in Java code? Is there any related API of Spring Security?
My security configuration file is(partial):
...
<sec:authentication-manager...
The error occurs when I test the tx() method of PurchaseOrderImpl, which of the printDate() method is specified in another aspect in aop-config.xml. If I remove the aspect, the test is OK. Why?
...
I put them in one <aop:config/> block, but the same error still occurs.
PurchaseOrderService:
package com.jec.myframework.services;
import java.util.Date;
import java.util.List;
import com.jec.myframework.base.BaseBizException;
public interface...
Before I add a new <aop:config></aop:config>(or an aspect), the test is OK within Transaction. But after that, the test complains "no session or session was closed":(
The tested method simply is...
I make it more clear:
I change the cronExpresstion from "0/5 * * * * ?" to "0/10 * * * * ?" and the nextFireTime in MC4J, but it seems that the task still run every 5 seconds.:confused:
Hi, dpfarr:
spring_dm's right. You can use InterfaceBasedMBeanInfoAssembler instead to expose your method more flexible. By the way, did you invoked these methods you listed successfully?
...
Now I want change "printScheduleTask"'s schedule without redeploy, so I export the "printScheduleTask" bean to a MBean through JMX. And the MC4J displays the very MBean's attributes and methods I...
MC4J shows each MBean I exported from normal beans, i.e. Quartz task beans and I see 2 properties: "CronExpression" and "NextFireTime" and their getter/setter.
But it seems that MC4J doesn't make...
I add declaration of the targetMethod into the interface, the Quartz works again, yes!
Thank you, duckbill.:D
schedule-config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
And here I paste the console error and my code:
console (partial):
严重: Exception sending context initialized event to listener instance of class...
For example, I want Quartz to run "print()" in class "MyService" which defined as follow:
public class MyService {
@Transactional
public void print(){
...
My spring config is:
<jee:jndi-lookup id="mailSession" jndi-name="mail/Session" resource-ref="true"
lookup-on-startup="false" proxy-interface="javax.mail.Session" />
The error is:...
I'm using spring with velocity to make E-mail template, and I put all *.vm files in /WEB-INF/templates/mail, not else location. VelocityEngine bean is:
<bean id="velocityEngine"...
I think it is because of spring-ws-1.5.5-all.jar. The bug is SWS-454.:mad:
I have to use each jar in different modules.
I gotta "cvc-complex-type.2.4.c" error from the console after Tomcat (6.x, JDK1.6) started while I'm using XML Schema-based configuration of JAXB2:
The matching wildcard is strict, but no...