Consultor Eletrônico



Kbase P113944: The Proxy Generator returns error 7301 when entering a relative URI for the Web Service Namespace
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/3/2006
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1A
Web Services

SYMPTOM(s):

The Proxy Generator returns error 7301 when entering a relative URI for the Namespace

The Proxy Generator returns error 7301 when entering a simple Namespace

The value specified in the Namespace field is invalid. It is an invalid format or contains restricted characters and/or reserved words. (7301)

Invalid URI: The format of the URI could not be determined.

The same simple Namespace used to work fine in previous OpenEdge versions

CAUSE:

The requirements of the Namespace for the Web Services proxy in the Proxy Generator was changed in OpenEdge 10.1A to comply with the W3C recommendation of only allowing an absolute URI for a Namespace, so relative URIs are not allowed.

FIX:

You now need to use a fully qualified name of type absolute URI as a Namespace.
A URI is either a URN or a URL, and both have a specific syntax.
For example, instead of using "MyNamespace" as the Namespace, you now need to use "urn:MyNamespace".