mibuso.com

Microsoft Business Solutions online community
It is currently Tue May 21, 2013 1:24 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Form 810 ?
PostPosted: Sun Mar 01, 2009 9:37 am 
Offline

Joined: Wed Nov 19, 2008 9:54 am
Posts: 66
Location: Ulaanbaatar
Country: Mongolia (mn)
kine wrote:
The WebService port is defined in the config of the Service tier, just check it there. If you do not "see" wsdl, may be you are entering wrong URL...

Yeah kine, logically your right. If i write right URL then, i must "see" WSDL.
I'm also trying to do this practice : http://www.packtpub.com/article/extendi ... 2009-part1

You can see that C# code, 1st line. NAV_Codeunit navCU = new NAV_Codeunit
The error is : Type or namespace NAV_Codeunit could not be found.
NAV_Codeunit is my webservice name. This codeunit is already included in Webservice, Form810 of NAV2009.
In C# code NAV_Codeunit is class /i think/
Added Web reference's name is namespace. Am i right?

PS:When i'm adding web reference, /when typing my URL/ then it says 1 service found.

_________________
bye my work, bye navision


Top
 Profile E-mail  
 
 Post subject: Re: Form 810 ?
PostPosted: Sun Mar 01, 2009 1:53 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12265
Location: Brno
Country: Czech Republic (cz)
Can you post which URL you are entering when adding the web reference?

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Form 810 ?
PostPosted: Mon Mar 02, 2009 3:16 am 
Offline

Joined: Wed Nov 19, 2008 9:54 am
Posts: 66
Location: Ulaanbaatar
Country: Mongolia (mn)
These 6 URL. NAVIWORL-D9976C is my computer name.
http://localhost:7047/DynamicsNAV/WS/services.
http://NAVIWORL-D9976C:7047/DynamicsNAV/WS/services.
http://NAVIWORLD9976C:7047/DynamicsNAV/WS/services.
http://localhost:7046/DynamicsNAV/WS/services.
http://NAVIWORL-D9976C:7046/DynamicsNAV/WS/services.
http://NAVIWORLD9976C:7046/DynamicsNAV/WS/services.

_________________
bye my work, bye navision


Top
 Profile E-mail  
 
 Post subject: Re: Form 810 ?
PostPosted: Mon Mar 02, 2009 3:42 am 
Offline

Joined: Wed Nov 19, 2008 9:54 am
Posts: 66
Location: Ulaanbaatar
Country: Mongolia (mn)
I had a WSDL. :D
by this URL http://NAVIWORL-D9976C:7047/DynamicsNAV/WS/services.
Code: Select all
- <discovery xmlns="http://schemas.xmlsoap.org/disco/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <contractRef ref="http://naviworl-d9976c:7047/DynamicsNAV/WS/SystemService" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
  </discovery>

I have tried it before in Mozilla FireFox. In IE it works. But there is one question. WHY :?: :?: It's depends on browser?
And also it not works. I'm trying to WebService practice on .NET C#
After debugging C# code, then it says Programname.exe file is missing, set the Outputpath and AssemblyName properties appropriately to point at the correct location for the target assembly.
I don't understand this error. It's mean my Webservice location is wrong? or there is no webservice assembly? ](*,) #-o

_________________
bye my work, bye navision


Top
 Profile E-mail  
 
 Post subject: Re: Form 810 ?
PostPosted: Mon Mar 02, 2009 3:52 am 
Offline

Joined: Wed Nov 19, 2008 9:54 am
Posts: 66
Location: Ulaanbaatar
Country: Mongolia (mn)
In WSDL, there isn't code of that codeunit object i inserted in Form810.

_________________
bye my work, bye navision


Top
 Profile E-mail  
 
 Post subject: Re: Form 810 ?
PostPosted: Mon Mar 02, 2009 7:33 am 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12265
Location: Brno
Country: Czech Republic (cz)
1) Have you "published" checkmark on the line with your codeunit?
2) Try to add any page as webservice and check if you can see it...

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: Form 810 ?
PostPosted: Mon Mar 02, 2009 8:53 am 
Offline

Joined: Wed Nov 19, 2008 9:54 am
Posts: 66
Location: Ulaanbaatar
Country: Mongolia (mn)
1) Yes, i have checked published
2) I'm inserting other codeunits, and making page object, and inserting in Form810

_________________
bye my work, bye navision


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: