質問

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