From 7fe2849c3faeba1064e7a71e266d651345a3b801 Mon Sep 17 00:00:00 2001 From: pro Date: Fri, 23 Jan 2026 17:35:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:SOAP=20=EB=84=A4=EC=9E=84=EC=8A=A4=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=8A=A4=20=EB=B0=8F=20SOAPAction=20URL=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - SOAPAction: http://ws.baroservice.com/ 사용 - XML 네임스페이스: http://ws.baroservice.com/ 사용 --- app/Http/Controllers/Barobill/HometaxController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Barobill/HometaxController.php b/app/Http/Controllers/Barobill/HometaxController.php index 5bdee3df..55aa0ba9 100644 --- a/app/Http/Controllers/Barobill/HometaxController.php +++ b/app/Http/Controllers/Barobill/HometaxController.php @@ -595,7 +595,7 @@ private function callSoap(string $method, array $params = []): array ]) ->withHeaders([ 'Content-Type' => 'text/xml; charset=utf-8', - 'SOAPAction' => 'https://www.baroservice.com/' . $method, + 'SOAPAction' => 'http://ws.baroservice.com/' . $method, ]) ->withBody($soapXml, 'text/xml') ->timeout(30) @@ -634,7 +634,7 @@ private function buildSoapRequest(string $method, array $params): string } return ' - + ' . $paramsXml . ' @@ -660,7 +660,7 @@ private function parseSoapResponse(string $xmlResponse, string $method): array // 네임스페이스 등록 $xml->registerXPathNamespace('soap', 'http://schemas.xmlsoap.org/soap/envelope/'); - $xml->registerXPathNamespace('bar', 'https://www.baroservice.com/'); + $xml->registerXPathNamespace('bar', 'http://ws.baroservice.com/'); // 결과 노드 찾기 $resultNodes = $xml->xpath("//bar:{$method}Response/bar:{$method}Result");