Tag: mule studio

从mule esb使用.NET ASMX Web服务会引发CXFexception:401未经授权

我在另一台服务器上有一个.NET ASMX Web服务,我在另一台服务器上安装了mule standalone CE 3.4。 我有一个非常简单的流程,需要调用此.NET Web服务并传递两个字符串参数。 基本上,我公开了一个http入站端点(用于测试目的)来调用流并使用java转换器类来返回需要传递给Web服务的字符串。 这是WebServiceParamsTransformer类的代码。 public class WebServiceParamsTransformer extends AbstractTransformer { @Override public Object doTransform(Object src, String encoding) throws TransformerException { Object[] out = new Object[2]; out[0] = “Update Ticket Service”; out[1] = Base64.encode(“123456hari2013-09-16T15:52:14.0000+00.00”); return out; } } 不幸的是这不起作用 – 我收到以下错误’响应代码:401。未经授权’。 以下是错误日志的摘录: INFO 2013-09-17 13:54:13,396 [[sftest].httpConnector.receiver.02] org.apache.commons.httpclient.auth.AuthChallengeProcessor: **ntlm authentication scheme […]

Spring3dependency injection无法使用mule

我无法在CustomerServiceImpl服务类中的引用变量中注入customerDao对象。 这是我的mule_flow.mflow文件 这是我的Spring-mule.xml文件 classpath:hibernate.cfg.xml org.hibernate.cfg.AnnotationConfiguration org.hibernate.dialect.Oracle10gDialect true org.hibernate.cache.NoCacheProvider auto 这是我的CustomerServiceImpl.java package com.proj.pos.webservice.implementation; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; import com.proj.pos.dao.interfac.CustomerDao; import com.proj.pos.entity.Customer; import com.proj.pos.webservice.interfac.CustomerService; @WebService(endpointInterface = “com.proj.pos.webservice.interfac.CustomerService”, serviceName = “CustomerService”) public class CustomerServiceImpl implements CustomerService { public CustomerDao getCustomerDao() { return customerDao; } public void setCustomerDao(CustomerDao customerDao) { this.customerDao […]

NoClassDefFoundError:javax / validation /validation甚至在POM中validation-api 1.1.0.Final

看起来很奇怪……我有exception追踪: org.apache.cxf.interceptor.Fault at org.mule.module.cxf.MuleInvoker.invoke(MuleInvoker.java:117) at org.mule.module.cxf.MuleJAXWSInvoker.invoke(MuleJAXWSInvoker.java:47) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75) at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37) at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:123) at org.mule.module.cxf.CxfInboundMessageProcessor.sendToDestination(CxfInboundMessageProcessor.java:295) at org.mule.module.cxf.CxfInboundMessageProcessor.process(CxfInboundMessageProcessor.java:136) at org.mule.module.cxf.config.FlowConfiguringMessageProcessor.process(FlowConfiguringMessageProcessor.java:52) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:61) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47) at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:106) at org.mule.processor.AsyncInterceptingMessageProcessor.process(AsyncInterceptingMessageProcessor.java:101) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:61) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47) at org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:95) at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:70) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27) […]

如何使用Talend Open Studio数据集成创建属性文件?

我曾经使用过Talend Open Integration studio来创建作业并从IDE运行它或将其导出为可执行jar文件。 但我没有广泛使用它。 是否可以创建一个包含不同服务器名称和其他变量的外部配置文件,以便在创建我的Talend作业的可执行jar文件后,我可以更改配置文本文件并选择不同的数据库服务器或端口选项? 我也使用了MuleSoft一点点,所以如果有人知道如何使用MuleSoft做任何建议,将不胜感激。