I think that the problem is that your are sending a string inside a soap message and the soap message is created in the doc/lit style.

Probably you want to use a binding framework to create that xml or check how to include it as a child of your payload

-Pablo Melchi
pablo-melchi.blogspot.com

On Jun 1, 2008, at 9:30 AM, Mohan Radhakrishnan <[EMAIL PROTECTED] > wrote:


Hi,
I am using the doc/lit style to send a xs:string type. Now if I post an
entire XML then it gets wrapped in CDATA. I am using Axis 2 XMLBeans
bindings.

I have these questions.

1. Does this style of sending XML as string require CDATA ?
2. A new namespace is added like this in the SOAP message when invoking the
operation ?

      <newnamespace:argument uri ....... >

  I am not specifying this 'newnamespace' anywhere.

What is the rule for generating this 'newnamespace' ? I will post the
WSDL and actual SOAP message if this info. is not sufficient.


Thanks,
Mohan
--
View this message in context: 
http://www.nabble.com/Document-literal-style---Send-XML-as-string-tp17586208p17586208.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to