Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 559473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:14:30+00:00 2026-05-13T12:14:30+00:00

I have a WCF client proxy which reads from a SOAP web service. I

  • 0

I have a WCF client proxy which reads from a SOAP web service. I do not control the service, only the client proxy. The result of invoking one of the operations of the service is defined as a very large XML schema, of which only a small subset is relevant in my application.

I have created a custom WCF behavior which allows me to parse the raw XML response and read only the relevant parts. However, the proxy still deserializes the response into an object graph (which is quite complex as a result of the XML schema). As far as my application is concerned, this last step is superfluous.

Is it possible to prevent my WCF client proxy from performing the last step of deserializing the response?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:14:30+00:00Added an answer on May 13, 2026 at 12:14 pm

    Where exactly do you want to process the parts of the message you want? In general, it sounds to me like you don’t really want the default client proxy generated, and you’d be better off with your own custom client proxy.

    If you can go that route, one option that would be available would be to simply have the proxy return a Message object instead of a real DataContract, and then you can easily read the raw XML from the SOAP body yourself and parse it. Easier than trying to mess with the serializer, imho.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WCF Web Service which is referenced from a class library. After
I have client application that uses WCF service to insert some data to backend
In my WPF client, I have a loop that calls a WCF service to
I have a WCF service hosted for internal clients - we have control of
I have a WCF service that I have to reference from a .net 2.0
I have a WCF service which is being hosted in IIS. I have a
I have a WCF Service hosted in IIS/ASP.NET that accepts HTTP Post ( not
I have a WCF client/server app which is communicating over HTTP using the WSHttpBinding.
We have a requirement to call a WCF service from another WCF Service. To
I have a WCF service hosted in IIS. The intention is for clients to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.