bobekebob [
http://community.jboss.org/people/bobekebob] created the discussion
"CDATA in soapenv empty"
To view the discussion, visit:
http://community.jboss.org/message/584949#584949
--------------------------------------------------------------
Hello everybody.
I'm dealing with issue on jboss (jboss-5.1.0.GA) and jbossws
(jbossws-native-3.3.1.GA). When our ws gets soap message where xml message in soapenv body
is string everything is OK. But when xml message is in <![CDATA]]> it can't be
extracted. Here's code :
@WebMethod(operationName = "Call")
@WebResult(name = "Ack", targetNamespace = "
http://www.xxxxx.eu/zzz/yyy/webservice/V1/
http://www.xxxxx.eu/zzz/yyy/webservice/V1/", partName = "Ack")
public boolean call(
@WebParam(name = "Call", targetNamespace = "
http://www.xxxxx.eu/zzz/yyy/webservice/V1/
http://www.xxxxx.eu/zzz/yyy/webservice/V1/", partName = "Call")
String message,
@WebParam(name = "Header", targetNamespace = "
http://www.xxxxx.eu/zzz/yyy/webservice/V1/
http://www.xxxxx.eu/zzz/yyy/webservice/V1/", header = true, partName =
"Header")
Header header) {
String chainName = "csCallbackChainConfiguration";
In case of CDATA usage, String message isn't null and contains empty string -
"". Any ideas how to solve this problem ? Thank you for your time.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/584949#584949]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]