‎2018 Dec 12 6:24 PM
Hi Experts,
I have a problem with a web service that a need to change the Envelope and change a entry in ABAP. this is not PI, its proxy access to a external webservice consumed in SAP.
This is the error Im receiving testing the WebService via F8 function and sending the envolope bellow (same works in SOAPUI tool).
SoapFaultCode:4 Unmarshalling Error: Unable to create an instance of de.haenel.haenelsoft.data.orm.entity.strategy.AbstractStoreEntity
My questions are:
1. Why is not working with this code in test (F8)? returning the error above Unable to create an instance...
2. After put this working in the test of the webservice. How to add this part of the Envelope via ABAP Code?
<storeStrategy xsi:type="n0:clearStrategy"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
Code I used to test the envelope using the F8 direct in the WebService implementation.
<n0:save xmlns:n0="http://main.jws.com.hanel.de/items">
<itemDefinition>
<identifier>Räumen-Artikel</identifier> <name>Soap Artikel</name>
<description/> <group/> <measure>Stueck</measure>
<quantAttributeSettings/> <reorderPoint>0</reorderPoint>
<storageZones/> <dedicatedStorageSpacesAllowed>false</dedicatedStorageSpacesAllowed>
<itemAttributes/>
<storeStrategy xsi:type="n0:clearStrategy"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<fleeting>false</fleeting> <locks/>
<extensions/>
<dedicatedStorageSpaces/> </itemDefinition> <update>true</update>
</n0:save>