Skip to Content
Product Information
Author's profile photo Hoang Vu

Error when importing SOAP API WSDL into SAP PO

Hi everyone,

I had several customers struggle with following issue:

When importing a WSDL of a SOAP API into SAP PO, they are getting an error where SAP PO denies the import due to the policy elements.

If you are having this issue, maybe this blog can help you out 🙂

Obviously the long term goal is that all APIs should be importable into SAP PO, but until then, this little workaround might help you.

I have done below example with the Journal Entry asynchronous SOAP API

Steps:

1. Open your WSDL in a tool such as Notepad++ or Atom, where you can edit the WSDL structure

2. At the top of the WSDL you will find a node called “UsingPolicy”, set the parameter wsdl:required from “true” to “false”

2019-06-12_15-41-08.jpg

3. Then go to end of your WSDL, you should find several places, where a policy element is being used. You need to comment these policy elements out

2019-06-12_15-42-44.jpg

After these steps I was able to import the WSDL successfully as a service interface into SAP PO!

I have uploaded my example here for your reference: JOURNALENTRYCREATEREQUESTCONFI_withoutpolicies.wsdl

Hope this helps,

Hoang

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Cassiano Lins
      Cassiano Lins

      Very detailed, thanks !!