WSDL Null Response .NET but returns values on SoapUI

463 Views Asked by At

I am having an issue where the I have an imported wsdl service reference that returns null on .net visual studio but values are returned normally on soapui in the response. the response has encoded " < " in the xml so I don't know if this is causing the issue where c# doesn't interpret it.

I tried running on soap and response is returned normally with the "lt;" annotation in it but null on c#. other requests and responses are returned normally and valid on both soapui and c# which don't have the "<".

1

There are 1 best solutions below

0
Georginio On

Updated: solved it by using java springboot c# returned null response because it could not decode the xml when the response message contained < I consumed the wsdl on java spring boot using maven dependencies and using spring web, imported the wsdl and then the outputted classes were used to send and set the request and the response was returned without any issues and spring decoded the < from the xml schema.