Deserializing problem and XmlElementAttribute

Posted on 2007-10-10
Last Modified: 2008-01-09
Hi experts,

I'm facing a problem while deserilizing the XML response from a webservice. But this problem occurs only if the client is calling the webservice from linux machine. If the client calls from windows machine, then everything worked fine. I tried to use XmlElementAttribute to override the namespace, but when i used this, I am unable to get the response on windows machine also.
Any help will be appreciated.

Question by:tech1guy
    LVL 21

    Accepted Solution

    >> I'm facing a problem while deserilizing the XML response from a webservice.But this problem occurs only if the client is calling the webservice from linux machine.

    How do you say its a problem with deserializing the response and not a problem with the request. Does that mean that request from the linux machine reaches the web service and the web service returns the response but the linux machine cant make sense of the XML it receives??

    Is it a java application in linux that is trying to consume the web service??
    How is the proxy of the application that tries to talk to the web service generated?


    Author Comment

    the web service is in .NET and the proxy is generated through wsdl.exe. I can say that there is a deserialize problem because the linux box is getting the response back but it's not able to deserialize it.
    LVL 21

    Expert Comment

    well my question was more about what kind of application from the Linux box calls the service

    Author Comment

    The problem was solved. It was the proxy problem.
    LVL 21

    Expert Comment

    Proxy problem?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now