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

  • Home
  • SEARCH
  • 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 187279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:47:44+00:00 2026-05-11T15:47:44+00:00

Never seen this one before. WebService.Implementation imp = new WebService.Implementation(); WebService.ImplementationRequest req = new

  • 0

Never seen this one before.

WebService.Implementation imp = new WebService.Implementation(); WebService.ImplementationRequest req = new WebService.ImplementationRequest(); return imp.GetValue(req); 

The object that imp returns is not null. It’s returning an ImplementationResponse, as expected. But all of the fields in that object are null. Which is not expected. The WebService, currently, just returns some constant dummy data. We’ve tested this on another developer’s machine, works just fine.

I suppose I should also note that the WebService should throw an exception if I pass null into the GetValue method. It doesn’t. Not for me.

Any idea what could be wrong with my environment that could make a WebService return an object, but make every value in that object null? And somehow ‘magically’ return this mystery object when it should be throwing an exception?

  • 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. 2026-05-11T15:47:45+00:00Added an answer on May 11, 2026 at 3:47 pm

    That usually happens when there’s a discrepancy between the generated code and the xml being returned by the web service so it cannot be deserialized.

    Grab the wsdl again, regenerate all the proxy classes and try again. Make sure you are sending the correct dummy data.

    Update:

    This used to happen to me a lot because the web services weren’t managed by my team and we wouldn’t get any notice of changes made to the service. We ended up intercepting the soap messages in the web service pipeline for debugging. Here‘s a great resource to get you on your way.

    You don’t need to change anything in the pipeline, just grab the soap messages and save them so you have debug later. Most of the times it turned out to be just that, a change in the contract. Other times we wouldn’t have a contract so there was no way of knowing of changes without catching the envelopes.

    Anyway, even if it’s not your problem I think it’s a good thing to have.

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

Sidebar

Ask A Question

Stats

  • Questions 171k
  • Answers 171k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Ok, so I finally solved the problem. The solution was… May 12, 2026 at 2:17 pm
  • Editorial Team
    Editorial Team added an answer Similar to Godeke's solutions. Couldn't you generate a token with… May 12, 2026 at 2:17 pm
  • Editorial Team
    Editorial Team added an answer Try this URL: <a href="file://///myserver/myfolder/myfile.docx"> May 12, 2026 at 2:17 pm

Related Questions

I get the following error when trying to use Response.Redirect in one of my
I hope everyone will pardon the length, and narrative fashion, of this question. I
I recently had cause to work with some Visual Studio C++ projects with the
I've always used typedef in embedded programming to avoid common mistakes: int8_t - 8

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.