Consultor Eletrônico



Kbase P134116: The WSDL Analyzer fails to parse a WSDL document which does not contain the service definition
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/2/2008
Status: Verified

SYMPTOM(s):

The WSDL Analyzer fails to parse a WSDL document which does not contain the service definition

The WSDL Analyzer is unable to parse a WSDL document which does not contain the service definition

The WSDL Analyzer throws an error when it tries to parse a WSDL document which does not contain the service definition

Cannot generate documentation: WSDL "Test.wsdl" contains no service definitions.

FACT(s) (Environment):

OpenEdge 10.0x
OpenEdge 10.1x
All Supported Operating Systems

CAUSE:

This is a known limitation. We currently cannot process a WSDL file that does not contain any service elements, which is referred to as a "binding-only" WSDL.

FIX:

As a workaround use a local copy of the WSDL document and manually add a service definition to the WSDL document, for example:
<wsdl:service name="ExchangeWebService">
<wsdl:port name="ExchangeWebPort" binding="tns:ExchangeServiceBinding">
<soap:address
location="https://myserver/EWS/exchange.asmx" />
</wsdl:port>
</wsdl:service>
Note that this is just an example, it might have to be adjusted for your own WSDL document.