문제

I have WSO2 ESB and WSO2 GREG running with registry being mounted to ESB instance.

While trying to create Loging proxy service I picked up the WSDL from registry. The WSDL has a schema import which it depends on. However ESB fails to resolve the schema location trying to find it on the local FS.

Screen here

Logs here.

Can this be overcame? Or that's another bug for WSO2?

Thanks, Vladimir.

도움이 되었습니까?

해결책

Use exactly the same "SchemaLocation" attribute value used in your WSDL in the "SchemaLocation" attribute of the "resource" element of the "publishWSDL" option.

For example, if the WSDL has a the schema imported as,

<schema namespace="some_namespace" schemaLocation="./TestSchema.xsd">

Then the "schemaLocation" attribute of the "resource" tag should also have the same as mentioned below.

<resource schemaLocation="./TestSchema.xsd" ...>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top