Error in self-hosting service stack webservice in F# - service

I am creating service using servicestack. I have copied self-hosting code from github Wiki- servicestack. PFB code which i have written .
And I am getting below error.
Please let me know what is error in this.

Related

apiary service responding 410 Gone

I am using apiary service to generate the offline documentation using below command
apiary preview --path=docs/tmpApi.apib
It was working so far, but noticed today that it is giving error "apiary service responded with an error: 410 Gone".
Any idea, what has gone wrong with the service?
Try updating the apiaryio gem please. I was able to make it work on my side.
It sounds like the older gem is pointing to an old version of the service - we'll improve that error message.
Emmanuel

toy web service on Eclipse- trouble with glassfish4 server

I am new to Java EE, and am trying to learn how to create a web service. I followed the instructions given at this link- http://www.eclipse.org/webtools/community/education/web/t320/Implementing_a_Simple_Web_Service.pdf to create a simple Hello World web service. I got into trouble when trying to get Eclipse to start the glassfish4 server. I get the error shown below-
I am not sure what ${sunappserver.rootdirectory} means and how it is defined. Much appreciate anyone who can help me understand this and get it working.
Check your glassfish installation. This file contains lots of configuration details. Your Exception means it is missing! Maybe there is a backup called domain.xml.bak in the same directory.
Mine is in /usr/local/glassfish4_1/glassfish/domains/domain1/config/domain.xml

Soap web service client

We are integrating our software with another company using a webservice. They created a SOAP web service which we now need to test.
I'm trying to write a java program with Eclipse IDE. When creating a web service client, I enter the wsdl:
[https://xxxxxxxxx/xxxxxxx/index.php/gt/property/soap?wsdl]*
but I keep getting a message that states: The service definition is invalid.
Any ideas as to why this would be or any links I could check out would be appreciated. I have searched but haven't found anything that helped me yet.
Thanks!
If you are going for a Java program you could use,
Web service client given WSDL
But if you just want to test the web service, you could always use program like SoapUI

Deploying a BreezeJS using EntityFramework and WebAPI

I am trying to deploy an application created using Breezejs and EntityFramework using the Breeze WebAPI. When I run it in my development environment it runs perfectly, but the minute I upload it to our server I get the following error "Error: Metadata query failed for: ../api/Entity/Metadata; Not Found" when I try and make a call.
In my development environment if I go to "localhost:59510/api/Entity/Metadata" I can see the xml displayed, but if I go to "www.example.com/api/Entity/Metadata" I get the error.
Am I missing a dll somewhere? Is it an error with my configuration in breezejs, web api's or with EntityFramework?
Thanks
Jeff
Sounds like you are missing something. Check the event viewer on the deployment machine. Could also be missing the breeze controller dlls

weborb and wcf service library with ado .net entity framework

i've created a wcf service library with ado .net entity framework to handle the retrieving of data from the database and send it to the user.
i've been testing it in visual studio without any problems.
so, i moved the dll of the service and the xml configuration file to the bin folder of weborb, changed the web.config to add my service.
but when i invoke the service from the webconsole i get this error:
>The server was unable to process the request due to an internal
>error. For more information about the error, either turn on
>IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute
>or from the <serviceDebug> configuration behavior) on the server in
>order to send the exception information back to the client, or turn on
>tracing as per the Microsoft .NET Framework 3.0 SDK documentation and
>inspect the server trace logs"
can anyone give any help with this?
how can i get a working wcf service library using ado .net entity framework in weborb?
help would be appreciated.
thanks in advance.
Have you checked the WebORB log?
Then start off by trying the WebORB examples from here.
The WebORB log should give you more detail about the error. With that info, I would post a question on the WebORB forum.