Answer the question
In order to leave comments, you need to log in
WSDL SOAP can't get response. How?
Good afternoon friends!
Either my skis don't work, or I have a problem with my hands!
WSDL: https://www.thelotter.com/__ajax/__homepage.asmx?WSDL
As I read, I started:
$client = new SoapClient(' https://www.thelotter.com/__ajax/__homepage.asmx?WSDL ');
var_dump($client->GetRecentNewsModel());
Shoveled, all that I could not get an answer. Maybe I don't understand something?!?!
Answer:
Fatal error: Uncaught SoapFault exception: [soap:Server] Server was unable to process request. ---> There was an error generating the XML document. ---> The type TheLotter.RecentNews.RecentNewsViewModel was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically.
in ... Stack trace: #0 ...: SoapClient->__call(' GetRecentNewsMo ...', Array) #1 ... NewsModel() #2 {main} thrown
Answer the question
In order to leave comments, you need to log in
GetRecentNewsModel(GetRecentNewsModel $parameters )
Why don't you pass parameters to the request?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question