web-services

Call long running operation in WSS feature OnActivated Event

More specifically - How do I reference SPContext in Web Service with [SoapDocumentMethod(OneWay=true)]? We are creating a feature that needs to run a job when a site is created. The job takes about 4 minutes to complete. So, we made a web service that we can call when the feature is activated. This works but we want it to run asynchr...

Querying List Data From SharePoint Web Services

Has anybody ever successfully written code to extract data from a SharePoint 2007 list (specifically, an InfoPath form library) using the GetListItems() method in the http:///_vti_bin/lists.asmx service (and lived to tell about it)? It returns some of the worst XML I've seen in my life (it's not even compliant XML). Is there some easy w...

How to detect which web service protocol an ASP.NET request is using?

I have an ASP.NET (1.1) web service which authenticates clients using a SoapExtension.ProcessMessage(SoapMessage) override as described in: http://www.codeguru.com/columns/experts/article.php/c5479 However if the web.config if not set up such that HttpSoap is the only protocol allowed, then ProcessMessage will never get called for requ...

Upload Data from .net Windows Form Application

Sorry, if this sounds ignorant. Is it possible to SECURELY upload data from a Windows Forms app using an asp.net web service or some other method? If so, what is the general way of doing it? I have never used web services before. I have an IIS 6 server with .net 3.5 installed. I need to build this windows forms program, which will hold...

jXchange - How To Get Started?

jXchange is apparently some sort of Web Service made by a company called Jack Henry. It's used for (I'm assuming) talking to your core AS400 system. I've quite literally found nothing useful for documentation on how to get started using this. Does anyone have experience with this and can direct me to a good starting point? ...

ASMX Page: Unable to see available operations remotely

I'm trying to consume a webservice and while trying to add a web reference to the .asmx page where it details the operations available, I'm getting the formatted page but no operations are listed. However, when I'm hitting the same page locally, I can see all the operations available. It appears that I cannot consume the webservice rem...

Returning a complex type from its XML representation in a .NET web service

I have an XML document in a database, which is the XML-serialized representation of an instance of a certain class Foo: <?xml version="1.0" encoding="utf-16"?> <Foo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" <StringProp>hello</StringProp> <IntProp>5</IntProp> </Foo> Supp...

Does Team Lead experience in one field / industry make it difficult to move to different field?

I have just been named team lead at my company-- I'll have two people reporting to me, but still doing software development. My specialty is in hardware automation and desktop software, but I would like to get into a role in a company doing ASP.NET, SaaS, or things like that. My question is to hiring managers: Would my experience as ...

Time restricted service

Hi, i'm developing an app that make requests to the Musicbrainz webservice. I read in the musicbrainz manual to not make more than one request per second to the webservice or the client IP will be blocked. What architecture do you suggest in order to make this restriction transparent to the service client. I would like to call a me...

Large WCF web service request failing with (400) HTTP Bad Request

I've encountered this apparently common problem and have been unable to resolve it. If I call my WCF web service with a relatively small number of items in an array parameter (I've tested up to 50), everything is fine. However if I call the web service with 500 items, I get the Bad Request error. Interestingly, I've run Wireshark on t...

ASMX Web Service slow first request.

I have a bunch of .NET Webservices running in one IIS Application. These webservices are consumed by another IIS Application (frontend). The first call is pretty slow, about 5 to 10 seconds. After that it’s just milliseconds. The first call is considered a performance problem. We’ve tried an application that calls all these webservices ...

Scalability issues when we are calling web services written in .NET using asp/vbscript

We are currently calling web services on our application server through our web server using asp/vbscript. This works very well during low load. However during high load it can sometimes take up to 25 seconds to execute a query like below: Public Function GetValidLogon(storeKey, username) Dim req Set req = CreateObject("Microsoft.XMLH...

SOAP web services in erlang

Hello, Is there any good erlang library for creating / accessing SOAP web services? Maybe also handling plain XML is quite difficult. Is Json a good alternative? Any lib for that? My goal is interop with existing .Net web services. Thanks ...

Error when calling webservice with jquery

I have read a lot about jquery and i have a webservice where i convert a companyID to the real companyName. Now i want to call that webservice with jquery or javascript. The webservice is on host http://webservice/service.asmx en i'm working on http://tlmos. I don't work and i always get an error Here is my code: <script type="text/jav...

Problem generating Java SOAP web services client with JDK tool wsimport from a WSDL generated by a .NET 2.0 application

I'm trying to generate a client for some SOAP web services using the JDK 6 tool wsimport. The WSDL was generated by a .NET 2.0 application. For .NET 3.X applications, it works fine. When I run wsimport -keep -p mypackage http://myservice?wsdl it shows several error messages like this: [ERROR] A class/interface with the same name ...

Local ASP.Net connection issues

I have been trying to set-up my recently reimaged workstation for working with one of our ASP.Net applications that consists of a ASP.Net website and some C# Web Services. I can successfully start debug instances of each the services and web site. However as soon as the site attempts to connect to and use one of the web services I get ...

Use custom Soap Header using Axis 1.4

I'm trying to consume a .Net 2.0 web service using Axis. I generated the web services client using the Eclipse WST Plugin and it seens ok so far. Here the expected soap header: <soap:Header> <Authentication xmlns="http://mc1.com.br/"&gt; <User>string</User> <Password>string</Password> </Authentication> </soap:Header> I didn'...

Authenticated Webservice with LDAP

I wrote one webservice in ASP.net. I need to authenticate the webservice with the local network userid and password. I am checking this value using LDAP. How can I make this without minimal coding. ...

How do you copy a file into SharePoint using a WebService?

Howdy, I am writting a winforms c# 2.0 application that needs to put an XML file into a document library on SharePoint. I want to use a WebService instead of using the object model (no sharepoint.dll to reference here) I am currently using the http://webserver/site/_vti_bin/copy.asmx webservice. Here is some code: byte[] xmlBy...

I consume a web service on server1 how can i change to server2 if server1 fails (using C#)

I want to be able to use server2 if server1 fails, so I have two web references but this leads to an "Ambiguous reference" error because it is the same service on both servers. This is the C# code: using App.org.weccrc.www; // Main Server using App.org.weccrc.www2; // Backup Server Is there a way to check if the service is availabl...