Error In webservices

aliennavaliennav Member Posts: 449
edited 2009-07-18 in NAV Three Tier
I have sucessfully connected server & client.
I am getting the following error when I am trying to connect the webservices by using this link.
Link:http://navserver:7047/DynamicsNAV/WS/Cronus_India_Ltd.
Error:User:
Type: Microsoft.Dynamics.Nav.Service.WebServices.ServiceBrokerException
Message: Service "Cronus_India_Ltd" was not found!
StackTrace:
at Microsoft.Dynamics.Nav.Service.WebServices.MetadataManager.FindServiceItem(String fullName)
at Microsoft.Dynamics.Nav.Service.WebServices.MetadataManager.FindWsdlAdapter(String fullName)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceBroker.MetadataFor(UrlParser relivantURLPart, Uri orginal, TextWriter output)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceBroker.Invoke(Boolean isSoapMessage, String serviceName, Uri url, XmlReader input, TextWriter output)
at Microsoft.Dynamics.Nav.Service.WebServices.NavWebService.<>c__DisplayClass2.<>c__DisplayClass4.<ProcessMessage>b__1()
at Microsoft.Dynamics.Nav.Service.WebServices.Disposer.Scope(Code code)
at Microsoft.Dynamics.Nav.Service.WebServices.NavWebService.<>c__DisplayClass2.<ProcessMessage>b__0(StreamWriter streamWriter)
at Microsoft.Dynamics.Nav.Service.WebServices.WCFUtil.GetPopulatedMemoryStream(StreamFillingCallback callback)
at Microsoft.Dynamics.Nav.Service.WebServices.NavWebService.ProcessMessage(Message message)
at SyncInvokeProcessMessage(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
Source: Microsoft.Dynamics.Nav.Service.WebServices


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.



THIS ERROR I HAVE SEEN FROM EVENT VIEWER.

Answers

  • ara3nara3n Member Posts: 9,255
    It looks like you have a Dot (.) at the end of Ltd. Search the forum or freddy blog.
    There is info on how to convert special characters.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • aliennavaliennav Member Posts: 449
    System is asking for user authentication with dot(.) and without (.). So, its not the issue of dot(.).
    I am trying to access this URL
    http://navserver:7047/DynamicsNAV/WS/CRONUS_India_Ltd.

    NAVSERVER is the name of the server.
    7047 is the default webservices port.
    System is asking for the authentication but when I am accessing using the administrator account it is giving me the error.
    Also, I have used Administrator as a log on for windows also.
    What might be the problem??
  • aliennavaliennav Member Posts: 449
    aliennav wrote:
    System is asking for user authentication with dot(.) and without (.). So, its not the issue of dot(.).
    I am trying to access this URL
    http://navserver:7047/DynamicsNAV/WS/CRONUS_India_Ltd.

    NAVSERVER is the name of the server.
    7047 is the default webservices port.
    System is asking for the authentication but when I am accessing using the administrator account it is giving me the error.
    Also, I have used Administrator as a log on for windows also.
    What might be the problem??

    Error I am getting is:


    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.



    Please try the following:

    Open the navserver:7047 home page, and then look for links to the information you want.
    Click the Refresh button, or try again later.

    Click Search to look for information on the Internet.
    You can also see a list of related sites.




    HTTP 500 - Internal server error
    Internet Explorer
  • Ravi_ThakkarRavi_Thakkar Member Posts: 392
    Hello Alienav,
    aliennav wrote:
    CRONUS_India_Ltd. is the Company name.
    You should write there a Service name like Page web service or Codeunit Web Service.

    Or if you want to view all the services which you have published then you should write,
    http://navserver:7047/DynamicsNAV/WS/Services

    It will display the Services of NAV published from NAV DB.
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
  • aliennavaliennav Member Posts: 449
    I removed the proxy.
    It's working now.
  • Ravi_ThakkarRavi_Thakkar Member Posts: 392
    Mark this post as Solved.
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
  • aliennavaliennav Member Posts: 449
    Solved
  • Ravi_ThakkarRavi_Thakkar Member Posts: 392
    Not by writing Solved message.

    Go To,
    http://mibuso.com/forum/faq.php?mode=rules
    Read Rule 9:
    Mibuso wrote:
    When your question has been answered and your issue has been solved, it is good practice to mark your posting as solved. This way other people know this question has been answered or can lookup the solution to that problem. If you have found the answer yourself, please let us know how you solved it, and mark your posting as solved as well.
    You'll find an option "Topic attributes" at the bottom of the page, where you can set (or clear) the Solved-icon.
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
Sign In or Register to comment.