Soap request throws MissingMethodException


#1

Hi,
I’m trying to set up a SOAP request in Studio, but the following exception is coming up:

"Method ‘Ul2005Interface1Client.listOfFunds2’ not found."
Exception Type: MissingMethodException

Fist I’ve noticed is that Studio extends the name of the endpoint with this string: “Client”. The correct endpont is: “https://url.domain.com/xyz/web.Ul2005Interface1?wsdl”. The interface contains multiple methods, one of them called “listOfFunds2”.

Does anyone have an idea for solve this?

Thanks.


#2

Hi,

I was trying this URL but it does not look a secure link. Can you please share the certificate or steps to make it accessible without security error?

Also, did you try this in any other web api tools?

Thanks,
Mahesh


#3

Hi,

I’ve tried to set other web services and get the same message. All of them are working in SoapUI tool.
Anyway If I try to set the sample (weather API) or stg like that, it’s working.

The full URL of the wsdl: https://webservicetest.allianz.hu/det/allianzweb.Ul2005Interface1?wsdl
You can use this without cert. I tested it with SoapUI, the following request XML is working:

Request:
<soapenv:Envelope>
<soapenv:Header/>
<soapenv:Body>
<ul2:listOfFunds2>
<arg0>
<applicationName>test</applicationName>
<language>test</language>
<userName>test</userName>
<ignoreWarnings>true</ignoreWarnings>
</arg0>
</ul2:listOfFunds2>
</soapenv:Body>
</soapenv:Envelope>

Thanks.


#4

As it requires a custom data type called DetRequest and we are not passing variable of that type, it is failing to make the call.
You will have to create some custom code to create a new namespace and import it. You can refer to below link for more details: