Article

Error 11781 trying to consume a webservice

Information

 
Article Number000064526
EnvironmentProduct: OpenEdge
Version: All supported versions
OS: All supported platforms
Other: N/A
Question/Problem Description
When a SOAP request some errors are displayed  and can't consume a webservice.
 
Steps to ReproduceJust try to consume WS
Clarifying Information
- Consuming a third party Webservice
- Adding namespace prefix manually to one of the elements errors are reported plus another message "SERVER NOT CONNECTED",  for example: <thisprefx:thiselement> 
Error MessageError on WS: XML generated is not accepted
SERVER NOT CONNECTED
Malformed XML fragment: no namespace for element prefix at line and column (11781)
Defect/Enhancement Number
Cause
Missing namespace for the XML document contained in the SOAP request.
 
Resolution
Use CREATE-NODE-NAMESPACE method to add namespace URI, for example: 

hReq:CREATE-NODE-NAMESPACE(<nodename>, <namespace>, "thisprefx:thiselement", "element").
 
Workaround
Notes
Attachment 
Last Modified Date11/13/2015 1:23 AM


Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025