When I test using soupUI with the following input:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:rep="http://reportincident.example.camel.apache.org";>
   <soapenv:Header/>
   <soapenv:Body>
      <rep:inputReportIncident>
         <incidentId>111</incidentId>
         <incidentDate>2013-05-09</incidentDate>
         <givenName>Claus</givenName>
         <familyName>Muller</familyName>
         <summary>bla</summary>
         <details>bla</details>
         g...@vha.com
         <phone>678-447-2399</phone>
      </rep:inputReportIncident>
   </soapenv:Body>
</soapenv:Envelope>


I got Response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>Part
{http://reportincident.example.camel.apache.org}out should be of type
org.apache.camel.example.reportincident.OutputReportIncident, not
java.lang.String</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>






--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-from-Java-DSL-to-Spring-DSL-tp5732558p5732559.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to