G
G
Good Samaritan2020-03-05 19:24:28
PHP
Good Samaritan, 2020-03-05 19:24:28

How to correctly call the soap method?

$client = new SoapClient($WSDL_URL ,$param);
Using $client->__getFunctions()) I get available methods, then I try to call $client->GetStudEvM($params)

where
$params=[]
$params["StudentID"] = 100
method signature is string(37) "struct GetStudEvM {
int StudentID;
but nothing is displayed, I already think that such a method is not implemented on the server. Or am I doing something wrong? Other methods work out with a bang.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lubezniy, 2020-03-05
@lubezniy

First turn on the debug mode and look after the method call, what is thrown into an error and what is sent; Maybe the problem will be fixed right away. If that doesn't help, open the WSDL URL and look at the schema for the specific method. Check it against what is passed in the method. Then it will be possible to draw conclusions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question