Skip to Content
0

Importing an external definition into PI

May 28, 2017 at 04:42 AM

92

avatar image

I have the following WSDL that represents a business partner that needs to be imported into PI:

http://es-workplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/get_wsdl.xml?packageid=E42EA5C4BC46A3F1BEA5005056A500B9&id=ADAE733C8E46323F8FE23CE71DC8E411

(please copy and paste this URL to access access - the curly braces and encoded in the href which makes the URL invalid when clicking on it).

It does not have a top complex type that uses all of the defined types and it does not have a message element defined. It can be imported into PI but cannot be used in the interface or the message mapping. My question is, what is the best approach to resolve this and be able to use this WSDL?

My solution was going to be to convert this to XSD, create a top level complex type, allowing this to be a large flat structure, and create an element of the parent-most type to have a message, usable in interfaces and mappings. In order to instantiate all the types i would need to write a script to populate the content of the definition of the parent type. Is this the best approach?

Thanks.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Apu Das May 28, 2017 at 04:13 PM
0

Not able to open your wsdl URL.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

It looks like the round brackets in the href are HTML encoded to %28 and %29, which makes the URL invalid, indeed.

If you were to copy and paste the posted ULR you would be able to access it.

Thanks for pointing that out.

0
Sanjeev Shekhar Singh May 28, 2017 at 11:37 PM
0

Hi Leo,

Interestingly, this looks like a SAP delivered standard data type. If you look under standard namespace of (http://sap.com/xi/APPL/Global2) of SWCV SAP APPL <X.XX>, you will notice a standard DT with the same name as the root element in this WSDL(BPERPCrteReq_sBP). If that is what you are looking for, you can directly use the standard DT for your usage, or may be even copy it over to a custom SWCV depending on the requirement.

Regards,,

Sanjeev

Share
10 |10000 characters needed characters left characters exceeded