I'm trying to create a simple Guestbook web service using ASP.NET WebServices.
When trying to serialize a list of objects, I get the following exception:
System.InvalidOperationException: The type of the argument object 'GuestBookService.GuestBookEntry' is not primitive.
How can I fix this error?
...
It is written
byte[][] getImagesForFields(java.lang.String[] fieldnames)
Gets an array of images for the given fields.
On the other hand, as long as I use the method in the web application project built on asp.net 2.o using c#;
the provided web method declared above, returns sbyte;
Have a look my code below;
formClearanceServic...
Hi,
I need to call a very complex service (It's a HL7 service) it's taking a lot of constant information.
To call from java I need to write all those information and its very time consuming.
I have sample generated XMLs, they have been filled with the constant information, I just need to change 1 parameter and send it.
More clearly; ...
I am developing asp.net web service. I am developing this web service so that OPC ( OLE for process control) client application can use it. In this web service I am using the built-in functions provided by the namespaces using OPC, using OPCDA, using OPCDA.NET. I have also added the namespace using System.Windows.Forms in this web servi...
I am trying to create a webservice that would allow its consumers to download files (can be very huge files). At the server, I have many files that need to be sent back to the consumer, so I am compressing all those file into one big zip file and streaming them back to the user. Right now, my webservice will start compressing the files, ...
Hi, I'm fairly new to WCF and API's in general so i don't know if this is even remotely possible.
I have a web service created using WCF that works fine when being used by a .net client application or SoapUI or any other reasonably intelligent software (over a basicHttpBinding). But i have a client now who insists on using it in their o...
Hi,
I need your advice. We have an already working web resource management application, we use the usal tools html, css, php, mysql, the users logs in, create a new issue and data is saved/retrieved in/from a sever, everything ok.
The thing is that they ask me to develop an iPhone app using objective-c to emulate the functionality. No...
So I had a class that referenced a class that referenced another class that called a web service.
So I learn how to create an interface using partial classes.
I inject the web service through the constructor.
Then my unit test fails because I am newing up the actual web service in the second level of the class. So I end up modifying ...
I had this awesome idea... but I am afraid maybe it is actually a bad idea....
we use unity for dependency injection.
I make interfaces from my web services using partial classes for the purpose of mocking and web services....
What I want to do is put my web services into unity and get them via dependency injection...
What do you thi...
Hi,
I am receiving the above message when making a request to a java webservice.
We originally created a Java Console application and manually submitted an xml file. When running this as a Java Application the response is successfully created and displayed by using System.out.println. We are creating the web service by selecting the ja...
What is the best way to create a web service that returns a set of x,y coordinates? I am not sure on the object that is the best return type. When consuming the service I want to have it come back as xml preferibly something like this for example:
<TheData>
<Point>
<x>0</x>
<y>2</y>
</Point>
<Point>
<x>5</x>
<y>3</...
I have some websites that use ImageMagick to convert images and place them in a created folder. Locally it all worked fine, but once I deployed it to my network's webserver it would not convert the images nor create the folders. My asp.net pages that read data from a database work. All the users have full control permissions over the sit...
When you add a web service reference in VS 2008 Web site project, you get a new folder in App_webreferences. This contains a disco,wsdl and discomap file. Additionally, you get a key/value pair in the web.config which contains the endpoint URL.
Within the disco,wsdl and discomap files, the URL is strewn about leaving many places to chan...
Some clients of ours want to use data (SQL Server backend) in a web application we've developed to generate some documents (agreements, contracts, etc). They'd also prefer to have the document templates to be in a form they are familiar with and can easily generate new ones. My initial thought was to create a SQL Server Reporting Servi...
I've looked at a lot of the previous questions asked about sharepoint and accessing objects via web-services, and I am pretty convinced that tasks can be accessed through the Lists interface.
Can anybody please verify this for me?
Also, if anyone has any examples of this I would be very grateful. I'm not a Sharepoint guy but I need to...
I'd like to use client certificates to verify the identity of administrative callers to my web service. Then I can issue certificates only to the people I want to call my web service and be pretty sure noone else can call it. This is in a very controlled scenario where only one or two people will get the client certificate, so distributi...
We are currently starting to build a client-server system which will see 10 or more Apple iPad client devices communicating to a central Windows server over a wireless LAN.
We wanted to some existing plumbing (.NET remoting/WCF/web services/etc) that would allow us to implement a reliable, secure solution without having to start at a lo...
I'm looking for the best way to consume a Java web service that returns rather large and complex objects.
I am currently using Apache Axis clients generated from the wsdl, (using eclipse "generate web service client" tool). We have concerns about performance of this. The service proxy objects are not thread safe, and they are rather h...
Hi, guys!
I am working on some old Flex project (Flex 2.0.1 hotfix 2) and I am rookie in Flex programming. So, I wrote code for accessing some ASP.NET web service:
<?xml version="1.0" encoding="utf-8"?>
[Bindable]
public var users:ArrayOfUser;
private function buttonClicked():void
{
mx.controls.Alert...
I have created a new VS2008 ASP.Net Web service project, with the default name WebService1. If I right click on the Service1.asmx file and select 'View in Browser' what are the processes that go on to make this happen? I am asking because I have a situation where when I run this from a visual studio project started in our development ...