Groups | Blog | Home
all groups > dotnet web services > july 2006 >

dotnet web services : Webservice for J2EE & .NET application


jaydev
7/17/2006 3:22:06 PM
Hello,
I want to create a header and footer control which will be used in
both the java and .net application. We are planning to create a
webservice for this in C#. I am familiar in creating a webservice , but
not sure how to create something compatible for java team (J2EE). Java
team needs to output of webservice in XHTML, CSS and javascript format.
Please throw some light on this.

Thanks,
Jay
Pablo Cibraro
7/18/2006 10:20:35 AM
Hi,

The web service that you build in C# must be BSP compliant (BSP is a profile
created by the ws-i organization to assure interoperability between
different ws vendors, such as Microsoft, Sub, IBM, etc).
..NET provides a way to assure that, you need to add an attribute to the
service,

[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Service : System.Web.Services.WebService

If you add something that is not compliant with the spec, the ASP.NET
runtime will throw some warnings about that.

Regards,
Pablo Cibraro.

[quoted text, click to view]

AddThis Social Bookmark Button