[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 202
  • Last Modified:

Deserializing problem and XmlElementAttribute

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.

Thanks
0
tech1guy
Asked:
tech1guy
  • 3
  • 2
1 Solution
 
surajgupthaCommented:
>> 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?

0
 
tech1guyAuthor Commented:
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.
0
 
surajgupthaCommented:
well my question was more about what kind of application from the Linux box calls the service
0
 
tech1guyAuthor Commented:
The problem was solved. It was the proxy problem.
0
 
surajgupthaCommented:
Proxy problem?
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now