Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / XML / July 2006

Tip: Looking for answers? Try searching our database.

Webservice for J2EE & .NET application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jaydev - 17 Jul 2006 23:09 GMT
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
David Jessee - 31 Jul 2006 14:07 GMT
When you start looking at this sort of thing, you can't really think about it
in terms of controls (.NET specific implementation) or servlets
(java-spesific implementation);

Try looking at it as a web service that takes some number of arguments as
inputs and returns a string for its output.

You're not going to have the luvury of working with postbacks, therefore,
you won't be able to use the even model exposed by the .NET framework (e.g.
you render a button and something happens as a result of that button) since
whatever xHTML you're emitting will not be able to contact the original web
service.

If you do need someething more functional, you could probably try leveraging
AJAX.  no reason you can have a client script calling your web service.

> Hello,
>   I want to create a header and footer control which will be used in
[quoted text clipped - 6 lines]
> Thanks,
> Jay

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.