Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
MadCap Software, Inc.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Module development & packaging using a web service
Previous Previous
 
Next Next
New Post 4/30/2008 2:10 AM
User is offline SupaHoopsa
51 posts
www.hrgworldwide.com
10th Ranked


Module development & packaging using a web service 

I am hoping someone might be able to point me in the right direction?

I have created a new DNN module using a web service to retrieve my data.

I now want to package up this module as an installation file and add it to some of the portals I have on our DNN host.

The question is how do I include the Web Service and all the necessary references in the install package?

 
New Post 4/30/2008 10:48 AM
User is offline mjliscio
110 posts
9th Ranked


Re: Module development & packaging using a web service 

this needs to be added in the dnn file

if you open the dnn file you will find a <files> tag

inside that tag add

        <file>     

<path>"Where in your dnn solutin you want the file to go "</path>                                                                                                                                                                                                                                                                                                      <name>"Name of your file goes here"</name>
       

</file>

I beleave the extension for a web service is .asmx

hope this helps

Mike

 
New Post 5/1/2008 8:26 AM
User is offline SupaHoopsa
51 posts
www.hrgworldwide.com
10th Ranked


Re: Module development & packaging using a web service 

Where can I find a good tutorial on using the dnn files?

I have a number of things I would like to do when packaging a new module such as including a web service, amendments to web.config files, etc?

Can these actions be automated via the dnn file?

 
New Post 5/8/2008 12:43 AM
User is offline SupaHoopsa
51 posts
www.hrgworldwide.com
10th Ranked


Re: Module development & packaging using a web service 

OK, on my PC I have a version of DNN running. I have created a new module that retrieves the data it requires via a web service.

On this local version, I have access to the VB project and so adding a web reference to this service is very straightforward.

So, now that this module is complete on my PC, I want to package it up as an installation file and deploy it to several portals.

My question is - how do I package up this module so that the correct web reference is included?

Alternatively, is there anyway of adding a web reference to a web service via the DNN portal?

I followed the advice here: www.dnncreative.com/Forum/tabid/88/forumid/4/postid/9643/view/topic/Default.aspx

and dragged the web reference from App_WebReferences folder to App_code\MyModule1 folder ... then i packaged the dnn module.

However when I installed it on my portal, I got a data access error trying to call the web service.

I can't be the first person that has wanted to use a web service in a module rather than writing the necessary SQL stored procedures?
My problem is that I cannot get access to the database to create the necessary SQL, so I have to rely on the web service.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Module development & packaging using a web service
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP