Consultor Eletrônico



Kbase P182533: Error "missing a tag" is returned when consuming a WebService
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/02/2011
Status: Unverified

SYMPTOM(s):

Error "missing a tag" is returned when consuming a WebService

User error: 500 Internal Application Error - Method <name> - Tag Auth was not entered

SOAP Spy returns HTTP Response 200

Target NameSpace is included in SET-ATTRIBUTE when creating ROOT node.

FACT(s) (Environment):

SOAP UI returns same application error using SOAP request shown in SOAP Spy
User code generates complete XML request
Code doesn't follow bprowsdldoc suggested functions to consume WebService
Windows
OpenEdge 10.2A

CAUSE:

Parameter value in SET-ATTRIBUTE method when creating a SOAP request doesn't match case used in the WSDL defined for Target NameSpace URL.

FIX:

Code consuming WebService should match URL (case sensitive) defined in the WSDL for targetNamespace URL.