XML协议 [英] XML Protocol

查看:127
本文介绍了XML协议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要将jsp应用程序与IIS asp.net应用程序集成.

Jsp应用程序调用asp.net应用程序,该应用程序应通过xml协议发送回一些数据.我不确定如何实现.

数据应该在xml对象中构建,并且该对象作为字符串对象传递吗?

抱歉,我不太确定xml协议,所以我问.

谢谢

Vijay

Hi,

I need to integrate a jsp application with IIS asp.net application.

Jsp application calls asp.net application which should send back some data via the xml protocol. I am unsure how to achieve it.

Should the data be built in xml object and that object be passed as string object?

Sorry I am quite unsure of xml protocol so I am asking.

Thanks

Vijay

推荐答案

最好的方法是在Asp.net端开发Web Service,并在JSP 应用程序中使用Web服务.在内部,通信将基于SOAP(XML),但是在JSP 应用程序端,您将获得类型化的对象(这对您来说应该更好,因为您不必从中解析和提取信息. XML).
The best way to achieve this is to develop a Web Service at Asp.net-end, and, consume the web service in your JSP application. Internally, the communication will be SOAP based (XML), but, at JSP application-end, you will get the typed object (Which should be better for you as you don''t have to parse and extract information from the XML).


这篇关于XML协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆