문제

I have an xsd-file with which I generate dataclasses (with xsd.exe or WSCF-blue) for building a WCF-service.

Then I add the generated classes to the operations in the WCF-service like this:

MyGeneratedClassOUT operation1(MyGeneratedClassIN request)

When I call that operation from a client, the client gets back MyGeneratedClassOut request filled with null-values, even tough i fill them up server-side.

Does anyone have an idea how to solve this? Could this be a problem in the XSD-file or in the WCF configuration?

도움이 되었습니까?

해결책

This is most probably a namespace issue. Check with Fiddler if the request and response have the same namespaces.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top