Hello!
Asking for help in composing a SOAP request to this SOAP never worked.
XSD
The WSDL description
Sending request:
$client = new \SoapClient($service ['trace' => true]);
$message = new Message();
$message->Message = 'Message';
$message->AuthRequest = 'AuthRequest';
$message->AuthAppInfo = 'AuthAppInfo';
$message->MasterToken = 'MasterToken'.env('MASTER_TOKEN');
$data = $client->getMessage($message);
$this->log($client->__getLastRequest(), 'request');
$this->log($client->__getLastResponse(), 'response');
The Message Class
class Message
{
public $Message;
public $AuthRequest;
public $AuthAppInfo;
public $MasterToken;
}
Get errors like this:
Unmarshalling Error: cvc-complex-type.2.4.b: The content of element 'ns1:Message' is not complete. One of '{WC[##other:"urn://x-artefacts-gnivc-EN/inplat/servin/OpenApiMessageConsumerService/types/1.0"]}' is expected.
AuthRequest and AuthAppInfo is in xsd
It seems to be all the same, but not working. - Jermey_Olson commented on April 19th 20 at 12:40
If you believe the same documentation, the Message needs to emerge here is the query:
But then I couldn't help with namespaces in SOAP ever was not the case. - ernestina_Me commented on April 19th 20 at 12:49