作者airen (长大了)
站内java
标题[问题] WSDL4J用法
时间Thu Mar 27 00:25:56 2008
想请问一下
我用了WSDL4J来解析WSDL文件
但是文件若有import到其他文件,如
<xsd:import namespace="
http://service/" schemaLocation="
http://blah" />
要怎麽得到import的文件的资讯呢?
我有试着使用Interface Definition下的getImports()来找到import文件,
可是不知为什麽内容都是空的
想问有没有前辈有用过的呢,可以给我指点吗? 非常感谢! >"<
--
____________________________________________
▕ ▄▄▄▄ ▕
▕ ╲ / ▕
▕ ˙˙ ▕
▕ ╯ BON JOVI HAVE A NICE DAY ▕
▕ ▄▄▄▄
http://www.wretch.cc/user/airen▕
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.107.72
1F:→ airen:我发现是因为我的Web Service所import的location不是WSDL 03/28 19:46
而是XSD档,若用一般WSDL则不会有问题。
想请问那要怎麽处理import XSD档的WSDL呢?
※ 编辑: airen 来自: 140.112.107.72 (03/28 19:48)