on 02-23-2016 10:21 PM
Hi,
I am trying to import a WSDL in ESR as External Definition and getting the below error while importing,
Unable to convert imported document to WSDL
Reason:
Element "Policy" is not permitted in the "/definitions/portType("ManageInstalledBaseIn")" elementCheck selected category
Any help on fixing this issue is highly appreciated.
Attaching a part of the WSDL as i am not able to paste the complete WSDL
<wsdl:portType name="ManageInstalledBaseIn">
<wsdl:documentation>
<sapdoc:sapdoc xmlns:sapdoc="urn:sap:esi:documentation">
<sapdoc:docitem applicationComponent="LOD-LE-IBA"/>
</sapdoc:sapdoc>
</wsdl:documentation>
<wsp:Policy>
<wsp:PolicyReference URI="#IF_IF_ManageInstalledBaseIn"/>
</wsp:Policy>
<wsdl:operation name="CheckMaintainItemTextAsBundle">
<wsp:Policy>
<wsp:PolicyReference URI="#OP_IF_OP_CheckMaintainItemTextAsBundle"/>
</wsp:Policy>
<wsdl:input message="tns:InstalledBaseItemTextRequestBundleCheckMaintainQuery_sync"/>
<wsdl:output message="tns:InstalledBaseItemTextRequestBundleCheckMaintainResponse_sync"/>
<wsdl:fault name="StandardFaultMessage" message="tns:StandardFaultMessage"/>
</wsdl:operation>
<wsdl:operation name="MaintainItemProductAsBundle">
<wsp:Policy>
<wsp:PolicyReference URI="#OP_IF_OP_MaintainItemProductAsBundle"/>
</wsp:Policy>
<wsdl:input message="tns:InstalledBaseItemProductBundleMaintainRequest_sync"/>
<wsdl:output message="tns:InstalledBaseItemBundleMaintainConfirmation_sync"/>
<wsdl:fault name="StandardFaultMessage" message="tns:StandardFaultMessage"/>
</wsdl:operation>
<wsdl:operation name="CheckMaintainBundle">
<wsp:Policy>
<wsp:PolicyReference URI="#OP_IF_OP_CheckMaintainBundle"/>
</wsp:Policy>
<wsdl:input message="tns:InstalledBaseRequestBundleCheckMaintainQuery_sync"/>
<wsdl:output message="tns:InstalledBaseRequestBundleCheckMaintainResponse_sync"/>
<wsdl:fault name="StandardFaultMessage" message="tns:StandardFaultMessage"/>
</wsdl:operation>
<wsdl:operation name="MaintainBundle">
<wsp:Policy>
<wsp:PolicyReference URI="#OP_IF_OP_MaintainBundle"/>
</wsp:Policy>
<wsdl:input message="tns:InstalledBaseBundleMaintainRequest_sync"/>
<wsdl:output message="tns:InstalledBaseBundleMaintainConfirmation_sync"/>
<wsdl:fault name="StandardFaultMessage" message="tns:StandardFaultMessage"/>
</wsdl:operation>
<wsdl:operation name="MaintainItemTextBundle">
<wsp:Policy>
<wsp:PolicyReference URI="#OP_IF_OP_MaintainItemTextBundle"/>
</wsp:Policy>
<wsdl:input message="tns:InstalledBaseItemTextBundleMaintainRequest_sync"/>
<wsdl:output message="tns:InstalledBaseItemBundleMaintainConfirmation_sync"/>
<wsdl:fault name="StandardFaultMessage" message="tns:StandardFaultMessage"/>
</wsdl:operation>
<wsdl:operation name="CheckMaintainItemProductAsBundle">
<wsp:Policy>
<wsp:PolicyReference URI="#OP_IF_OP_CheckMaintainItemProductAsBundle"/>
</wsp:Policy>
<wsdl:input message="tns:InstalledBaseItemProductRequestBundleCheckMaintainQuery_sync"/>
<wsdl:output message="tns:InstalledBaseItemProductRequestBundleCheckMaintainResponse_sync"/>
<wsdl:fault name="StandardFaultMessage" message="tns:StandardFaultMessage"/>
</wsdl:operation>
</wsdl:portType>
Hi Sherin,
The policy tag is not supported in PI. you need to comment the policy tag and then import the WSDL.
refer the below discussion
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Old, but in case somebody comes across this today: You only would have needed to remove the policy tags under the node "PortType" (between each <wsdl:portType> and </wsdl:portType>).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.