web-services

C# - Error passing object to web service

I already searched a lot in Google. I created a EntityClass on client side, and then I added the library reference of this class on Web Service side. But when I want to call the method, it shows this error: Error 2 Argument 1: cannot convert from 'Services_Library.UserService.UserServiceSoapClient' to 'Services_Library.UserService.Us...

C# - How Can I Pass an object to a web service?

Possible Duplicates: C# - How to pass an object to a web service? C# - Error passing object to web service I already searched a lot in Google. I created a EntityClass on client side, and then I added the library reference of this class on Web Service side. But when I want to call the method, it shows this error: Error 2 ...

Advantage of RESTEasy over Apache CXF ?

I have Restful web-service implemented using Apache CXF. Since I am going to use JBoss for deployment, I am thinking of moving to RESTEasy as it provides better JBoss integration. What are the advantages of RESTEasy over Apache cxf apart from better server integration? ...

C# - Is it possible to pass an object to a web service without explicity serialization?

Possible Duplicates: C# - How Can I Pass an object to a web service? C# - Error passing object to web service If possible, how? ...

Get/post to RESTful web service.

I need to do some GETing and POSTing to a RESTful web service from VB6. What is the best and simplest way to do that? ...

.NET - Is there the attribute [DataContract] for a Web Service?

note that I am not using WCF, i'm only using ASP.NET web service. Anything similar? Thank you. ...

Trying to create a web service in VS 2008 and I can't get the wsdl and disco files created

How do I create wsdl and disco files for a web service using visual studio 2008? I can create the service and run it through VS but when I try to create the files nothing happens. I also need this service to run in sharepoint 2007 as well as outside sharepoint. ...

WebReference and Source Control

I have a C# application that uses several web services which were added to my project as web references. I want to know what files i should check into source control. in my project there is a folder structure from my project directory that looks like this: Project Web References WS WS.wsdl Reference...

How to pass string array as BSTR* to web service proxy

In VS2005 I have generated a web reference to a web service that takes a 1-dimensional array of strings ("inputArray") as an input parameter. The proxy function generated for this web service call asks for two parameters: BSTR *inputArray int inputArray_nSizeIs What is the proper syntax for passing in inputArray as a BSTR*? Currentl...

How do I allow the GET request for only one method or webservice?

As I've found here, I can change the webconfig to allow/disallow methods on webservices. I need only one method to be a GET and for the others it should be a POST, is there a way to configure just one method (or maybe webservice if there is no other way) to accept GET requests? I am on IIS7. ...

flex4 and webservice "Cannot resolve element definition for ref "

hi,everybody. my english is not so good,but i still hope someone can help me. when i was try to visit my webservice from .net ,the flex4 has show this error: "Cannot resolve element definition for ref 'http://www.w3.org/2001/XMLSchema::schema'" and i can't find out the problem. I'm upset for several days. here is a link,it's close...

What to use for building a service tier in PHP?

I come from a MS / C# / .Net background, and am accustomed to everything that the .Net Framework has to offer, including WCF. When building a service tier in .Net, the choice of what framework to use is easy: WCF. WCF gives you the ability to write something once, and the flexibility to expose that functionality in multiple ways and in...

SQL Server: Import XML from web-server?

Is there support in SQL Server for loading/reading/transferring/importing/fetching/inserting XML, directly from a web-server, into a table? Pretend i want to fetch XML from a web-server, such as: exchange rates published by the Bank of Canada a web-site's current sitemap an rss feed SQL Server 2005 (and newer) has native support fo...

ASP.net Web Services issue

Hello, I have a single WebMethod which will return List object as shown below [WebMethod] public List<ContactMaster> GetContacts() { //ContactMaster contact = new ContactMaster(); List<ContactMaster> contacts=new List<ContactMaster>(); IQueryable<ContactMaster> contact = from c in ...

Spring-WS vs JAX-WS

Hi - Im new to Web Service world and can someone say how different is JAX-WS from Spring-WS and which one to use. Regds Laks ...

How does web services (on .NET) work with "external" data consumers (IPhone)?

I need to write a web service on a .NET platform for an IPhone client. I'm using JSON. My question is - how will the client recognize my objects without using .NET?? Will I be able to receive objects, or all I can receive are strings which I need to deserialize? What happens when one of my method's parameters is an "out" parameter?? ...

.NET3.5 Webservice authentication: what to choose?

Hello, I have a site on .NET 3.5 platform with implemented custom authentication for site users. Now I'm going to provide site api for users. Probably WSDL (as it has good integration with Visual Studio) Api will will provide access to private info, so to access it API user should be authenticated. Question 1 is: what webservice typ...

How do I access a password-protected WSDL using JAXWS without using default Authenticator?

wsdlLocation below is password protected, but paranoia makes me uncomfortable with having set a default Authenticator for the application. How can I set authentication without using a default Authenticator? protected Orders getOrdersPort(String wsdlLocation, String namespaceURI) { Authenticator.setDefault(new Authenticator() { ...

web service start problem

Hi, I want to create bottom up web service. I have configured axis2 and eclipse. But while creating web service it is giving following error IWAB0489E Error when deploying Web service to Axis runtime axis-admin failed with {http://xml.apache.org/axis/}HTTP (502)Proxy Error ( Connection refused ) I searched lot for the error. Onl...

How to call with credentials a .NET Webservice from Android?

I´m having trouble using .NET Web Services with the Android Platform because the web service i want to consume is locked behind Windows (NTLM) authentication. How can i to use NTLM authentication with an HttpClient request in a android application? Regards ...