当然可以,例子你可以看看Axis自带的例子:axis\samples\attachments,里面有详细说明。当然,它的客户端是Java的,但是你要转换为Delphi也不难。
解决方案 »
- tomcat 发布war文件 无法运行
- session是什么时候被销毁的?
- Axis2返回List问题
- 急求高手帮忙解决问题呀,struts标签的问题,大家速度帮下忙呀!
- 请教有关hibernate自动建表问题,在线盼复
- 一个页面两个form的问题,郁闷几天了
- 使用Hibernate+Struts做Register保存时出现的%%%% Error Creating SessionFactory %%%%问题
- 菜鸟提问:如何通过先后两个页面收集数据,然后进行存进数据库?
- struts中jsp页面访问权限的问题
- 用pom下载的jar包在maven下无法打开
- xml字符串用sax解析时的问题!!请高手解答
- 真的很郁闷,大家指点迷津!!!
AXIS error
Sorry, something seems to have gone wrong... here are the details:Fault - ; nested exception is:
WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'urn:EchoAttachmentsService'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'urn:EchoAttachmentsService'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.:
faultActor:
faultNode:
faultDetail: 还有看了例子的调用方法的附件参数为DataHander,转变成wsdl却是复杂的数据类型,dephi无法使用。为什么参数不能是AttachmentPart?
究竟在axis调用方法时如何实现附件传输,我试了好几天都没解决,大家帮帮我。
我的环境是:jb8,tomcat4.12,axis1.1rc2.