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.0Web ServicesWeb Services
Previous
 
Next
New Post
9/9/2008 4:52 PM
 

I was thinking the same thing about it being easy since my test web service app worked and it was easy to get up and running but I have no idea on how to start with my mobile app calling the IWeb method.  This is where I am stuck.  How do I make my mobile app communicate with the IWeb method?


View Brenden Kehren's profile on LinkedIn
 
New Post
9/9/2008 6:14 PM
 

The mobile app should communicate with the IWeb method the same way it would communicate with any other web services method. IWeb methods are normal web services methods.

A person should be able to click on a button on your mobile app and you call the web service at:

http://{Your domain}/DesktopModules/IWeb/webservice.asmx



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
9/10/2008 1:02 PM
 

So I have reviewed the link above and added another method as described but do not see it in my list of WebService list when I navigate to http://mydomian/DesktopModules/IWeb/webservice.asmx

Here is my code for the service:

Imports Microsoft.VisualBasic
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Linq

Namespace DotNetNuke.Modules.IWeb
    Public Class IWebMyTest

        Partial Public Class WebService
            <WebMethod(Description:=" GetTagGuid *DotNetNuke* |IWEB Core| #IWEB Misc# !Portal! "), SoapHeader("IWebCredentials")> _
            Public Function GetTagGuid(ByVal TagId As Int64) As VBData.iTag
                Dim db As New VBData.MyDataContext
                Dim tag = From t In db.iTags _
                          Where t.itag_id = TagId _
                          Select t.itag_id
                Return tag
            End Function
        End Class
    End Class
End Namespace


View Brenden Kehren's profile on LinkedIn
 
New Post
9/10/2008 5:54 PM
 

You don't want:

Namespace DotNetNuke.Modules.IWeb
    Public Class IWebMyTest
        Partial Public Class WebService

You want:

Namespace DotNetNuke.Modules.IWeb
        Partial Public Class WebService



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.0Web ServicesWeb 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