O
O
Obivankinobi2019-04-11 13:41:18
PHP
Obivankinobi, 2019-04-11 13:41:18

Why is the SOAP service not responding?

I'm trying to integrate with the service https://webservice.myschenker.fi/ewebs/dbs_service.svc
They have only 4 methods, I need "getCollectionPointsByPostalCode"
Here is a brief description www.noutopistepaketti.fi/Documents/201604_mySchenk...
For some reason when I send a request, I get the error "Could not connect to host".
Tech support says everything works for them.
Here is my code :

$soapParams = [
            'trace'                       => true,
            'cache_wsdl'             => WSDL_CACHE_NONE,
            "stream_context"      => stream_context_create($stream_context_opts)
        ];

try {
  $client = new SoapClient('https://webservice.myschenker.fi/ewebs/dbs_service.svc?wsdl' ,$soapParams);
  $ty = $client->getCollectionPointsByPostalCode("02750");
  var_dump($ty);
} catch (Exception $e) {
    var_dump($e->getMessage());
}

Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
irishmann, 2019-04-11
@Obivankinobi

They have 2 versions of the method there,
5caf262065a89057258325.jpeg
which in BasicHttpBinding_Idbs_service I didn't reach
5caf26546ce13185381229.jpeg
which in BasicHttpsBinding_Idbs_service answered
5caf26acd86d7430541836.jpeg

Probably at you the request goes to the first variant. Show this to tech support, I think now they can help with something.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question