My Oracle Support Banner

OSB REST HTTP Verb PATCH : cannot find symbol @PATCH (Doc ID 2505648.1)

Last updated on MAY 10, 2023

Applies to:

Oracle Service Bus - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.0.0 version, OSB Core Functionality

Not able to Virtualize PATCH method in OSB

We have a requirement to virtualize one of application's seeded service through OSB. But during virtualization we observed that the business service has PATCH method. But during virtualization we are not able to create the proxy service with PATCH method as this option is not available in JDeveloper (attached the screen shot).

Also I tried to change the method as PATCH in the WADL file manually and tried to deploy the same. But below error I am encountering.

Compile failed: /_OSB_REST_Resource_2070528271904652592.java:36: error: cannot find symbol
  @PATCH
  ^
  symbol: class PATCH
  location: class _OSB_REST_Resource_2070528271904652592
1 error

[05:01:53 PM] Activation of publish session failed for:GOSIServiceBusApplication

Compile failed: /_OSB_REST_Resource_2070528271904652592.java:36: error: cannot find symbol
  @PATCH
  ^
  symbol: class PATCH
  location: class _OSB_REST_Resource_2070528271904652592
1 error
[05:01:53 PM] Compile failed: /_OSB_REST_Resource_2070528271904652592.java:36: error: cannot find symbol
  @PATCH
  ^
  symbol: class PATCH
  location: class _OSB_REST_Resource_2070528271904652592
1 error



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.