Web Service consuming issue

DSZDSZ Member Posts: 4
edited 2008-12-05 in NAV Three Tier
Hi,

I installed NAV 2009 on two pcs, both with RTC, ClassicClient and Service Tier. The web service is also started on both.
On one pc I have issues to consume the web service or even displaying the web service definition in the internet explorer

PC 1 IP 172.20.8.14
If i use one of these url in the internet explorer I get an empty page.
http://172.20.8.15:7047/DynamicsNAV/WS/Systemservice
http://172.20.8.14:7047/DynamicsNAV/WS/Systemservice
If I call http://172.20.8.14:7047/DynamicsNAV/WS/Systemservice1 I also get an empty page. I only get an error in the event log "Service "Systemservice1" was not found!".

If I try to add SystemService to as a web reference in visual studio 2005 the meta data is also not displayed but the available services. This is displayed in the attachment.


PC 2 IP 172.20.8.15
If I use one of these url in the internet explorer I get the "normal" page with the web service definition.
http://172.20.8.15:7047/DynamicsNAV/WS/Systemservice
http://172.20.8.14:7047/DynamicsNAV/WS/Systemservice
If I call http://172.20.8.14:7047/DynamicsNAV/WS/Systemservice1 I get "web page cant be displayed". This is what I expected.

Adding web references in Visual Studio 2005 works also just fine.

Has someone an idea how this strange behavior could be solved?

CTP 3 and 4 were previously installed but were deinstalled and any still remaining files and registry information were removed prior to installing NAV 2009. I had no issues with the web services in CTP 3 or 4.
Daniel

Comments

  • freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    What operating system are you running and which browser type/version?
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
  • TobyToby Member Posts: 1
    Same Problem, installed Nav 2009 on a Mircosoft Vista PC.

    The webservices wsdl are correctly shown in internet explorer 7 but firefox 3.0.1 shows only a blank page.

    Could this be a right problem?


    Toby
  • freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    If I search the internet for FireFox and WSDL, there are a lot of hits that Firefox doesn't handle WSDL correct - and I guess this proves that NAV Web Service WSDL doesn't display in FireFox either.

    But it doesn't explain why it didn't show up in Visual Studio...
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
  • Tom_CorneliusTom_Cornelius Member, Microsoft Employee Posts: 18
    If the original poster is using Windows Server 2003 or 2008, they should be aware that there may be some security settings to tweak in IE, but again that does not explain why Visual Studio would have a problem showing the WSDL.

    DSZ, please try to view the disco table on PC1 (which OS BTW?):

    http://172.20.8.15:7047/DynamicsNAV/WS/Services

    ...and try again in Visual Studio.
    Tom Cornelius
    Test Lead
    Microsoft Dynamics NAV

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • DSZDSZ Member Posts: 4
    Of course I forgott to mention some needed information..
    The OS is Vista 32 Bit with the latest updates and intenet explorer 7.

    @Tom
    I tried already your and some other URL, all had the mentioned effect. I get a blank page even with wrong URL like the SystemService12345. That is something I don't understand.

    @Freddy
    I believe that visual studio uses some feature of the internet explorer to display the wsdl. At least this would explain why both are empty.


    It seems that it is "only" a display issue. If I add the web reference, for example the published customer page, I can create an object and use it without problems.

    Strange but at least I can work with it. :)
    Daniel
  • freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    The SystemService contains functions for enumerating the companies - company name is not necessary for that.
    Actually you can get the WSDL for all web services without specifying company, but you are right that you cannot invoke methods without company name.
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Sign In or Register to comment.