Hello, I’m developing a cxf web service client that passes an xml string to the web service server stored in the string field of some request object. After the client call to the server is invoked the XML string seems to get interpreted by something within cxf or some component used by it: all xml opening and closing brackets get replaced by < and > The server of course cannot interpret the message and rejects it. I found several postings on the internet asking for help concerning the same issue, but nothing helped. I also tried to declare the xml string field with anyType as suggested, but this didn't do it. I'm using cxf 2.5.2.
I then downloaded the wsdl_first_soap12 sample from cxf.apache.org and changed it to make the client send my xml string to the server instead of sending "hello world". This worked out of the box without a problem: the xml did not get scrambled. Okay, now I only need to find the difference between the wsdl_first_soap12 sample and my client and I'm done. So I thought. No luck so far. I then copied the wsdl of my service into the wsdl file of the wsdl_first_soap12 sample. This way the working wsdl_first_soap12 remains completely unchanged except for the wsdl only. Then the xml scrambeling problem occured again ;-(. For every difference I could find in both WSDLs I changed my WSDL and tried again. All the time without any luck. Now I'd be thankful if anyone had an idea what I could do to fix this. Thanx, Oliver -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
