How to force CDATA for a specific SOAP Element?
michabbb opened this issue ยท 0 comments
michabbb commented
dear all,
eBay had another great idea to make developers crazy ๐ and I have no idea how to solve this with your project, so I please need some help/advise.
based on ebay WSDL I am able to generate the classmap and create a request like this:
<SOAP-ENV:Body>
<ns1:ReviseFixedPriceItemRequest>
<ns1:Item>
<ns1:Description><!DOCTYPE html> <!--suppress HtmlFormInputWithoutLabel
--> <html> <head> <meta charset="UTF-8"/>
<title>Kunde</title> <meta name="viewport"
content="width=device-width,initial-scale=1"/> <link rel="stylesheet"...................
</ns1:Description>
</ns1:Item>
</ns1:ReviseFixedPriceItemRequest>
</SOAP-ENV:Body>
but ebay forces us (next month) to send this request like that:
<SOAP-ENV:Body>
<ns1:ReviseFixedPriceItemRequest>
<ns1:Item>
<ns1:Description>
<![CDATA[
<!DOCTYPE html> <!--suppress HtmlFormInputWithoutLabel --> <html> <head> <meta charset="UTF-8"/>
<title>Kunde</title> <meta name="viewport" content="width=device-width,initial-scale=1"/> <link rel="stylesheet"...................
]]>
</ns1:Description>
</ns1:Item>
</ns1:ReviseFixedPriceItemRequest>
</SOAP-ENV:Body>
and sadly I have absolutely no clue how to make this work.
i would be very happy, if you could help me here !! ๐ ๐
here's the latest trading WSDL of ebay.
thanks !!!
micha