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  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Indoo
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


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.

 


The Standard in Senior Housing Information
SNAPforSeniors provides consumers with free online resources to assist them with their search for senior housing
www.snapforseniors.com
DotNetNuke Web Hosting w/ ASP.NET 3.5
Unlimited email boxes, Unlimited databases, Unlimited domains. Plans start at $4.97
www.MyWinHosting.com
SteadyRain
Founded in 1999, SteadyRain has extensive experience delivering Internet technology strategies and solutions for a diverse client base, ranging from Fortune 500 firms to successful start-ups.
www.steadyrain.com

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