web-services

IIS 10: How can I solve 403 in the production environment?

跟風遠走 提交于 2020-01-16 08:45:29
问题 EDIT: SOLUTION in the comment! I have to offer a SOAP service. He indicates a HTTP-403 error. I need access to the http://10.234.35.19:80/?wsdl and the API SPAPort. Therefore, I assume that either my configuration is wrong or the file permissions on the folder. Which user does one have to give read access to a server? Maybe the should be replaced with service? The code below shows the production environment: <?xml version="1.0" encoding="utf-8"?> <configuration> <!-- <system.diagnostics>

How does the SOAP server determine which operation it should perform?

不羁的心 提交于 2020-01-16 07:58:09
问题 I would like to ask what exactly is supposed to be in the Body element of the SOAP request. I would assume that it should be an element defining the name of the operation which I want to invoke. I would also assume that inside this element there should be a structure corresponding to the input parameter of this operation. However, if I take the following WSDL: http://adisrws.mfcr.cz/adistc/axis2/services/rozhraniCRPDPH.rozhraniCRPDPHSOAP and let SoapUI generate the request for the

Sending file to secured SOAP web service using apache http client

我是研究僧i 提交于 2020-01-16 07:18:49
问题 There is a SOAP service written which is for any file transfer. I need to call that service using apache http client library. First thing to be noted is that the service is secured with password digest. I have username and password. Second, I need to pass a file as an attachment. I have come across the following code void post(String strURL, String strSoapAction, String strXMLFilename) throws Exception{ File input = new File(strXMLFilename); PostMethod post = new PostMethod(strURL);

is it a good practise to self host wcf service in production

人走茶凉 提交于 2020-01-16 05:34:48
问题 I am creating a WCF service, I would like to self host it in production,Is this possible ? and if possible is it a good practice, And i did searched the web and i found a lot of explanations but not a reference about self hosting service in production.Please give your suggestions. 回答1: Each type of hosting is suited to particular business requirements. Here is an example of when to use self-hosting services from Programming WCF Services by Juval Lowy : Use self-hosting when you want a process

WCF service not impersonating specified user in config?

心已入冬 提交于 2020-01-16 05:15:08
问题 I have a basic WCF service using basicHttpBinding. I have my site project and my services project. In my site project, I have a regular Services Reference to a service in my services project. In my development environment, it works fine. However, in our staging environment, we have enabled impersonation on the services application. This service connects to a SQL database using this user, of course. The issue is, while the other ASMX services seem to impersonate just fine with the user defined

How do I upload a file, process it and return a result file in a single request to a REST WCF service?

ⅰ亾dé卋堺 提交于 2020-01-16 05:09:06
问题 I need to implement the following scenario in a REST service implemented in WCF: the user submits a binary file and a set of parameters the server consumes the file, does some clever work and generates a binary output file the user retrieves that binary result file and all that is done in a single operation from the client perspective. It's pretty easy in a non-REST service. How do I do that in a REST service? Where do I get started? 回答1: The tricky part is that the XMLHttpRequest object

Unable to debug web service project in Visual Studio 2008

…衆ロ難τιáo~ 提交于 2020-01-16 04:55:26
问题 I've been assigned a web app written in VB using VStudio.net 2003. I am trying to configure the source on my localhost (VStudio 2008) so I can explore and learn about the current app (before I begin any real changes) and I cannot get debugging working for the web service project(s). Symptom 1: "Unable to automatically step into the server. The remote procedure could not be debugged. This usually indicates that debugging has not been enabled on the server. See help for more information". This

Unknown WebService description and consume it from C#

房东的猫 提交于 2020-01-16 04:06:32
问题 I'm quite a noob and have been developing 'seriously' (as my job) from a couple of months barely, so i apologize in advance for my ignorance. There is this web service that i need to consume from a C# client on an aspx page I want to develop, but first I need to understand the webservice, I'm not sure which language it's made upon but I think it's PERL, since the web service's URL is like this "http://wschsol.mideplan.cl/mod_perl/xml/fps-by-rut". This webservice was developed by other people

ServiceStack Exception: 'Handler for Request not found' when trying to insert Entry to SqlLite db

非 Y 不嫁゛ 提交于 2020-01-16 03:38:48
问题 I'm just learning how to use ServiceStack and I am getting an exception that I can't get past and not sure what is causing the exception. Here it is: Handler for Request not found: Request.ApplicationPath: / Request.CurrentExecutionFilePath: /entry/5/11-11-2012 Request.FilePath: /entry/5/11-11-2012 Request.HttpMethod: GET Request.MapPath('~'): C:\Projects\Tutorials\FirstServiceStackApp\FirstServiceStackApp\ Request.Path: /entry/5/11-11-2012 Request.PathInfo: Request.ResolvedPathInfo: /entry/5

web service asmx under IIS and shared memory

夙愿已清 提交于 2020-01-15 13:39:55
问题 I have a windows console application that use shared memory for communicate with other process, I need to share data with this process from a web service hosted on same machine. When I use visual studio development server all works fine, but I have FILE NOT FOUND ERROR (code 2 ) when I try to open a memory-mapped file from web service application under IIS 6.1. These are functions for create and open memory-mapped file, I think that IIS use a different memory space, is possible ? [DllImport(