Hello everyone,
I have a question and I am kind of new to spring and webservices.
I want to create a webservice for our customers. This webservice should validate xml files (different xml files with different xsd's).
So my step-into method has two parameters (String xmldata, String xmltype)
The xmltype is the kind of xml file that needs to be validated, the xmldata should be the xml content.
Now I want to test this webservice with Altova XML Spy and it is working if I use
But I want that without the <![CDATA[ tags. Is that possible?PHP Code:<xmldata><![CDATA[
<CSFile version="1.05">
<Message>
<SenderID>HLCU</SenderID>
<ReceiverID>XX</ReceiverID>
<Timezone>Europe/Berlin</Timezone>
<MessageID>892</MessageID>
<MessageDate>
<DateTime>2010-03-24T00:00:00</DateTime>
</MessageDate>
</Message>
<File>
<FileNumber>
<Number>HLCUBC1100305947</Number>
<Company Code="001"/>
<Office Code="WOB"/>
</FileNumber>
</File>
</CSFile>
]]>
</xmldata>
I thought about an other annotation or a different data type then String as argument, but without any luck.
Can somebody give me a hint or tell me what I have to look for?
Thanks a lot and many greetings,
Hauke


Reply With Quote