Question
Belvnesheconombank
BY
Last activity: 22 Aug 2018 1:48 EDT
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.