Hi bvahdat,

Nice to see you're using the Spring-WS component. You need to remove the
SOAP tags, these are provided automatically by Spring-WS. 

The following request:

    final String request = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" 
                       +"<AllForwards
xmlns=\"http://footballpool.dataaccess.eu\";>" 
                       + "<sCountryName>CH</sCountryName>" 
                       + "</AllForwards>";

Results in this response:

  <m:AllForwardsResponse xmlns:m="http://footballpool.dataaccess.eu";>
      <m:AllForwardsResult>
        <m:string>Alexis Sánchez</m:string>
        <m:string>Esteban Paredes</m:string>
        <m:string>Fabián Orellana</m:string>
        <m:string>Humberto Suazo</m:string>
        <m:string>Jean Beausejour</m:string>
        <m:string>Mark González</m:string>
      </m:AllForwardsResult>
    </m:AllForwardsResponse>
 
Regards,
Richard

-- 
View this message in context: 
http://camel.465427.n5.nabble.com/usage-of-spring-ws-component-tp3333009p3333348.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to