web-services

Web Service attempt Giving SoapException, why and what to do?

I learned about the basics of making a web service with Visual Studio 2008 ASP.Net + VB. And I got the "Hello World" working, but for some reason I can't get a function method to work the same way without this error, and I can't any info anywhere what to do about it. Code: *Web Service:* <WebMethod()> _ Public Sub logEvent(ByVal ...

Error when calling ASP.NET web services from Javascript

I'm trying to call a ASP.NET web service from Javascript, and it won't recognize the Web Method, even when I fully qualify the name, I'm trying to figure out what is wrong. Here is the part of my web.config file: <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Scri...

Does the word "Webservice" imply a specific format?

Bare with me if this question is plain stupid... When I talk to an developer from the Microsoft ASP.NET world and he uses the word "Webservice", does that word in every case imply a specific data format (XML? SOAP?)? Or is it just anything you can call via http(s)? ...

Debugging the Interwoven Worksite Web Services

EDIT: Web Services being called from a windows console application at present, using VB.Net and Visual Studio 2008 We are using the Interwoven Worksite Web Services and are having issues debugging them. The web service is returning the following error: "Unable to access the object. It may have been deleted or you may not have sec...

Enable multiple HTTP Methods on a single operation?

I have an operation contract (below) that I want to allow GET and POST requests against. How can I tell WCF to accept both types of requests for a single OperationContract? [OperationContract, WebInvoke(Method="POST", BodyStyle = WebMessageBodyStyle.Bare, RequestFormat = WebMessageFormat.Xml, ResponseFormat = WebMessageForm...

Is it possible to secure a web service with Forms Authentication?

We are looking to secure a bunch of ASP.Net 2.0 .asmx web services. The which will host the web services is already forms authenticated. Is it possible to secure the web services using forms authentication? What are the pros and cons and other possible ways to achieve this. We certainly don't want to pass a username/pwd or token in each...

flex webservice fault : HTTP request error

Hi Guys, Im using Flex 3 and the WebService component. I started getting the following fault HTTP request error when making a call to service method. This error only showed up and i cant figure out whats causing it <mx:WebService useProxy="false" id= "myService"> <mx:operation name="getName" resultFormat="object" ...

How can I trace IIS 500 errors thrown by my webservice

Aloha I have deployed a new version of an ASP.NET webservice. The IIS logfile reports an errorcode 500 when this service is being called by a client. My own (test) can use the service without any error. I have enabled errorlogging in my ASP.NET webservice, but no error isbeing logged, which leads me to believe the error is not thrown by...

What should we implement to authorize clients to use our web service?

We have a web service that we will be hosting on a public web server and it will be contacted by web services hosted on web servers within the walls of a hospital. We have written both pieces of the software so we have complete control over what is implemented. We would like to secure communications between the two web servers. Curren...

What is the best / most flexible way to have WCF output XHTML?

What is the best / most flexible way to have WCF output XHTML? If there is no "WCF Way" (tm) to do XHTML output - is there any common tooling out there for it? Or do I need to roll my own? ...

UnauthorizedAccess in DynamicsSecurityConsole

In the DynamicsSecurityConsole (for administering the Dynamics Web Services), I'm having an issue trying to add users to new Role Assignments. Though my windows user is part of the Security Administrators defined at the top of the tree, I get an error trying to do anything with users, groups or roles. Each time I get an error message tha...

Calling Webservice with authentication using vbscript

How do I get username and password in webservice when I use vbscript code as below. call oXMLHTTP.open("POST","http://localhost:11883/ServiceCall.asmx/GetEmloyee,false,testUser,testPasword) ...

ASMX Web Service Expose Class

Hi all, I'm creating a basic web service in asp.net/c# using simple ASMX services. When I create a method that returns a class, this class definition is discoverable by clients of the service. I'm wondering if there is a way to expose a class to the service that isn't used directly in any of the service methods. I need my service clien...

Large request when sending TIFF image via SOAP

We have a WebService with a method to upload images, this method accepts a byte array which is a TIFF. On the client side the TIFF is loaded with Image.FromFile(path) and then saved into a MemoryStream. Then memoryStream.ToArray() is called which results in a byte array which is used in the WebService request. Currently we have a TIFF ...

Can I serialize a Data Table or Data Set to transfer over a Web Service in C#?

I am using a web service to query data from a table. Then I have to send it to a user who wants it as a DataTable. Can I serialize the data? Or should I send it as A DataSet. I am new to Web Services, so I am not sure the best way to do it. ...

Sharing data types from multiple Web References.

Say a vendor has provided two separate webservices, which both share the same data types and same namespace. e.g. The following webservices both contain similar objects, such as a TestCredentials object: TestWebservice/Testwebservice1.asmx TestWebservice/Testwebservice2.asmx Including these into Visual Studio using web references I ...

Which programming language should I choose for my high performance webservice?

I am in the process of building a Web Service API for my application. Also, I am planning to expose the Service via both REST and SOAP. I'm interested in getting some feedback from the community as to which programming language I should choose to implement the service? (I know C#, Java and Ruby - RoR well enough to create the service). ...

Coerce types in different namespaces with Identical layout in C#

I've started writing an interface for FedEx's webservice APIs. They have 3 different APIs that I'm interested in; Rate, Ship, and Track. I am generating the service proxies with SvcUtil.exe. The different service endpoints are each specified by FedEx in their own WSDL files. Each service endpoint has it's own xml namespace (e.g. http...

WCF Authentication with custom ClientCredentials: What is the clientCredentialType to use?

I had to ditch the basic WCF UserName/Pwd security and implement my own custom client credentials to hold some more info beyond what is provided by default. I worked throughthis MSDN article, but I'm missing something because it doesn't work. First, I have some custom ClientCredentials that provide a custom ClientCredentialsSecurityTok...

Using JQuery to call a WebMethod

I am having trouble getting inside my Search WebMethod from my JQuery call. Maybe someone could help to point me in the right direction. I also packed up everything into a zip file incase someone wants to check it out for a closer look. http://www.filedropper.com/jsonexample Thanks Ryan <%@ Page Language="VB" AutoEventWireup="fal...