Skip to Content
0
Nov 23, 2012 at 03:29 AM

ME60 - Return a serialized parent SFC information with webservice

33 Views

Hi all,

I have a parent SFC that has been serialized and the status has been changed to Invalid, I want to return this serialized SFC step information using SfcService - FindStateByBaiscData, but there is the error returned from the response message, I am not sure the error means this doesn't support or some bug behind of this webservice?

Here is my sample:

Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME" xmlns:gdt="http://sap.com/xi/SAPGlobal/GDT">

<soapenv:Header/>

<soapenv:Body>

<me:SfcStateRequest_sync>

<me:SfcStateRequest>

<me:SiteRef>

<me:Site>TEST</me:Site>

</me:SiteRef>

<me:SfcRef>

<!--You may enter the following 2 items in any order-->

<me:Sfc>T_LEON_TEST_006</me:Sfc>

<!--Optional:-->

<me:SiteRef>

<me:Site>TEST</me:Site>

</me:SiteRef>

</me:SfcRef>

<me:includeSFCStepList>t</me:includeSFCStepList>

</me:SfcStateRequest>

</me:SfcStateRequest_sync>

</soapenv:Body>

</soapenv:Envelope>

Response:

<SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SOAP-ENV:Body>

<SOAP-ENV:Fault>

<faultcode>SOAP-ENV:Client</faultcode>

<faultstring>java.lang.NullPointerException: while trying to invoke the method java.lang.Object.getClass() of an object loaded from local variable 'convertedValue'</faultstring>

<detail>

<yq1:com.visiprise.frame.mapping.bean.BeanMappingException xmlns:yq1="http://sap-j2ee-engine/client-runtime-error">java.lang.NullPointerException: while trying to invoke the method java.lang.Object.getClass() of an object loaded from local variable 'convertedValue'</yq1:com.visiprise.frame.mapping.bean.BeanMappingException>

</detail>

</SOAP-ENV:Fault>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Thanks a lot and best regards,

Leon