|
|
Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
I deployed a simple web service that returns a string that has xml data within it. I developed it using NetBeans 5.5 Beta, as EJB [ at ]WebMethod. When I try to access it from Microsoft InfoPath I get an error: InfoPath cannot use the selected Web service method for receiving data because the method does not provide valid XML data.
I searched and found another web service on the internet that similarly returns a string that has XML data and InfoPath could consume it. This was created, however, with MS tools.
Any pointers as to what could be the underlying issue?
|
|
Upon further research and investigation, I found that the web service I created with NetBeans 5.5 Beta/Glassfish returns the string like this.
<return><![CDATA[...]]></return>
where ... is the xml string.
The other WS I found on the Internet (created with MS tools) and also one created with Tomcat/Axis returns like this.
<GetSpeechResult><MESSAGE>Request length is shorter than minimum requirement.</MESSAGE></GetSpeechResult>
Can someone tell me the difference, and why does InfoPath not be able to consume the first but can consume the second? Thanks.
|
|
|
|
|