Consultor Eletrônico



Kbase P134206: The OpenEdge Web Service client fails to parse a WSDL document which does not contain the service de
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/2/2008
Status: Unverified

SYMPTOM(s):

The OpenEdge Web Service client fails to parse a WSDL document which does not contain the service definition

The OpenEdge Web Service client is unable to parse a WSDL document which does not contain the service definition

The OpenEdge Web Service client throws an error when trying to parse a WSDL document which does not contain the service definition

Internal error locating Service and Port for Binding <namespace> (11739)

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.