0

I`ve added a service Reference based on a local wsdl file to my .net core 6 application.But the Interface i get from the Reference gives me addidional data types. If i implement the interface it should give me following method.

public Ack Heartbeat(Heartbeat parameter)
{
 (my impl. here)
}

but instead its generating me

public HeartbeatResponse HeartbeatAsync(HeartbeatRequest request)
{
 (my impl. here)          
}

So for all my methods defined by the interface there is a new datatype with ...Response and ...Request

Ive read that this could have to do something with the setting "always generate message contracts" in the add sercvice reference setings. But i have`nt checked this setting.

0 Answers0