mibuso.com

Microsoft Business Solutions online community
It is currently Fri May 24, 2013 1:30 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: can not call web service in visual studio .net
PostPosted: Tue Nov 29, 2011 5:30 am 
Offline

Joined: Fri Feb 25, 2011 3:46 am
Posts: 145
Country: Cambodia (kh)
i try to call web service in Microsoft visual studio .net but i got an error

Could you advise please..

==========================================================

There was an error downloading 'http://NAVSVR:7047/DynamicsNAV/ws/Cronus_International_Ltd'.
The request failed with the error message:
--
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:Microsoft.Dynamics.Nav.Service.WebServices.ServiceBrokerException</faultcode><faultstring xml:lang="en-US">Service "Cronus_International_Ltd" was not found!</faultstring><detail><string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Service "Cronus_International_Ltd" was not found!</string></detail></s:Fault></s:Body></s:Envelope>
--.
Metadata contains a reference that cannot be resolved: 'http://navsvr:7047/DynamicsNAV/ws/Cronus_International_Ltd'.
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate'.
The remote server returned an error: (401) Unauthorized.
If the service is defined in the current solution, try building the solution and adding the service reference again.


Top
 Profile E-mail  
 
 Post subject: Re: can not call web service in visual studio .net
PostPosted: Tue Nov 29, 2011 7:27 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)
Delegation? SPNs? Wrong URL? (spaces or %20 instead _) ;-)

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


Top
 Profile E-mail WWW  
 
 Post subject: Re: can not call web service in visual studio .net
PostPosted: Mon Dec 05, 2011 6:13 am 
Offline

Joined: Fri Feb 25, 2011 3:46 am
Posts: 145
Country: Cambodia (kh)
kine wrote:
Delegation? SPNs? Wrong URL? (spaces or %20 instead _) ;-)


Sorry Kine i don't understand Delegation or SPNs


Top
 Profile E-mail  
 
 Post subject: Re: can not call web service in visual studio .net
PostPosted: Mon Dec 05, 2011 8:48 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)
Than you need to lear about them. Just read the documentation for how to install the service tier on different computer than SQL (MSDN, my blog etc.).

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


Top
 Profile E-mail WWW  
 
 Post subject: Re: can not call web service in visual studio .net
PostPosted: Thu Apr 12, 2012 5:18 pm 
Offline

Joined: Thu Apr 12, 2012 3:12 pm
Posts: 1
Country: United States (us)
You have to add /Page/WEBSERVICENAME to the path!
'http://NAVSVR:7047/DynamicsNAV/ws/Cronus_International_Ltd/Page/SOMEWSNAME'


Top
 Profile E-mail  
 
 Post subject: Re: can not call web service in visual studio .net
PostPosted: Fri Apr 13, 2012 9:43 am 
Offline

Joined: Mon Sep 08, 2008 10:25 am
Posts: 488
Location: Switzerland
Country: Switzerland (ch)
Underline is wrong. Since NAV2009 SP1 you need to use %20 which is the correct uri encoding for a space

_________________
My Blog


Top
 Profile  
 
 Post subject: Re: can not call web service in visual studio .net
PostPosted: Tue Jun 05, 2012 2:00 pm 
Offline

Joined: Tue Feb 26, 2008 9:36 pm
Posts: 47
Location: Stockholm
Country: Sweden (se)
Did you solve this issue?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 16 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: