web-services

Cross-domain policy not taking effect

Hi, I've created a ClientAccessPolicy.xml that looks like this: <?xml version="1.0" encoding="utf-8"?> <access-policy> <cross-domain-access> <policy> <allow-from> <domain uri="*"/> </allow-from> <grant-to> <resource path="/" include-subpaths="true"/> </grant-to> </policy> </cross-domai...

Unable to get all fields of a list using GetListItems in sharepoint web services

I want to retrieve al the fields from each element in list. The only way I have found is to create a view that contains every field. But I don't want to create a new view. I have tried , but it does not seem to be honored. If it worked I could get all the fields with GetList and populate ViewFields based on that. Is there a view to over...

VB.Net Web Services For Dummies

(Edited to add an example and hopefully make it a bit clearer) I'm mainly a VB6 developer, but am currently trying to write a web service using VB.Net to allow for communication between our product and a third-party. The third-party software will invoke our web service to update various data. I've read up various things on how to do t...

How can I handle Castor unmarshaling of SOAP messages when the namespace is defined inside the operation tag?

I am developing a contract-first web service based on Spring-WS. I'm relying on Castor marshaling, and I have run into the following issue. Requests are being accepted when the "xmlns" namespace is defined in the Envelope tag, such as: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="h...

Moving MS Excel data to a website via a web service.

I have an Excel spreadsheet template with data and a chart. I want to be able to publish (repeatably) the raw data to a web server using using a web service interface. I would like to do this with vanilla Excel--no add-ons or required ActiveX controls, etc. I am open to suggestions on the web service technology: REST, etc. Are there a...

Why do web service or HTTP handler calls give two unauthorized errors and then a single success?

When accessing an application I've written FireBug shows that each call to a web service or HTTP handler is attempted three times, and the first two times show as '401 Unauthorized' even though they return the correct result. This consistent. Every call does this same thing. Any ideas why this happens? ...

Rails Web Service SOAP Client

Hello I am getting an error when trying to access a web service via soap soap_client = SOAP::WSDLDriverFactory.new("http://api.upsidewireless.com/soap/Authentication.asmx?WSDL") driver = soap_client.createDriver @p = driver.GetParameters(:username => 'uname', :password => 'pword') #ERROR => wrong number of arguments (1 for 2) I can c...

.Net default proxy setting

Hello everyone, If I have a client application which needs to call a web service. I want to know the pros/cons and impact if I set default proxy property to true or false in app.config file? Thanks! Here is the property I am talking about. http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx regards, George ...

Modifying security on installed certificates

We are working on creating an installation package for a WCF-based web service. The service uses message-level encryption via an installed certificate. I am trying to come up with an automated way to both install the certificate and set its permissions. Currently, we are manually installing the certificate via the MMC snap-in. After it ...

iPhone REST client

Does anybody know is there any good library for iPhone SDK to call REST web service. I want to have something simple like Heroku rest client ...

Tool For Constructing HTTP Requests

I'm looking for the best tool that allows me to construct my own http requests. Like the firefox addon poster. Any suggestions. I'm looking at doing some security testing on webservices. Thanks ...

How to return HTTPResponse from ASMX web service to consumer web page

I am working on an ASMX web service; trying to create a method that will download a document from a server and show the document in the browser (the calling .aspx web page). My service builds without error but I get the following error when I try to "Add Web Reference" in my Proxy class project: System.Web.HttpResponse cannot be seriali...

c# translation to PHP Array key

I am trying to call a PHP Magento store web service from C#. How do I create this type of an "ARRAY KEY" in C# to pass to PHP: call( $sessionId, 'product_stock.update', array('Sku', array('qty'=>50, 'is_in_stock'=>1)) ); Here is a link to the magento wiki for the call: http://www.magentocommerce.com/wiki/doc/webservice...

C# Web Service Impersonation

If I enable impersonation in a web service with identity="someID"... As web service is MTA application the impersonation that is applied may be applied to a worker thread and not the thread that actually call the method... I guess you might get an access denied error...Without problematically doing impersonation .. just by enabling it in...

Determine transfered data size for a web service call in .NET CF

Hi, I'm developing a .NET CF client application and using web services for data transfer. I'm using SharpZipLib to compress transfered datasets so I know the size of the transfered byte array. I wonder is there an easy way to determine to complete request size (html headerder, soap envelops and the real data) for a single call. I reall...

What is best practice for 'private' public URLs?

What is considered best practice to generate a URL that is publicly accessible, but shared via a side channel, so that it is in practice private to the group sharing it? Something like: http://example.com/club/XX-XX-XX-XX http://example.com/club/YY-YY-YY-YY Where XX-XX-XX-XX shared among one group, and YY-YY-YY-YY is shared by another...

Best way to consume .NET web services in Java

I'm trying to consume some .NET web services using JAX-WS. I have generated the Java classes using the wsimport tool. However, when I try to use these (proprietary, not public) web services in Java, I notice that most of the methods and properties provided by the vendor in their C# examples are not avaiable in the generated classes (desp...

Error while accessing ASP.net webservice using JQuery - JSONP.

Please look at the code below and help me to figure out what am I doing wrong in my web service code. I want to set up an asp.net web service that can be consumed using an JSONP. I am using Jquery at client side to access the site. Even after setting up proper attributes my web service still emits xml due to which the aynch call fails. ...

Do asynchronous web service calls always call the AsyncCallback?

I'm making asynchronous web service calls from a C# app: { //Put UI in 'loading' state ... //Now call web service webServiceProxy.BeginMyMethod(param, new AsyncCallback(MyCallback), null); } private void MyCallback(IAsyncResult res) { ... //process result // Put UI back in normal state (yes I'm marshalling back to t...

Replacement for JAXMServlet?

I am maintaining an application that has classes (written in 2005) that extend javax.xml.messaging.JAXMServlet. While upgrading to a new app server that implements the latest J2EE standards, I discovered that JAXMServlet was removed in JWSDP 2.0 (Java Web Services Developer Pack), according to this question (and apparently JWSDP itself h...