You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Amar Das (Created) (JIRA)" <ji...@apache.org> on 2012/04/10 17:55:18 UTC
[jira] [Created] (CXF-4235) Passing raw xml to a string parameter
in the service call
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
[jira] [Issue Comment Edited] (CXF-4235) Passing raw xml to a
string parameter in the service call
Posted by "Freeman Fang (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ 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:50 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.
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
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.
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
[jira] [Assigned] (CXF-4235) Passing raw xml to a string parameter
in the service call
Posted by "Freeman Fang (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned CXF-4235:
---------------------------------
Assignee: Freeman Fang
> 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
> Assignee: Freeman Fang
> 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
[jira] [Resolved] (CXF-4235) Passing raw xml to a string parameter
in the service call
Posted by "Freeman Fang (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved CXF-4235.
-------------------------------
Resolution: Not A Problem
> 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
> Assignee: Freeman Fang
> 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
[jira] [Commented] (CXF-4235) Passing raw xml to a string parameter
in the service call
Posted by "Freeman Fang (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251419#comment-13251419 ]
Freeman Fang commented on CXF-4235:
-----------------------------------
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.
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
[jira] [Issue Comment Edited] (CXF-4235) Passing raw xml to a
string parameter in the service call
Posted by "Freeman Fang (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ 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