Comments (6)
I'm on SOAP 1_2
from laravel-soap.
@ElRochito Thanks for the report. I try to look into it. So do i see it right when you use SOAP 1_2 you dont get the action returened any more in the header ?
Well i think this right behavior. I explain it to you:
Header in SOAP 1_1 always look like this:
$headers = [];
$headers['Content-Length'] = (string) $this->soapMessage->getSize();
$headers['SOAPAction'] = $this->soapAction;
$headers['Content-Type'] = 'text/xml; charset="utf-8"';
and SOAP 1_2
$headers = [];
if ($this->httpMethod !== 'POST') {
$headers['Accept'] = 'application/soap+xml';
return $headers;
}
$headers['Content-Length'] = (string) $this->soapMessage->getSize();
$headers['Content-Type'] = 'application/soap+xml; charset="utf-8"'.'; action="'.$this->soapAction.'"';
so in SOAP 1_2 the soap action is under Content-Type.
Question do you get problems with testing or where do you use the "SOAPAcction" ?
from laravel-soap.
Thanks for your answer.
I use SOAPAction for my unit test indeed.
But, when i'm on SOAP 1_2 with v2.0.0-beta.7, it's works. I see SOAPAction on the header
from laravel-soap.
Ah ok....yeah i fixed the header because they were wrong for 1_2 .... i will make the unit testing work again with SOAP1_2. Because in beta.7 the fake library was using SOAP1_1 even for SOAP1_2 ;-) ... keeping you update.
Thanks for the report!
from laravel-soap.
Ok thanks
from laravel-soap.
@ElRochito closed with #136
from laravel-soap.
Related Issues (20)
- Using Wsa 2005 HOT 6
- Problem installation with Laravel 8.8 - failed HOT 2
- Error with composer install HOT 1
- Wrong Version - Version Mismatch laravel Soap vs PHP SoapClient HOT 5
- Cant install with php version 8.0 HOT 2
- Error sending arguments HOT 3
- How add SOAP Header to Request? HOT 2
- Delay between requests HOT 2
- Add PHP 8.2 support HOT 1
- missing WS-Addressing envelope headers HOT 6
- Error when faking http error response HOT 2
- ConnectionFailed::__construct(): Argument #1 ($request) must be of type CodeDredd\Soap\Client\Request, HOT 5
- Error passing a date parameter HOT 4
- Laravel 10 support HOT 1
- 400 Bad Request HOT 8
- not support to php 8.2 HOT 1
- Use of undefined constant WSDL_CACHE_DISK HOT 2
- I can't install HOT 6
- When will a non beta version of 4.0.0 be available? HOT 2
- Suppoort PHP 8.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-soap.