0

I need to connect to a SOAP service, but I'm getting the error:

SOAP-ERROR: Parsing Schema: can't import schema from 'http://jedi:8280/foo/bar/?wsdl&resource=rlapi.xsd'

I've looked at the WSDL file, and contains:

<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>

While the url is completely different (http://www.foo.com)

I've tried http://www.foo.com/foo/bar/?wsdl&resource=rlapi.xsd which works fine, but I was wondering if this is something I'm able to set before I get in contact with the people who made the api.

4

1 に答える 1

0

これは、サプライヤーと話し合う必要があるようです。

WSDL はサービスの場所を定義しており、それは正しいはずです。

開発サーバー名がどこかのファイルに残っている可能性や、ローカル システムにホストを追加する必要がある可能性があります - 何でも可能です!

本当に必要な場合は、WSDL ファイルをコピーし、正しいと思われる場所に変更してから、リモート ファイルの代わりにそのファイルを読み込むことができます (仮定をテストするため)。問題についてのあなたの理解が正しいことを確認するためにサプライヤーに連絡してください。

彼らはインターネット上でランダムよりも多くの情報を持っているでしょう...

于 2013-11-13T16:52:14.337 に答える