cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Issue using XSD

deepika_raikode
Explorer
0 Kudos

Hi Experts,

I am facing an issue with the xsd files provided by the partner system.

In detail, it is proxy to web service scenario, where partner system has provided  few xsd files to be imported in PI.

I have succesfully imported them but while the same is being used in service interface and the same details are shared with ECC, then while trying to generate the proxy at ECC system, they are facing some errors. So, I created a data type similar to the structure of the xsd and used in the service interface, and now the proxy has been generated succesfully. But while trying to perform Message Mapping, a simple one-to-one mapping, I am getting the below error.

Please suggest some solution for solving this issue. I have not used any kind of UDFs in this mapping but still getting this error.

Best Regards,

Deepika Raikode.

Accepted Solutions (1)

Accepted Solutions (1)

fabian_mohr
Discoverer
0 Kudos

Hey Deepika,

I get the same error in Message Mapping.

Did you solve the Problem ?

regards,

Fabian

suchitatomar
Participant
0 Kudos

Hi Fabian,

Better to raise your query under new thread for getting quicker response with proper error message and screen shot if required 🙂

Regards

S Tomar

deepika_raikode
Explorer
0 Kudos

Hi Tomar,

In my case, there was issue in my XSD structure. When I requested partner to provide a new XSD, it worked. However, we get this error when there are too many attributes in the XSD and while we try to map all of them with the proxy structure.

Regards,

Deepika Raikode

Answers (3)

Answers (3)

RaghuVamseedhar
Active Contributor
0 Kudos

Deepika,

Can you please post screenshot of DT you have created.

iaki_vila
Active Contributor
0 Kudos

Hi Deepika,

What is your PI version?, there is an old note about XI 3.0   901112 - Message-Mapping has syntax error: too many constants

Regards.

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,


In detail, it is proxy to web service scenario, where partner system has provided  few xsd files to be imported in PI.

I have succesfully imported them but while the same is being used in service interface and the same details are shared with ECC, then while trying to generate the proxy at ECC system, they are facing some errors.

What is your error with the xsd? As for the second error, it looks like you need to raise it to SAP.

Regards,

Mark

deepika_raikode
Explorer
0 Kudos

Hi Mark,

Below is the error from ECC system using xsd in Service Interface.

Regards,

Deepika

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

Yes, this is true. You have to expand the recursion only to the level you need it to be otherwise it would result in an OOM and your system will crash.

Regards,

Mark

former_member182412
Active Contributor
0 Kudos

Hi Deepika,

I think in your WSDL one of the element type is referring to itself, so proxy recursion is not supported.

check below discussion and change the recursive field in the wsdl and your service interface also.

recursion in abap proxy class | SCN

I think it is the same problem for your mapping error.

Regards,

Praveen.

deepika_raikode
Explorer
0 Kudos

Hi Praveen,

In order to avoid the recursions, I have created a datatype without the recursions. BUt still, when am using this message type in mapping, I am getting the above mentioned java error.

For info, there are many atributes using used in this xsd. Is that be a cause of this error?