Click here to Skip to main content
11,802,205 members (54,398 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: .NET3.5 C# .NET SOAP

I'm facing a very weird problem. My web-service is receiving 'null' data as parameter.

A little intro: "I have created a web-service that accepts XML as string. I'm using cURL to call the service using SOAP"

Another weird thing is: "When I create a new project with the same web-service source code, the problem of null data doesn't appear."

The web-service is already deployed on the live server and I cannot keep creating new projects just to avoid the problem.

Need suggestions!
Posted 23-Mar-11 22:54pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The only thing I can suggest is that you make sure your client app is connecting correctly and that you're actually sending the data that you think you're sending.
GPUToaster at 24-Mar-11 14:12pm
Yes, I checked and found a minor spelling mistake while mentioning action URI for SOAP header.
Thanks alot. :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 475
1 KrunalRohit 341
2 F-ES Sitecore 295
3 Afzaal Ahmad Zeeshan 230
4 CHill60 195
0 OriginalGriff 2,715
1 Maciej Los 1,900
2 KrunalRohit 1,797
3 CPallini 1,550
4 Richard MacCutchan 1,157

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 24 Mar 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100