Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SOAP change the Envelope Error instance Class

Former Member
0 Likes
526

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>

0 REPLIES 0