-
1. Re: How to log an incoming SOAP message question
bharadwaj Dec 15, 2014 10:27 AM (in response to dmacleod)The best way is to enable cxf logging . which will log both inbound and outbound soap messages.
<cxf:bus>
<!--
In this example, we're enabling the logging feature. This will ensure that both the inbound and outbound
XML message are being logged for every web service invocation.
-->
<cxf:features>
<cxf:logging/>
</cxf:features>
</cxf:bus>
-
2. Re: How to log an incoming SOAP message question
dmacleod Dec 15, 2014 11:25 AM (in response to bharadwaj)I think I have a conflict. When I added the code you suggested to my spring conf file, I also had to add the namespace:
xmlns:cxf="http://cxf.apache.org/core"
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
and I removed:
xmlns:cxf="http://camel.apache.org/schema/cxf"
http://camel.apache.org/schema/cxf/camel-cxf.xsd
Should both of these namespaces be used? do I just need to rename one of the namespaces?
FYI, I'm using Fuse 6.1
When I did this, I got an error that no declaration can be found for the element cxf:cxfEndpoint.
-
3. Re: How to log an incoming SOAP message question
dmacleod Dec 15, 2014 11:48 AM (in response to dmacleod)I renamed one of the conflicting namespaces and your solution worked, thanks