I have a VS2008 solution containing two projects, a web service (the actual work I'm doing) and a web application (that I'm using to test the service). The latter has a "web reference" to the former. It is also set as the startup project, so that when I start debugging VS sets up two ports on localhost, one for the app (which runs its de...
I'm trying to create a REST web service that exposes the following Django model:
class Person(models.Model):
uid = models.AutoField(primary_key=True)
name = models.CharField(max_length=40)
latitude = models.CharField(max_length=20)
longitude = models.CharField(max_length=20)
speed = models.CharField(max_length=10)
...
What are the datatypes that can be returned by webservices and web methods?
...
Currently, I'm looking for any experiences or advices about test tools on Service Oriented Architecture (SOA) Java developments.
Which the bestpratices and best tools for this job ?
Thanks for your time
...
my webservice method returns a collection object, this will serialize nicely, thanks to the way C# web services work!
But if my code throws an uncaught exception, I want to instead return a custom error object.
Is this possible using c# asp.net v2?
for example
Normal Operation should return:
<Books>
<book>Sample</book>
<book>Sa...
I have some webservices hosted in a sharepoint environment on a virtual machine. These services are accessible from within the VM, but when I try to invoke this service from my asp.net application on the host machine I get an error with status 500 and a soap fault exception (unauthorized access). The IIS setting on both host and VM all...
Hello,
My question is needed for some basic understanding off webservices and more specificly
in conjunction with php
I would like to know, if it is neccasary to have a wsdl file for the creation off a webservice or is that just something that is usefull to third party's that want to access the webservice?
Also, it's generated automati...
I'm getting a 401 (access denied) calling a method on an internal web service. I'm calling it from an ASP.NET page on our company intranet. I've checked all the configuration and it should be using integrated security with an account that has access to that service, but I'm trying to figure out how to confirm which account it's connectin...
Spring-WS generates WSDL without operations in binding tag... Do you know why?
There is my spring-ws-service.xml:
<import resource="classpath*:application-context.xml" />
<!-- Register PayloadRootAnnotationMethodEndpointMapping -->
<bean class="org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpo...
I have a webservice that takes PrintersSetting and a file from a users PC and prints them to the printer on our print server. PrintersSetting settings is being a set by the user In Dev and Testing environment it works fine but in production I am getting an error "Access Denied". we have made sure that the "Everyone" has access to the ...
I'm trying to write a restful web service in java that will take a few string params and a binary file (pdf) param.
I understand how to do the strings but I'm getting hung up on the binary file. Any ideas / examples?
Here's what I have so far
@GET
@ConsumeMime("multipart/form-data")
@ProduceMime("text/plain")
@Path("submit/{client_id...
I' building an ASP.NET web service.
I've got my code defined as below, but I can't figure out how to the the wsdl to specify the minOccurs of the FirstName and LastName properties. I want those as required, and can not be empty. Is it possible?
[WebMethod()]
public void TestMethod(TestClass Test)
{
...
}
[Serializable]
public ...
This is an interesting question I am sure a lot of people will benefit from knowing.
a typical web service will return a serialized complex data type for example:
<orgUnits>
<orgUnit>
<name>friendly name</orgUnit>
</orgUnit>
<orgUnit>
<name>friendly name</orgUnit>
</orgUnit>
</orgUnits>
The VS2008 unit testing seems to...
hey guyz,
i need to ask you that is it possible that i can get the code of the page which is built using dot net into classic asp page
actually i am accessing a webservice for which i need to have dotnet. so i want to run that service in asp.net get or parse results
and then i want to show them in a classic asp page.
is it possible, if...
I have these classes:
public abstract class CustomField
{
public String Id { get; set; }
public String Name { get; set; }
public String Description { get; set; }
public FieldType Type { get; set; }
public enum FieldType
{
String = 0,
Integer = 1,
Boolean = 2,
List = 3
}
}
p...
I'm trying to have overloaded methods in a web service but I am getting a System.InvalidOperationException when attempting "Add Web Reference" in Visual Studio 2005 (here's the relevant snippets of code):
public class FileService : System.Web.Services.WebService
{
private static readonly MetaData[] EmptyMetaData = new MetaData[0];
...
This seems like a simple question, but I haven't been able to find the answer online via many Google searches. I have a C# web service and, when I visit its ASMX page in the browser, for a particular method it always has the following:
"The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced ...
Problem: Trying to reference a .NET 2.0 web service project from my VS unit testing project.
Right click on the References folder in the unit test project -> Add Reference.
The .NET 2.0 web service is NOT listed in the listbox of projects available to reference.
I know this usecase is possible; I have previously successfully reference...
Hello everybody,
i'm about to deploy two different but dependent war-files into a single jboss (AS 4.2.x GA)
One implements some webservices (jax-ws) exposing their interfaces through
a wsdl. The other one is a (say) web frontend using the aformentioned webservices. When I drop both warfiles to $JBOSS_HOME/server/default/deploy at the ...
There are several different web services -- various technologies used, such as Java, .NET, Python, Perl, and possibly more in the future -- belonging to different organizations, and the access to those web services has to be restricted.
The idea is to have a central authentication and authorization server, only responsible for granting ...