Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Packaging custom DNN module with call to remote web servicesPackaging custom DNN module with call to remote web services
Previous
 
Next
New Post
10/21/2009 5:20 PM
 

Hi,

I have created a custom DNN module that processes credit card payments for our website. To accomplish this, the module interacts with a remote web service that I have not created, nor do I control. I am just adding a reference to the web service, and calling one function from it. The custom module is working great, and is ready to package and roll out to the live server, but I am not sure how to go about adding the reference to the web service on the live server once the module is packaged and deployed.

When I package the module, I see a list of the files that it writes to the zip file, and none of them correspond to the web service. The only thing I can possibly think of is to recompile a new version of DNN that includes the web service built into it, but there must be a better way.

Does anyone have experience with this sort of thing?

 
New Post
10/21/2009 6:44 PM
 

You have to make a proxy as a WAP (Web Application Project). Yo can then package this as a .dll in yoru module. See:

VacationRequest_01.00.00_Install.zip at: http://www.adefwebserver.com/DotNetNukeHELP/Workflow/VacationRequest.htm

Notive there is a file called VacationWebService.dll. This is just a Proxy.

It is called like this:

// Reference to the web service

VacationRequestWorkflow_WebService VacationRequest =

new VacationRequestWorkflow_WebService();// Enable cookies

VacationRequest.CookieContainer =

 

new System.Net.CookieContainer();// Set the address to the web service

VacationRequest.Url = txtWebserviceURL.Text.Trim();

 

// Call the method to start the workflow

VacationRequest.StartWorkflow();

 



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Packaging custom DNN module with call to remote web servicesPackaging custom DNN module with call to remote web services


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out