Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Is it possible to return data from a web service without a SOAP envelope?
Posted
Updated 6-Feb-11 23:05pm
v2

1 solution

While the architectural specification clearly states that you can (http://www.w3.org/TR/2003/WD-ws-arch-20030808/[^]) it's another question alltogether if you want to amble down that rocky road.
Here's a link where they're talking about SOA without SOAP:http://developers.sun.com/mobility/midp/ttips/soanosoap/[^]
The article above is java centric but the principles still a apply to any language capable of serving and/or consuming web services.

Still need help? Leave a comment then.

RESTful webservices in .NET 3.5 with WCF: RESTful Webservices in .NET 3.5[^]

Cheers!
 
Share this answer
 
v3
Comments
aks1984 7-Feb-11 5:15am    
i have some web services. I need them to be consumed to j2me based mobile devices. But devlepors of j2me are saying, it is quite cumbersome with soap headers. as per their suggestion, i need to remove soap envelope. is it possible is asp.net webservices or WCF? If yes, please provide some example of reference article.

Thank You
Manfred Rudolf Bihy 7-Feb-11 5:35am    
You can build a webservice on REST. There is a guide on MSDN on how to build RESTful webservices using WCF of .NET 3.5. It can also be done on .NET 2.0 but you'll have to do all the heavy lifting yourself. See the link I placed in my modified answer.
Espen Harlinn 7-Feb-11 15:25pm    
Good answer :)
aks1984 9-Feb-11 8:32am    
Thank you very much Guys

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900