Question

1
Replies
640
Views
Artsiom_Sukhanau Member since 2014 17 posts
Belvnesheconombank
Posted: 2 years ago
Last activity: 2 years 2 months ago
Closed
Solved

org.xml.sax.SAXParseException; cvc-elt.1: Cannot find the declaration of element

Hello!

When I try to invoke external service through connector I get the error "com.pega.pegarules.pub.services.RemoteApplicationException: SOAP service failed
...
Caused by:
com.pega.apache.axis2.AxisFault: org.xml.sax.SAXParseException; cvc-elt.1: Cannot find the declaration of element 'putPotentialDeal'."

Seems like this problem associated with incorrect namespace. But where I need to set a correct namespace value? I had tried to set correct namespace "http://test.by/DBOService" in few elements in Namespace field and Type namespace field. Also I had tried to set this namespace in root element node settings. And this solution didn't work too.

May be I need to place XSD scheme in "/opt/IBM/prpcfiles/prtemp/ServerName/StaticContent/global/ServiceExport" and set value "file://web:/StaticContent/global/ServiceExport/DBO_service.xsd" in Scheme URL field on the XML tab of the Parse XML rule? I had tried this, but it didn't help me too.

Using SOAP UI utility I get test XML with correct scheme (you can find it in attached file named SOAP_UI.txt).

But when I use Log-Message method with @getXMLOfPage(myStepPage) function I get another message (you can see it in attached file named MyStepPage.txt)

Also you can see Log-file in attached file named ConnectorErrorLog.txt

Thanks in advance!

P.S. If you need additional information about this issue please tell me.

Data Integration
Moderation Team has archived post
Share this page LinkedIn