Skip to content

SPRX: Error pulling SOAP Service-Provider (INTF) #4140

Open

Description

@snap-ibr

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:
grafik
Whereas it's set to NORMAL in the original system:
grafik
I've implemented a simple calculator SOAP API as a testcase in my repo: https://github.com/snapIBR/abapgit_serv_provider.git

Activity

  1. christianguenter2 commented on Nov 5, 2020

    @christianguenter2
    Member

    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 pattern to normal
    image

    b) Interface pattern: Set a breakpoint in CL_PXNE_INTERFACE IF_PXN_CONFIGURATION~GET_INTERFACE_PATTERN then set pattern to 1
    image

    Maybe you can help identifying the root cause?

  2. snap-ibr commented on Nov 6, 2020

    @snap-ibr
    Author

    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.

  3. mbtools commented on Nov 5, 2021

    @mbtools
    Member

    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:

      METHOD zif_abapgit_object~deserialize.
    ...
        READ TABLE ls_webi-pvependpoint INDEX 1 INTO ls_endpoint.
        ASSERT sy-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*

  4. added
    ciFindings from CI test runs
    on May 2, 2022
  5. changed the title [-]Error pulling SOAP Service-Provider (SPRX/INTF)[/-] [+]SPRX: Error pulling SOAP Service-Provider (INTF)[/+] on May 4, 2022
  6. mbtools commented on May 11, 2022

    @mbtools
    Member
    • added the test repo to CI
    • switched the main language to English
    • update table serialization to latest (removes some diffs)

    https://github.com/abapGit-tests/SPRX_serv_provider

    Issue is still the same. WEBI object is not created at all, INTF object runs into error shown below

    image

  7. added a commit that references this issue on Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingciFindings from CI test runsserializationTranslate between object types and files

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions