CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: Date Entered: 4/29/2005 12:12:04 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 40 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"SurenAttanayak
NewsGroup User
Creating Custom Modules that interact with Web services4/29/2005 12:12:04 PM

0

Hi,

I would like to know where I can obtain online material about how to develop Data Providers for custom modules that obtained data from web services rather than databases.

 

Suren

"Daks" <>
NewsGroup User
Re: Creating Custom Modules that interact with Web services4/29/2005 3:57:57 PM

0

I can provide a little information for you, however I can not provide you code samples or any documentation on it as what we have done is "company confidential"....

We have a complete site that is fully web service based for all data.  We actually have no user data in the DNN portal as well (we hacked the core to accomplish this).  Anyway, this is what we did, and forgive me if this sounds very simplistic, but it really is...

We started off writing a simple class library project to make wrappers classes / objects for all the web service calls, which we would use create objects or data sets/datatables out of the data from returned from the service.  i.e. a user object, or a datatable of customers...  In the class library project, we would create the reference to the webservice.  The class project we would just compile into a dll which would goto the bin directory and be accessable by our custom modules.

Then inside of our modules, we would reference the class library (which contains the webservice reference) instantiate the objects and use em as we needed.

Sorry for being so non-descriptive (damn corporate privacy!)... As far as I can tell, there doesnt seem to be any special magic in using a web service as long as you have it referenced, whether in a class library, or directly in your custom module...  As far as using it, it is simply just another method call after you can created the object.

Depending on what you need form the webservice (ours was very complex, hence the need for the wrapper classes) you can simply add the web reference to your custom module project.  Then at the beginning of each page, create a reference to it and it is usable just the same as a database provider.  We did that on a few pages where simple functionality was needed, and we didnt have to create any special code to the best of my memory.

hope this helps some

Daks


Daks
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













problem in regular expressions ???????

career change

<asp:calendar> questions

considerations before taking 1st .net job offer

running javascript client side code from a web server control

how to pass query string in popup by java script.

session question: urgent

problem retrieving correct information from textboxes ?

aspnet_compiler.exe not producing a /bin folder

login control

error while compiling setup project

help building out this project

creating a handler to stream excel file

are there multiple downloads on msdn for 2005?

pop up calendar

adding special characters in plain text on asp.net page

urlmapping and postbacks

selecting from a datatable

getting rid of the header in datagrids

sending email automatically

front end management tool?

creating a hyperlink in a document.

data entry problem

getweekofyear - i have read the instructions and still scratching my head...

cpu usage for a process

start asp.net 2.0 from 1.0

unable to work using localhost

how to view who is online?

asp.net 2.0 summary overview for non developer readers?

google blues and aspx pages

domain.getcomputerdomain() leads to "login incorrect" exception

difference between nhibernate and csla.net

odd behavior in dynamic page

oop topic

javascript access httpcontext.current.user.identity.name

help me in payment transactions

i need to learn asp.net (and ajax) -- book and/or website recommendations?

jscript works on viewstate?

splitting the first sentence from a string using regular expressions (regex.split).

update a column without knowing the value!

upload component

new development project?

class property

ssl

simple screen scrape question

emailform

writing data to text file at fixed positions

starting asp.net

dataview, datagrid or .......

how to do a session countdown

   
  Privacy | Contact Us
All Times Are GMT