cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy Objects Re-usability

Former Member
0 Kudos

Dear Experts,

Case

I'm creating 2 proxies from 2 different WSDL files where data types for both WSDL files are referencing the same XSD file. so I have the following:
WSDL_1: has an import tag for the below XSD, I provide methods 1 and 2 here.
WSDL_2: has an import tag for the below XSD, I provide methods 3 and 4 here.
XSD: both above proxies use the same complex and simple data types.

Problem

when I generate the proxies in ERP, I'm having different structures for the complex types I have!!! though in the WSDL and XSD it is only one complex data type with one namespace. so in the first proxy I have ZPRE_OBJECT and in the second proxy ZPRE_OBJECT1.

Requirement

I need to have the same object used in the 2 proxies. Is it possible to use the same object in both proxy? objects with the same namespace should not be regenerated is already exists but the ERP proy generation is re-creating them.

I can attach my WSDL and XSD files if required.

Thanks for your help.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Samir,

This is not possible. As Ambrish already stated, for each proxy separate data types are created in the ABAP backend system. It never uses the same data types even if you did so in the ESR during design of your PI scenarios.

Best Regards

Harald

ambrish_mishra
Active Contributor
0 Kudos

Hi Samir,

Can you please explain your design.

AFAIK, the objects are generated with unique names for different proxy objects.

Ambrish