web-services

can a webservice load jars during run time

I have created a simple web-service using Java. i want to load jars related to web-service during runtime. I have done this task for normal Java application. there what I did was JarFile jar = new JarFile(f.getPath()); final Manifest manifest = jar.getManifest(); final Attributes mattr = manifest.getMainAttributes(); // R...

JSON and jQuery.ajax

Hello, im trying to use the jQuery UI autocomplete to communitate with a webservice with responseformate JSON, but i am unable to do so. My webservice is not even executed, the path should be correct since the error message does not complain about this. What strikes me is the headers, response is soap but request is json, is it suppose...

How do I secure a .NET Web Service for use by an iPhone application?

Hello, The title says it all, I have a Web Service written in .NET that provides data for an iPhone application. It will also allow the application make a "reservation." Currently it's all internal to the corporate network but obviously when the iPhone application is published I will need ensure the Web Service is available externally....

CascadingDropDownList not working with anonymous access

Hi everyone, I use a CascadingDropDownList of the AJAXControlToolkit in a ASP.NET MCMS 2002 web application. The CascadingDropDownList works as expected until "Anonymous access" and "Integrated Windows Authentication" flags are both checked (and this is the situation in the production environment) in the Directory Security settings on th...

Handling async ASMX web service exceptions

Hi, I've developed silverlight client with makes async web services calls to a asmx web service. The problem is, I want to handle exceptions, so far as to be able to tell in the client application whether there was an exception in the webservice (and therefore will be logged local to the webservice) or whether there was a communication ...

Required element did not contain a wsu:id ??

Hey, I am new to soapUI 3.5. I tried some wsdl that acquire security against web service deployed on jboss 4.2.1 while running test on soapUI . It gives me <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"&gt; <env:Header/> <env:Body> <env:Fault> <faultcode>env:Server</faultcode> <faults...

Java library suggestions for implementing a custom web server

I would like to create a web server that will serve/accept json files through REST. The JSON files being served will come from a database query and format the results into JSON. Any suggestions for a good java library. I have tried using Apache HTTPComponents. While maybe I can just create a servlet but I am not really allowed to install...

override endpoint in axis2 by configuration

Description of the problem: Several Web Services that will be deployed in Websphere, Weblogic and Jboss. Jboss uses axis2, the others don't. I want to have only one wsdl per Web service. I want to keep the same endpoint/url across the different target platforms. At the moment the wsdls are different (basically the name of the service t...

What is the purpose of @ as part of a member name in C#?

Possible Duplicates: What does placing a @ in front of a C# variable name do? Whats the use/meaning of the @ character in variable names in C#? As you can imagine, Googling or Binging for any phrase containing an '@' is difficult. In creating a new web service, one of the members of the imported C# proxy class is prefixed w...

Axis webservice calls fail sometimes, access.log shows content!

Hi, our app is a webservice client (axis 1) to a third party webservice (also axis 1). We use it for some years now. Since a few weeks, we (as a client) get sometimes HTTP status 400 (bad request) or read timeouts when calling the webservice. Strangely, the access.log of the service shows part of the request or the response instead of...

send email to single ExactTarget subscriber without TriggeredSend

There is an email service ExactTarget with web service API. There are samples (in php though) for sending email to whole list instantly, or to single subscriber by triggered action. It's pretty hard to get in it's documentation, and I couldn't find explanation how to send email to a single subscriber instantly without having some trigg...

Using 50+ 3rd party web services, should I use BizTalk or just C#?

I'm building a back-end application that needs to fetch data on various schedules from over 50+ 3rd party web services and that number will continue to grow. The data from these services can currently be grouped into 3 types so each response needs to be mapped to 1 of 3 known schemas. Writing custom c# to hit each web service appears to...

Consuming Java web-services using .NET Client

Im trying to consume a Java web-service, that uses a certificate. I could generate the proxy, adding Service Reference. The problem is: It needs Basic HTTP Authorization Header. Its necessary to encript the user/password and pass them in the header. Thanks. ...

Connecting to SQL Server 2005 via web service

Delphi 2010, dbExpress, and SQL Server 2005 DB I am trying to make a connection to a SQL Server 2005 DB using Delphi 2010 & DBExpress. If I create a standard delphi application and hard code my connection (IT WORKS!): procedure TForm1.Button1Click(Sender: TObject); var Conn: TSQLConnection; begin Conn:= TSQLConnection.Create(nil); ...

Disable proxy for entire application?

Ever since upgrading to Visual Studio 2010, I'm running into an issue where the first web request of any type (WebRequest, WebClient, etc.) hangs for about 20 seconds before completing. Subsequent calls work quickly. I've narrowed down the problem to a proxy issue. If I manually disable proxy settings, I don't experience this delay: Di...

Ideal way/architecture to deliver large data over Web Services

We are trying to design 6 web services, which will serve another client component. The client component requires data from the web service we are implementing. Now, the problem is, there is not 1 Web Service we are implementing, there is one Web Service which the client component hits, this initiates a series (5 more) of Web Services wh...

what is the use of creating proxy for an webservice

hi, i have an webserivce written where i do an insertion opertion to DB. path :http://localhost:1838/Ajax/WebService.asmx?wsdl.name of the webservice is localhost i have added webservice for the project now on button click event i try to call this webserice like this localhost obj= new localhost(); obj.insert(); now i am able to do th...

how to set the user credentials for accessing an webservice

hi, i have an webservive written where any user hit the url can acces the webservice.now i need to set username and password for the webservice so that before accessing the webservice they need to provide the user credentials only valid user would be allowed to access the webservice how can i achive this functionality. is there any ...

Swapping out web services

I created a gui in .net that I want other people to use. It connects to my custom database via a web service and returns data. Now I want other people to use it. They tell me that they want to use their own database. How can I let them plug their database results into my gui? It is almost as though I want to repoint to their web ser...

maximum length of HTTP GET request?

What's the maximum length of an HTTP GET request? Is there a response error defined that the server can/should return if it receives a GET request exceeds this length? update: as indicated in the tags, this is in the context of a web service API, although it's interesting to see the browser limits as well. ...