如何将XML文件传递到WSDL(在Java中)并从同一WSDL返回输出XML? [英] How to pass a XML file to WSDL(which is in java) and return the output XML from the same WSDL?
本文介绍了如何将XML文件传递到WSDL(在Java中)并从同一WSDL返回输出XML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将XML文件传递到WSDL(java中)并从同一WSDL返回输出XML?
在此先谢谢您.
How to pass a XML file to WSDL(which is in java) and return the output XML from the same WSDL?
Thanks in Advance.
推荐答案
Google可以为您提供几种方法.
我会在Web服务合同级别上将其视为字符串,但是如果使用了瘦客户端,则将其编码为base64,或者如果双方都有足够的资源,甚至将其压缩并编码为base64.
Google can give you several approaches.
I would treat it as string on the web service contract level, but encode it to base64 if a thin client is used, or even zip it and than encode it to base64 if there is plenty of resource available on both sides.
这篇关于如何将XML文件传递到WSDL(在Java中)并从同一WSDL返回输出XML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文