cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.Exception error during XML validation by Integration Engine

Former Member
0 Kudos

Hi professionals,

We are trying to use XML validation by the Integration Engine.

Step 1:

We created an appropriate directory structure where we had to store the structure (xsd).

\usr\sap\<system id>\SYS\global\xi\runtime_server\A\B\C\D\E\F

A - validation

B - schema

C - GUID of the SWCV where service interface reside.

D - Repository Namespace where Service Interface is created.

E - Service Interface Name

F - Repository Namespace where Message Type or External Definition is

assigned.

Step 2:

We also changed the references in the xsd to exclude all the subdirectory references.

e.g folder1/folder2/abc.xsd is become abc.xsd only

Step 3:

We stored both xsdu2019s (schema xsd and referenced xsd to the directory created in step 1)

Step 4:

We changed the directory and xsdu2019s permissions to 777 (we chose 777 for testing purpose).

Step 5:

We changed the property schema validation of the sender agreement to Validation by Integration Engine.

Step 6:

We checked RFC destination for AI_VALIDATION_JCOSERVER on AS ABAP and AS Java and establish an successful connection test.

RESTULTS

The result of those steps is an error message in the message monitor of PI with the error tekst:

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="XML_VALIDATION_INB">CX_XMS_SYSERR_VALIDATION</SAP:Code>

<SAP:P1>java.lang.Exception</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>not used at the moment.</SAP:AdditionalText>

<SAP:Stack>System error occurred during XML validation</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Please assist in how to solve this issueu2026.

Regards, Sjaak.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos

I would suggest follow Appendix A to know the exact path and since you have one XSD referring other XSD check the steps mentioned in Appendix B .... there seems to be some error in referencing ...Appendix A and B are on page 12 & 13 of this document:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06dff94-9913-2b10-6f82-9717d9f83...

Regards,

Abhishek.

Former Member
0 Kudos

Hi Abhishek,

Thank you for your answer.

We followed the steps during the implementation of xml validation by Integration Engine.

The xsdu2019s do not contain an import namespace.

Created directories are OK.

Regards, Sjaak.

Former Member
0 Kudos

Hi, Sjaak.

Have you find a solution for this problem?

I'm having the same issue....

thanks,

Carme

Former Member
0 Kudos

Hi,

Error looks like related to the connection between ABAP and Java stacks....

Check the RFC destination connection AI_RUNTIME_JCOSERVER in SM59..

if there is any error then need to restart the java stack...

HTH

Rajesh

Former Member
0 Kudos

Hi Rajesh,

Thanks for your answer.

We checked RFC connection AI_RUNTIME_JCOSERVER and establish a successful connection test.

If there are other ideau2019s I like them to know.

Regards,

Sjaak.