Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soap Request and Response are empty in client-requests Payload and response #1520

Open
GaneshKandu opened this issue Sep 17, 2024 · 2 comments

Comments

@GaneshKandu
Copy link

Telescope Version

^5.0

Laravel Version

^10.8

PHP Version

8.2.0

Database Driver & Version

No response

Description

I am making this soap request, its successful but i am getting empty data in poyload and response

Payload section

[
]

Response section

HTML Response

My php code

		$response = Http::withHeaders([
			'Content-Type' => 'application/xml',
			'Ocp-Apim-Subscription-Key' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
		])
		->withBody(
			view('rgi.asia.quote',compact(
				'travel_start_date',
				'travel_end_date'
			))->render()
			,'text/xml'
		)
		->post('http://domain.com/api')->body();

               dd($response);

Please check and fix

Steps To Reproduce

install laravel
install telescope
write code for soap request
make soap request
check request and response in your soap

Copy link

Thank you for reporting this issue!

As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.

If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.

Thank you!

@ev-gor
Copy link

ev-gor commented Oct 31, 2024

This is not a bug. Telescope doesn't recognize and parse XML that SOAP is based on. I'm not sure if we should implement such support, as SOAP is not a very popular protocol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants