问题描述
嗨..
这是我的xml请求
< user>
< Provider>
< ProviderReview>
< BedSideMannerRating> 2</BedSideMannerRating>
< PatientId> 20eab68a-1627-462c-816f-df098c319d42</PatientId>
< ProviderId> ec245cf7-b8a2-4142-8f90-8ecd2f6bb037</ProviderId>
< RecommendRating> 1</RecommendRating>
< WaitTimingRating> 1</WaitTimingRating>
</ProviderReview>
</Provider>
< UserBusiness></UserBusiness>
< UserNotes></UserNotes>
< UserPreferences></UserPreferences>
</user>
</InsertUserRequest>
通过使用此用户数据将变为null.建议我使用正确的格式.例外是
对象引用未设置为对象的实例.
在此先感谢...
Hi..
This is my xml request
<user>
<Provider>
<ProviderReview>
<BedSideMannerRating>2</BedSideMannerRating>
<PatientId>20eab68a-1627-462c-816f-df098c319d42</PatientId>
<ProviderId>ec245cf7-b8a2-4142-8f90-8ecd2f6bb037</ProviderId>
<RecommendRating>1</RecommendRating>
<WaitTimingRating>1</WaitTimingRating>
</ProviderReview>
</Provider>
<UserBusiness></UserBusiness>
<UserNotes></UserNotes>
<UserPreferences></UserPreferences>
</user>
</InsertUserRequest>
by using this user data is becoming null.suggest me the correct format. exception is
Object reference not set to an instance of an object.
Thanks in advance...
推荐答案
这篇关于wcf具有多个子节点的Rest服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!