[ https://issues.apache.org/jira/browse/CXF-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251419#comment-13251419 ]
Freeman Fang edited comment on CXF-4235 at 4/11/12 8:51 AM: ------------------------------------------------------------ Hi, You really should put this question on cxf user mailing list, with some details like how your wsdl and method looks like, you shouldn't create a jira and just post your quesiton here. In your case, you need put xml tags in CDATA, the discusion here[1] should exactly match your requirement. [1]http://cxf.547215.n5.nabble.com/CXF-jaxb-send-string-as-CData-td5524523.html Freeman was (Author: ffang): Hi, You really should put this question on cxf user mailing list, with some details like how your wsdl and method looks like, you shouldn't create a jira and just post your quesiton here. Btw, the discusion here[1] should exact match your requirement [1]http://cxf.547215.n5.nabble.com/CXF-jaxb-send-string-as-CData-td5524523.html Freeman > Passing raw xml to a string parameter in the service call > --------------------------------------------------------- > > Key: CXF-4235 > URL: https://issues.apache.org/jira/browse/CXF-4235 > Project: CXF > Issue Type: Task > Components: Samples > Affects Versions: 2.5.2 > Environment: Eclipse java 1.6 > Reporter: Amar Das > Fix For: 2.5.2 > > > I am trying to build a CXF webservice using eclipse. I have a service method > String getScore(String param). I want to pass a raw xml to the param. At this > moment it gives an exception: > Unmarshalling Error: unexpected element (uri:"", local:"aaa"). Expected > elements are (none) > Please send some sample code to support this. > Thanks, > Amar -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira