I am trying to connect to a web service that has Integrated Windows Authentication with apache axis. I have set the call user name and password like so:
_call.setUsername( "user" );
_call.setPassword( "password" );
I have also tried switching to the apache http client using this as the client-config.wsdd:
<?xml version="1.0" ...
i have some parsed data in two files. i need to send these to a webserver of a website. i also need to be logged into the webserver first. i am new to this web interaction thing. i just need to know how might i go about doing this. i am learning the libcurl library so i guess it can send standard HTTP POST messages. i will make a simple ...
I have a WSDL that the consumer of my web service expects will be adhered to strictly. I converted it into an interface with wsdl.exe and had my web service implement it. Except for this problem, I have been generally pleased with the results.
A simple GetCurrentTime method will have the following response class generated from the WSD...
I'm experimenting with Apache CXF and have a question about the client part.
Below is my current Spring configuration of the WS client of some com.example.customerservice.service.CustomerService:
<jaxws:client
name="com.example.customerservice.service.CustomerServiceClient"
serviceName="customer:CustomerServiceService" endpoint...
Say I have a web service where I want to serve the content only once. After it is served any other access to that url should generate an error message.
How would I go about doing something like this? What if 2 clients access the url in the same exact moment?
...
Can anybody recommend the best way to do this?
Should I use JSON.NET?
...
Heres the scenario, im on a network A, and i use a vpn client to connect network B to access the webservice which can be accessed in network B.Even though im connect to network B , im unable to access the webservice link.Do i need to configure any settings.
But if u r originally in network B and even though if u have connected to networ...
Hi,
I am building an application and I am using web services for getting data from a server. It was working fine when I was developing on my XP machine but had to switch to Windows 7. On the new machine I grabbed the latest version of the code using sourcesafe.
However, when I try to add a service reference in the solution or update an...
I have a strange problem when I'm trying to call a simple webservice method from Jquery.
Locally it works fine, but on my test-server it does not.
The jquery request looks like this (only showing the actual request and not the rest of the method):
$.ajax({
type: "POST",
url: "/Service/Service.asmx/AddTab",
data: "tab="...
Why doesn't a ASP.NET web method allow default parameters ?
...
Hello,
What is the best way to call a Web Service from TSQL? I would Like to write some triggers that call out to a web service. Is there a generally used best practice for this?
Implementations would need to be handled in SQL Server 2005 and 2008
...
I have passed some JSON to my page via a webservice. I used JSON.NET to convert XML to JSON. The JSON output looks ok to me, but I am unable to access some of the items in the response. I am not sure why it is not working. I am using jQuery to read the response and make the webservice call. Even when I try to read the length of the array...
1.) I can create a simple application which has one routine called
function ConnectToDB: Boolean
and run it from my virtual directory (wwwroot/cgi-bin) and it connects and reports back connected .
2.) I can create a simple web service helloWorld
function helloWorld: String;stdcall;
I can create a client and call my web service ca...
I'm sending a lot of JSON requests from a native iPad application to my Django web server. How do I translate forms I use on my website to handle an iPad web service?
Am I trying to solve the wrong problem, should a web service used from native iPad applications be redesigned to use REST-ful requests?
...
The XML schema spec seems vague on how to interpret an xs:time value when no time zone is specified. (See section 3.2.8.) Is there a common consensus on this (e.g. UTC or the local time zone)?
...
I'm developing a Web Service which will be called by clients which are written by me. In the web service I need to use application-wide objects which eases the load of application on the system. I have implemented my application-wide objects as shown in this question.
I can use my object in a jsf page with no problem as follows.
MyObj...
I usually use JSON with jQuery to just return a string with html. However, I want to start to use Javascript objects in my code.
What's the simplest way to get started using json objects on my page?
Here's a sample Ajax call ( after $(document).ready( { ... }) of course:
$('#btn').click(function(event) {
event.preventDefault();...
Im using Linq to SQL I have a stored procedure that is returning xml . ie im using for xml outo ,elements
that works fine. what I want to do is expose the result of the stored procedure via a webservice.
Here is some pseudo code: if some could help me replace the ?'s
[WebMethod]
public ? myMethod( int custID)
{
var myCust = d...
I have a webservice that returns an object i have defined. One of the properties is of the type string and holds a significant amount of characters...over 500 at times. When pass data of the same type TO the webservice, it makes it there and i see the data in my DB. When I return data to the client side, that property is getting truncate...
I am calling a web service (written in Java) in my web app. I use the WSDL to generate proxy classes using the wsdl.exe command line tool.
Everything is working fine.
However, I have found out that the web service is not doing any data validation at all when they receive a request from my app. Hence, if I happen to send one minute pi...