java - Mule - Deployed project - Message payload is of type: String -
my current mule flow:
http
-> logger
(asstring) -> soap service
-> invoke
-> logger
<spring:beans> <spring:bean id="propertyconfigurer" class="org.springframework.beans.factory.config.propertyplaceholderconfigurer"> <spring:property name="locations"> <spring:list> <spring:value>info.properties</spring:value> </spring:list> </spring:property> </spring:bean> <spring:bean id="testintegration" class="x.x.x.testintegracion" init-method="init"> <spring:property name="url" value="${destiny.url}" /> <spring:property name="username" value="${message.username}" /> <spring:property name="password" value="${message.password}" /> </spring:bean> </spring:beans> <!-- // --> <flow name="flow_mule" doc:name="flow_mule"> <http:inbound-endpoint exchange-pattern="request-response" doc:name="http" host="0.0.0.0" port="8089" /> <logger message="#[message.payloadas(java.lang.string)]" level="info" doc:name="logger"/> <cxf:jaxws-service doc:name="service" serviceclass="y.y.y.requestport" /> <invoke object-ref="testintegration" method="newcte" doc:name="invoke" methodarguments="#[message.payload]"/> <logger message="#[message.payloadas(java.lang.string)]" level="info" doc:name="logger" /> </flow>
i deployed project. type of export anypoint studio project anypoint deployable archive
.
i've been testing soapui 2 forms.
from computer run mule project , soapui make request local url:
http://0.0.0.0:8089/
, return me ok.from computer, soapui request url have mule deployed:
http://x.y.z.123:8089/
, return me message / error:
failed invoke x.x.x.testintegracion@5767f230. message payload of type: string
this xml use , http component get:
<?xml version="1.0" encoding="utf-8"?> <soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"> <soapenv:body> <newcte xmlns="urn:microsoft-dynamics-schemas/codeunit/request"> <xmlinput> <newcte> <id_test>152</id_test> <user_test>mike</user_test> </newcte> </xmlinput> </newcte> </soapenv:body> </soapenv:envelope>
server log:
error 2015-06-03 19:38:27,394 [[test-mule].connector.http.mule.default.receiver.02] org.mule.exception.defaultmessagingexceptionstrategy: ******************************************************************************** message : component caused exception is: defaultjavacomponent{flow_test.component.1922025874}. message payload of type: string code : mule_error--2 -------------------------------------------------------------------------------- exception stack is: 1. server has rejected client credentials. (org.apache.cxf.binding.soap.soapfault) org.apache.cxf.binding.soap.interceptor.soap11faultininterceptor:75 (null) 2. server has rejected client credentials. (javax.xml.ws.soap.soapfaultexception) org.apache.cxf.jaxws.jaxwsclientproxy:156 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/xml/ws/soap/soapfaultexception.html) 3. component caused exception is: defaultjavacomponent{flow_test.component.1922025874}. message payload of type: string (org.mule.component.componentexception) org.mule.component.defaultcomponentlifecycleadapter:348 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/component/componentexception.html) -------------------------------------------------------------------------------- root exception stack trace: org.apache.cxf.binding.soap.soapfault: server has rejected client credentials. @ org.apache.cxf.binding.soap.interceptor.soap11faultininterceptor.unmarshalfault(soap11faultininterceptor.java:75) @ org.apache.cxf.binding.soap.interceptor.soap11faultininterceptor.handlemessage(soap11faultininterceptor.java:46) @ org.apache.cxf.binding.soap.interceptor.soap11faultininterceptor.handlemessage(soap11faultininterceptor.java:35) + 3 more (set debug level logging or '-dmule.verbose.exceptions=true' everything) ******************************************************************************** warn 2015-06-03 19:38:27,394 [[test-mule].connector.http.mule.default.receiver.02] org.apache.cxf.phase.phaseinterceptorchain: interceptor {urn:microsoft-dynamics-schemas/codeunit/requests}requestsportservice#{urn:microsoft-dynamics-schemas/codeunit/requests}newcte has thrown exception, unwinding org.apache.cxf.interceptor.fault: server has rejected client credentials. @ org.mule.module.cxf.muleinvoker.invoke(muleinvoker.java:113) @ org.mule.module.cxf.mulejaxwsinvoker.invoke(mulejaxwsinvoker.java:43) @ org.apache.cxf.service.invoker.abstractinvoker.invoke(abstractinvoker.java:75) @ org.apache.cxf.interceptor.serviceinvokerinterceptor$1.run(serviceinvokerinterceptor.java:58) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ org.apache.cxf.workqueue.synchronousexecutor.execute(synchronousexecutor.java:37) @ org.apache.cxf.interceptor.serviceinvokerinterceptor.handlemessage(serviceinvokerinterceptor.java:107) @ org.apache.cxf.phase.phaseinterceptorchain.dointercept(phaseinterceptorchain.java:263) @ org.apache.cxf.transport.chaininitiationobserver.onmessage(chaininitiationobserver.java:122) @ org.mule.module.cxf.cxfinboundmessageprocessor.sendtodestination(cxfinboundmessageprocessor.java:338) @ org.mule.module.cxf.cxfinboundmessageprocessor.process(cxfinboundmessageprocessor.java:144) @ org.mule.module.cxf.config.flowconfiguringmessageprocessor.process(flowconfiguringmessageprocessor.java:48) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.chain.defaultmessageprocessorchain.doprocess(defaultmessageprocessorchain.java:94) @ org.mule.processor.chain.abstractmessageprocessorchain.process(abstractmessageprocessorchain.java:67) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.abstractinterceptingmessageprocessorbase.processnext(abstractinterceptingmessageprocessorbase.java:102) @ org.mule.processor.asyncinterceptingmessageprocessor.process(asyncinterceptingmessageprocessor.java:97) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.abstractinterceptingmessageprocessorbase.processnext(abstractinterceptingmessageprocessorbase.java:102) @ org.mule.construct.dynamicpipelinemessageprocessor.process(dynamicpipelinemessageprocessor.java:54) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.chain.defaultmessageprocessorchain.doprocess(defaultmessageprocessorchain.java:94) @ org.mule.processor.chain.abstractmessageprocessorchain.process(abstractmessageprocessorchain.java:67) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.abstractinterceptingmessageprocessorbase.processnext(abstractinterceptingmessageprocessorbase.java:102) @ org.mule.interceptor.abstractenvelopeinterceptor.process(abstractenvelopeinterceptor.java:51) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.abstractinterceptingmessageprocessorbase.processnext(abstractinterceptingmessageprocessorbase.java:102) @ org.mule.processor.abstractfilteringmessageprocessor.process(abstractfilteringmessageprocessor.java:40) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.abstractinterceptingmessageprocessorbase.processnext(abstractinterceptingmessageprocessorbase.java:102) @ org.mule.construct.abstractpipeline$1.process(abstractpipeline.java:109) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.chain.defaultmessageprocessorchain.doprocess(defaultmessageprocessorchain.java:94) @ org.mule.processor.chain.abstractmessageprocessorchain.process(abstractmessageprocessorchain.java:67) @ org.mule.processor.chain.interceptingchainlifecyclewrapper.doprocess(interceptingchainlifecyclewrapper.java:50) @ org.mule.processor.chain.abstractmessageprocessorchain.process(abstractmessageprocessorchain.java:67) @ org.mule.processor.chain.interceptingchainlifecyclewrapper.access$001(interceptingchainlifecyclewrapper.java:22) @ org.mule.processor.chain.interceptingchainlifecyclewrapper$1.process(interceptingchainlifecyclewrapper.java:66) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.chain.interceptingchainlifecyclewrapper.process(interceptingchainlifecyclewrapper.java:61) @ org.mule.construct.abstractpipeline$3.process(abstractpipeline.java:207) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.chain.simplemessageprocessorchain.doprocess(simplemessageprocessorchain.java:43) @ org.mule.processor.chain.abstractmessageprocessorchain.process(abstractmessageprocessorchain.java:67) @ org.mule.processor.chain.interceptingchainlifecyclewrapper.doprocess(interceptingchainlifecyclewrapper.java:50) @ org.mule.processor.chain.abstractmessageprocessorchain.process(abstractmessageprocessorchain.java:67) @ org.mule.processor.chain.interceptingchainlifecyclewrapper.access$001(interceptingchainlifecyclewrapper.java:22) @ or g.mule.processor.chain.interceptingchainlifecyclewrapper$1.process(interceptingchainlifecyclewrapper.java:66) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.chain.interceptingchainlifecyclewrapper.process(interceptingchainlifecyclewrapper.java:61) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.chain.simplemessageprocessorchain.doprocess(simplemessageprocessorchain.java:43) @ org.mule.processor.chain.abstractmessageprocessorchain.process(abstractmessageprocessorchain.java:67) @ org.mule.processor.chain.interceptingchainlifecyclewrapper.doprocess(interceptingchainlifecyclewrapper.java:50) @ org.mule.processor.chain.abstractmessageprocessorchain.process(abstractmessageprocessorchain.java:67) @ org.mule.processor.chain.interceptingchainlifecyclewrapper.access$001(interceptingchainlifecyclewrapper.java:22) @ org.mule.processor.chain.interceptingchainlifecyclewrapper$1.process(interceptingchainlifecyclewrapper.java:66) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.chain.interceptingchainlifecyclewrapper.process(interceptingchainlifecyclewrapper.java:61) @ org.mule.transport.abstractmessagereceiver.routeevent(abstractmessagereceiver.java:511) @ org.mule.transport.abstracttransportmessageprocesstemplate.routeevent(abstracttransportmessageprocesstemplate.java:80) @ org.mule.execution.flowprocessingphase$1$1.process(flowprocessingphase.java:76) @ org.mule.execution.flowprocessingphase$1$1.process(flowprocessingphase.java:63) @ org.mule.execution.executecallbackinterceptor.execute(executecallbackinterceptor.java:16) @ org.mule.execution.handleexceptioninterceptor.execute(handleexceptioninterceptor.java:30) @ org.mule.execution.handleexceptioninterceptor.execute(handleexceptioninterceptor.java:14) @ org.mule.execution.beginandresolvetransactioninterceptor.execute(beginandresolvetransactioninterceptor.java:54) @ org.mule.execution.resolveprevioustransactioninterceptor.execute(resolveprevioustransactioninterceptor.java:44) @ org.mule.execution.suspendxatransactioninterceptor.execute(suspendxatransactioninterceptor.java:50) @ org.mule.execution.validatetransactionalstateinterceptor.execute(validatetransactionalstateinterceptor.java:40) @ org.mule.execution.isolatecurrenttransactioninterceptor.execute(isolatecurrenttransactioninterceptor.java:41) @ org.mule.execution.externaltransactioninterceptor.execute(externaltransactioninterceptor.java:48) @ org.mule.execution.rethrowexceptioninterceptor.execute(rethrowexceptioninterceptor.java:28) @ org.mule.execution.rethrowexceptioninterceptor.execute(rethrowexceptioninterceptor.java:13) @ org.mule.execution.transactionalerrorhandlingexecutiontemplate.execute(transactionalerrorhandlingexecutiontemplate.java:109) @ org.mule.execution.flowprocessingphase$1.run(flowprocessingphase.java:62) @ org.mule.transport.trackingworkmanager$trackeablework.run(trackingworkmanager.java:267) @ org.mule.work.workercontext.run(workercontext.java:286) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745) caused by: javax.xml.ws.soap.soapfaultexception: server has rejected client credentials. @ org.apache.cxf.jaxws.jaxwsclientproxy.invoke(jaxwsclientproxy.java:156) @ com.sun.proxy.$proxy93.newcte(unknown source) @ x.x.x.testintegration.newcte(testintegration.java:80) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.mule.model.resolvers.abstractentrypointresolver.invokemethod(abstractentrypointresolver.java:148) @ org.mule.model.resolvers.methodheaderpropertyentrypointresolver.invoke(methodheaderpropertyentrypointresolver.java:109) @ org.mule.model.resolvers.defaultentrypointresolverset.invoke(defaultentrypointresolverset.java:36) @ org.mule.component.defaultcomponentlifecycleadapter.invoke(defaultcomponentlifecycleadapter.java:339) @ org.mule.component.abstractjavacomponent.invokecomponentinstance(abstractjavacomponent.java:82) @ org.mule.component.abstractjavacomponent.doinvoke(abstractjavacomponent.java:73) @ org.mule.component.abstractcomponent.invokeinternal(abstractcomponent.java:122) @ org.mule.component.abstractcomponent.access$000(abstractcomponent.java:57) @ org.mule.component.abstractcomponent$1$1.process(abstractcomponent.java:238) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.component.abstractcomponent.process(abstractcomponent.java:156) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.module.cxf.cxfinboundmessageprocessor.processnext(cxfinboundmessageprocessor.java:389) @ org.mule.module.cxf.muleinvoker$1.process(muleinvoker.java:88) @ org.mule.module.cxf.muleinvoker$1.process(muleinvoker.java:84) @ org.mule.execution.executecallbackinterceptor.execute(executecallbackinterceptor.java:16) @ org.mule.execution.handleexceptioninterceptor.execute(handleexceptioninterceptor.java:30) @ org.mule.execution.handleexceptioninterceptor.execute(handleexceptioninterceptor.java:14) @ org.mule.execution.beginandresolvetransactioninterceptor.execute(beginandresolvetransactioninterceptor.java:54) @ org.mule.execution.suspendxatransactioninterceptor.execute(suspendxatransactioninterceptor.java:50) @ org.mule.execution.rethrowexceptioninterceptor.execute(rethrowexceptioninterceptor.java:28) @ org.mule.execution.rethrowexceptionintercept or.execute(rethrowexceptioninterceptor.java:13) @ org.mule.execution.errorhandlingexecutiontemplate.execute(errorhandlingexecutiontemplate.java:59) @ org.mule.module.cxf.muleinvoker.invoke(muleinvoker.java:83) @ org.mule.module.cxf.mulejaxwsinvoker.invoke(mulejaxwsinvoker.java:43) @ org.apache.cxf.service.invoker.abstractinvoker.invoke(abstractinvoker.java:75) @ org.apache.cxf.interceptor.serviceinvokerinterceptor$1.run(serviceinvokerinterceptor.java:58) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ org.apache.cxf.workqueue.synchronousexecutor.execute(synchronousexecutor.java:37) @ org.apache.cxf.interceptor.serviceinvokerinterceptor.handlemessage(serviceinvokerinterceptor.java:107) @ org.apache.cxf.phase.phaseinterceptorchain.dointercept(phaseinterceptorchain.java:263) @ org.apache.cxf.transport.chaininitiationobserver.onmessage(chaininitiationobserver.java:122) @ org.mule.module.cxf.cxfinboundmessageprocessor.sendtodestination(cxfinboundmessageprocessor.java:338) @ org.mule.module.cxf.cxfinboundmessageprocessor.process(cxfinboundmessageprocessor.java:144) @ org.mule.module.cxf.config.flowconfiguringmessageprocessor.process(flowconfiguringmessageprocessor.java:48) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.asyncinterceptingmessageprocessor.process(asyncinterceptingmessageprocessor.java:97) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.construct.dynamicpipelinemessageprocessor.process(dynamicpipelinemessageprocessor.java:54) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.interceptor.abstractenvelopeinterceptor.process(abstractenvelopeinterceptor.java:51) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.processor.abstractfilteringmessageprocessor.process(abstractfilteringmessageprocessor.java:40) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.construct.abstractpipeline$1.process(abstractpipeline.java:109) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.construct.abstractpipeline$3.process(abstractpipeline.java:207) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) @ org.mule.execution.exceptiontomessagingexceptionexecutioninterceptor.execute(exceptiontomessagingexceptionexecutioninterceptor.java:24) @ org.mule.execution.messageprocessornotificationexecutioninterceptor.execute(messageprocessornotificationexecutioninterceptor.java:58) @ org.mule.execution.messageprocessorexecutiontemplate.execute(messageprocessorexecutiontemplate.java:44) ... 22 more caused by: org.apache.cxf.binding.soap.soapfault: server has rejected client credentials. @ org.apache.cxf.binding.soap.interceptor.soap11faultininterceptor.unmarshalfault(soap11faultininterceptor.java:75) @ org.apache.cxf.binding.soap.interceptor.soap11faultininterceptor.handlemessage(soap11faultininterceptor.java:46) @ org.apache.cxf.binding.soap.interceptor.soap11faultininterceptor.handlemessage(soap11faultininterceptor.java:35)
info.properties:
destiny.url=http://22.33.44.128:7107/codeunit/requests?wsdl message.username=domain\test_ws message.password=test123
why works local using mule project , return me error if use deployed project?
the root cause the server has rejected client credentials.
looking @ application, these credentials (${message.username}
, ${message.password}
) come info.properties
i suspect either didn't package info.properties
mule application or values contains not relevant environment mule runs (for ex. using dev
credentials in test
or prod
environment). if latter, need use propertyplaceholderconfigurer
's override mechanism allow providing environment-specific credentials either via file-based override or via environment variable overrides.
Comments
Post a Comment