diff --git a/modules/claims_api/app/services/claims_api/power_of_attorney_request_service/orchestrator.rb b/modules/claims_api/app/services/claims_api/power_of_attorney_request_service/orchestrator.rb
index 7d182f35762..c94493de433 100644
--- a/modules/claims_api/app/services/claims_api/power_of_attorney_request_service/orchestrator.rb
+++ b/modules/claims_api/app/services/claims_api/power_of_attorney_request_service/orchestrator.rb
@@ -10,7 +10,8 @@ def initialize(veteran_participant_id, form_data, claimant_participant_id = nil)
end
def submit_request
- ClaimsApi::PowerOfAttorneyRequestService::TerminateExistingRequests.new(@veteran_participant_id).call
+ # Disabling logic to terminate existing requests until future permanent fix for readAllVeteranRepresentatives
+ # ClaimsApi::PowerOfAttorneyRequestService::TerminateExistingRequests.new(@veteran_participant_id).call
ClaimsApi::PowerOfAttorneyRequestService::CreateRequest.new(@veteran_participant_id, @form_data,
@claimant_participant_id).call
end
diff --git a/modules/claims_api/lib/bgs_service/vnp_proc_service_v2.rb b/modules/claims_api/lib/bgs_service/vnp_proc_service_v2.rb
index 11b17ce75c8..526341a1944 100644
--- a/modules/claims_api/lib/bgs_service/vnp_proc_service_v2.rb
+++ b/modules/claims_api/lib/bgs_service/vnp_proc_service_v2.rb
@@ -3,17 +3,22 @@
module ClaimsApi
class VnpProcServiceV2 < ClaimsApi::LocalBGS
PROC_TYPE_CD = 'POAAUTHZ'
+ PROC_STATE = 'Complete'
def bean_name
'VnpProcWebServiceBeanV2/VnpProcServiceV2'
end
def vnp_proc_create
+ current_date = Time.current.iso8601
body = Nokogiri::XML::DocumentFragment.parse <<~EOXML
-
- #{PROC_TYPE_CD}
-
+ 0
+ #{PROC_TYPE_CD}
+ #{PROC_STATE}
+ #{current_date}
+ #{current_date}
+ #{current_date}
EOXML
diff --git a/modules/claims_api/spec/lib/claims_api/bgs/vnp_proc_service_v2_spec.rb b/modules/claims_api/spec/lib/claims_api/bgs/vnp_proc_service_v2_spec.rb
index 8d4dbce478f..11c4a331829 100644
--- a/modules/claims_api/spec/lib/claims_api/bgs/vnp_proc_service_v2_spec.rb
+++ b/modules/claims_api/spec/lib/claims_api/bgs/vnp_proc_service_v2_spec.rb
@@ -10,7 +10,7 @@
it 'responds with a vnp_proc_id' do
VCR.use_cassette('claims_api/bgs/vnp_proc_service_v2/vnp_proc_create') do
result = subject.vnp_proc_create
- expect(result[:vnp_proc_id]).to eq '29637'
+ expect(result[:vnp_proc_id]).to eq '3860210'
end
end
diff --git a/spec/support/vcr_cassettes/claims_api/bgs/vnp_proc_service_v2/vnp_proc_create.yml b/spec/support/vcr_cassettes/claims_api/bgs/vnp_proc_service_v2/vnp_proc_create.yml
index dc448a7fc5c..febd5716749 100644
--- a/spec/support/vcr_cassettes/claims_api/bgs/vnp_proc_service_v2/vnp_proc_create.yml
+++ b/spec/support/vcr_cassettes/claims_api/bgs/vnp_proc_service_v2/vnp_proc_create.yml
@@ -1,177 +1,8 @@
---
http_interactions:
-- request:
- method: get
- uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL
- body:
- encoding: US-ASCII
- string: ''
- headers:
- User-Agent:
- - Faraday v2.9.0
- Accept-Encoding:
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
- Accept:
- - "*/*"
- response:
- status:
- code: 200
- message: OK
- headers:
- Date:
- - Mon, 25 Mar 2024 16:05:36 GMT
- Server:
- - Apache
- X-Frame-Options:
- - SAMEORIGIN
- Transfer-Encoding:
- - chunked
- Content-Type:
- - text/xml;charset=utf-8
- Strict-Transport-Security:
- - max-age=16000000; includeSubDomains; preload;
- body:
- encoding: UTF-8
- string: |-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- recorded_at: Mon, 25 Mar 2024 16:05:36 GMT
- request:
method: post
- uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2
+ uri: "/VnpProcWebServiceBeanV2/VnpProcServiceV2"
body:
encoding: UTF-8
string: |
@@ -183,7 +14,7 @@ http_interactions:
VAgovAPI
- 192.168.0.252
+ 127.0.0.1
281
VAgovAPI
xUid
@@ -193,19 +24,20 @@ http_interactions:
-
-
-
- POAAUTHZ
-
+
+ 0
+ POAAUTHZ
+ Complete
+ 2025-03-11T16:36:27Z
+ 2025-03-11T16:36:27Z
+ 2025-03-11T16:36:27Z
-
-
+
headers:
User-Agent:
- - Faraday v2.9.0
+ - ""
Content-Type:
- text/xml;charset=UTF-8
Host:
@@ -222,15 +54,11 @@ http_interactions:
message: OK
headers:
Date:
- - Mon, 25 Mar 2024 16:05:37 GMT
+ - Tue, 11 Mar 2025 16:36:28 GMT
Server:
- Apache
X-Frame-Options:
- SAMEORIGIN
- X-Oracle-Dms-Ecid:
- - 756dd60b-d519-43cb-a39c-ac73ec3b9906-0000009e
- X-Oracle-Dms-Rid:
- - '0'
Transfer-Encoding:
- chunked
Content-Type:
@@ -242,6 +70,6 @@ http_interactions:
string: rO0ABXdKABR3ZWJsb2dpYy5hcHAudm5wLWVhcgAAANYAAAAjd2VibG9naWMud29ya2FyZWEuU3RyaW5nV29ya0NvbnRleHQABTIuMC44AAA=29637
- recorded_at: Mon, 25 Mar 2024 16:05:38 GMT
-recorded_with: VCR 6.2.0
+ xmlns:ns0="http://procService.services.v2.vonapp.vba.va.gov/">3860194POAAUTHZComplete2025-03-11T16:36:27Z2025-03-11T16:36:27Z2025-03-11T16:36:27Z
+ recorded_at: Tue, 11 Mar 2025 16:36:28 GMT
+recorded_with: VCR 6.3.1