从Web服务返回xml响应
问题描述:
我正在进行LDAP呼叫以对用户进行身份验证,同时使其返回我正在为其呼叫的一个用户信息.但是我想从该LDAP调用返回xml.
我该怎么做.
在此先感谢...
Hi,
I am making LDAP call to authenticate user while making it is returning me one user information for which i am calling. But i want to return xml from that LDAP call.
How can i do this.
Thanks in Advance...
答
您必须自行对其进行转换...顺便说一句:您的标题有点令人困惑...
You have to transform it by yourself... btw: your title is a little bit confusing...
您以XML格式返回字符串.
you return string in XML format.
只需返回XML格式的字符串.即,非常简单.
Just return the string in the XML format. ie., very simple.