I am trying to supply a fixed SOAP response to all CXF inbound requests.
*<append-string-transformer name="CannedResponse" message='<q0:addAddressResponse xmlns:q0="http://www.webagesolutions.com/Address/"/>'/>*
<model name="BasicFileCopy">
<service name="CopyService">
<inbound>
<cxf:inbound-endpoint address="http://localhost:9081/services/address"
proxy="true" wsdlLocation="wsdl/Address.wsdl" serviceName="Address"
synchronous="true" namespace="http://www.webagesolutions.com/Address/"
*responseTransformer-refs="CannedResponse"* >
</cxf:inbound-endpoint>
</inbound>
</service>
</model>
I am getting an exception:
ERROR 2009-04-10 11:40:49,656 [connector.http.0.receiver.2] org.mule.DefaultExceptionStrategy: Caught exception in Exception Strategy: null
java.lang.NullPointerException
at org.mule.transport.cxf.CxfServiceComponent$1.write(CxfServiceComponent.java:266)
at org.mule.transport.http.HttpServerConnection.writeResponse(HttpServerConnection.java:293)
at org.mule.transport.http.HttpMessageReceiver$HttpWorker.run(HttpMessageReceiver.java:190)
What am I doing wrong?
Mule 2.2.1.
Thanks.
B.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email