You need to Register for free and Login to post a message in the forum.

Forum

Subject: How to add a web reference on a hosted site
Prev Next
You are not authorized to post a reply.

Author Messages
Bobbyjosephg
Nuke Pro
Nuke Pro
Posts:80

17 Jan 2008 11:46 PM  
Hi,

I have to use a webservice the get a value.The Dnn Version that I am using is 4.7.7. The site is already up and running .How do I add the web reference to the site.Please help


Thanks in Advance
Bobby
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2514


18 Jan 2008 9:55 AM  
Do you know how to get the value from the web service outside of DotNetNuke? If so, what is the URL/command?

Joe Craig
DNN Creative Support
Subscribe to the website
SupaHoopsa
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:13

06 May 2008 8:51 AM  
Did you manage to resolve this as I am having the same issue?
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2514


06 May 2008 8:02 PM  
Can you describe the issue with some additional details?

Joe Craig
DNN Creative Support
Subscribe to the website
SupaHoopsa
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:13

07 May 2008 2:09 AM  
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?

Hope this makes sense.
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2514


07 May 2008 8:49 AM  
Have you tried using the "Create Module Package" on your local installation and then installing the module on the other site?

If there are other dll files required, you may have to move them to the other site manually.

Joe Craig
DNN Creative Support
Subscribe to the website
SupaHoopsa
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:13

07 May 2008 9:08 AM  
Yes I have

But this doesn't package up the web reference for the web service.

I followed the advice here: http://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.
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2514


07 May 2008 8:55 PM  
I'd recommend that you ask on the DotNetNuke forums. There are some really good developers who frequent the Make it Hot forum.

Joe Craig
DNN Creative Support
Subscribe to the website
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > How to add a web reference on a hosted site



ActiveForums 3.7

Latest Forum Posts

DotNetNuke News 8th Dec 08 by pwadding
When I attempt to download the  Podcast I get an error message. Tried both servers. The first few li...
RE: Can't Login! Login Page can't be accessed... by e-kreator
a database that you mean.
RE: DotNetNuke 4.9.1 and 5.0.0 by jncraig
Yes, lots of learning, lots of new things and new ways.  I played a little with Beta6 of DotNetNuke ...
RE: PDF File Content by jncraig
If you want to just serve up the PDF files as PDF files, upload them using the File Manager.  You ca...
RE: Navigating between modules by jncraig
What is the URL that is generated? To which page does it send you?
RE: New Logo cant display by jncraig
There is nothing wrong with this, provided that you did it correctly.  I would have to look at your ...
RE: Child portal to live site by jncraig
You should set DNS to point the URL to the IP address of the DotNetNuke installation.  Inside of the...
RE: PopUp Page by jncraig
To open a link in a new window, format the link this way:Link to us! It is the target="_blank" that...
RE: How to Change fckeditor alignment by jncraig
It might be easier to use a different skin for your administrative pages. There have been some ot...
RE: Can't Login! Login Page can't be accessed... by jncraig
If you have access to your database, look at the Portals table.  Make sure that LoginTabID is set to...
RE: Can't Login! Login Page can't be accessed... by e-kreator
Hello my problem is that the configuration management in login page page was sent to a Web page that...
RE: Create new 'host' user? by jncraig
You can change a regular user to a Host, by setting the "Host" user's IsSuperUser set to True in the...
Create new 'host' user? by jonathanbrickman0000
I have a DNN 4.7 web site successfully migrated to a new server.  There is only one hitch:  the 'hos...
RE: split copyrgt option in two lines by jncraig
You can put a in the copyright text. This may or may not put other text (to the right of the copyr...
RE: Can't Login! Login Page can't be accessed... by jncraig
Try: http://localhost/DNN/login.aspx http://localhost/DNN/?ctl=login If neither of those ge...
RE: HOw to upload site from localserver to www.mysite.com by jncraig
View this tutorial:How to transfer a localhost DotNetNuke installation to a live websitePay special ...
RE: Nightmare with SKINS... by jncraig
Before you get in too far, you might want to take a look at:An Introduction to the Principles of Dot...
RE: Nightmare with SKINS... by dougieladd
Hi Joe...thank you for that...I kind of assumed that was the case. As I understand it the skin comes...
HOw to upload site from localserver to www.mysite.com by aniket.rasal
Dear Friends,       I have created site. Its wolring fine on my local machine.But when i upload the ...
RE: DotNetNuke 4.9.1 and 5.0.0 by leesykes
It is on the Extensions page as well - named 'Batch Install Extensions' stefan blogged about it here...
DotNetNuke Modules
RSS Feeds