You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pulling a package containing a service-provider the deserialization of the service interface fails.
In zcl_abapgit_object_intf->deserialize_proxy an exception with the following message is raised: '' is not valid for 'operation pattern'. Expected values: NORMAL
The problem may also be with the creation of the service provider itself, the pattern for the methods isn't set:
Whereas it's set to NORMAL in the original system:
I've implemented a simple calculator SOAP API as a testcase in my repo: https://github.com/snapIBR/abapgit_serv_provider.git
It seems the webservice profiles, which are used to derive the patterns, would be created via WEBI, but since the webservice was generated from a WSDL abapGit relies solely on SPRX-objects.
Unfortunately it seems like cl_proxy_data=>db_save doesn't offer any possibility to set the parameters.
The issue is related to the WEBI object which is not deserialized properly. I fixed a few things for WEBI in #5106. However, due to the following, the WEBI object is never created:
METHODzif_abapgit_object~deserialize.
...
READ TABLE ls_webi-pvependpoint INDEX1INTO ls_endpoint.
ASSERTsy-subrc=0.
IF ls_endpoint-auto_generated =abap_true.
" handled by SPRX.RETURN.
ENDIF.
The missing information about interface/operation pattern and interface security level is actually included in the WEBI serialized object in ls_webi-pwssoapprop. If you edit it manually, you can find the data in table WSSOAPPROP. Here are some of the entries:
ZZABAPGIT_CALC_WS A http://www.sap.com/webas/630/soap/features/authentication/ XIPR 0001 AuthenticationLevel None PRF_DT_IF_SEC_NO
ZZABAPGIT_CALC_WS A http://www.sap.com/webas/630/soap/features/session/ XIPR 0001 enableSession false PRF_DT_IF_COM_STATELESS
ZZABAPGIT_CALC_WS A http://www.sap.com/webas/630/soap/features/transportguarantee/ XIPR 0001 Level None PRF_DT_IF_SEC_NO
ZZABAPGIT_CALC_WS A http://www.sap.com/webas/640/soap/features/messageId/ XIPR 0001 enableMessageId true PRF_DT_IF_COM_STATELESS
I think we have to remove the if above and figure out how to deserialize this (SOAP Application > SOAP Feature > SOAP Property). Related classes and interfaces: CL/IF_WS_MD_WSD*
Activity
christianguenter2 commentedon Nov 5, 2020
I had similiar erros when dealing with other proxy objects. Couldn't detect the root cause though.
You can try patching it manually in the debugger.
a) Operation pattern: Set a breakpoint in CL_PXNE_OPERATION IF_PXN_OPERATION_CONFIG~GET_OPERATION_PATTERN then set

patterntonormalb) Interface pattern: Set a breakpoint in CL_PXNE_INTERFACE IF_PXN_CONFIGURATION~GET_INTERFACE_PATTERN then set

patternto1Maybe you can help identifying the root cause?
snap-ibr commentedon Nov 6, 2020
It seems the webservice profiles, which are used to derive the patterns, would be created via WEBI, but since the webservice was generated from a WSDL abapGit relies solely on SPRX-objects.
Unfortunately it seems like
cl_proxy_data=>db_savedoesn't offer any possibility to set the parameters.mbtools commentedon Nov 5, 2021
The issue is related to the WEBI object which is not deserialized properly. I fixed a few things for WEBI in #5106. However, due to the following, the WEBI object is never created:
The missing information about interface/operation pattern and interface security level is actually included in the WEBI serialized object in ls_webi-pwssoapprop. If you edit it manually, you can find the data in table
WSSOAPPROP. Here are some of the entries:I think we have to remove the if above and figure out how to deserialize this (SOAP Application > SOAP Feature > SOAP Property). Related classes and interfaces:
CL/IF_WS_MD_WSD*[-]Error pulling SOAP Service-Provider (SPRX/INTF)[/-][+]SPRX: Error pulling SOAP Service-Provider (INTF)[/+]mbtools commentedon May 11, 2022
https://github.com/abapGit-tests/SPRX_serv_provider
Issue is still the same.
WEBIobject is not created at all,INTFobject runs into error shown belowSPRX: Fix exists, active, delete