我需要连接到 SOAP 服务,但出现错误:
SOAP-ERROR: Parsing Schema: can't import schema from 'http://jedi:8280/foo/bar/?wsdl&resource=rlapi.xsd'
我查看了 WSDL 文件,其中包含:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://rl.com/rlapi" schemaLocation="http://jedi:8280/foo/bar?wsdl&resource=rlapi.xsd"/>
</xsd:schema>
虽然网址完全不同(http://www.foo.com)
我试过http://www.foo.com/foo/bar/?wsdl&resource=rlapi.xsd效果很好,但我想知道这是否是我在与人们接触之前能够设置的东西谁制作了api。