How do i authenicate users with SOAP ?
Will i have the user require to send his username/pass with every SOAP request and i authenticate him against the database ?
Doesn't that seem to cause unnecessary queries ?
...
Hello,
I'm trying to create a general standalone WebService provider with JAX-WS, using a WebserviceProvider and an Endpoint to publish it.
How can I specify the WSDL to return when the service is called with ?wsdl at the end of the url?
With a container I can use the wsdlLocation in the WebserviceProvider annotation, however it's not w...
I'm working with a customer that needs to migrate documents from their current document management system (not Sharepoint) into Sharepoint MOSS 2007 retaining document history and metadata. I've written a proof of concept using the Sharepoint web services and that looks promising, but the snag so far seems to be programmatically setting...
Hello!
I have one machine running a java web service on IBM WebSphere. It is using port 9081. I also have a client to this web service written in c#.NET. The funny thing is that I can easily reference the web service in Visual Studio 2005 (I get the wsdl definition) by http://ip_address:9081/ProjectName/services/MyService?wsdl but I can...
I've done the following tests with JSON requests sent to an ASP.NET 2.0 ASMX web service (using AJAX Extensions 1.0 for ASP.NET 2.0) and it seems that case sensitivity is important in some situations but not in others. See the following examples:
Case matches 100%:
{"request":{"Address":{"Address1":"123 Main Street","Address2":"suite...
I have converted a WSDL file to generate Java code (with Axis2)that will be deployed as web service. Do I only need to implement and extend the skeleton file generated? Or, can I edit and extend other classes too?
I fear modifying other files will result in some mismatch between the WSDL and Java code.
...
One of my web services returns the list of ids of the the projects a person is owner of. That is, when I GET http://example.com/wsListProjects?user=eric I get back xml with the list of projects. However, when I specify user=xxx, who doesn't exist, I currently return a 404 response? Is this the correct response to return?
Thanks.
...
This is more of a design question I suppose. My company offers a web service to our client that spits data out in a custom xml format. I'd like to build a java library we can offer so our customers can just feed it the url and we will turn it into a set of POJOs built from the response.
I can obviously just create a library that will d...
Fails:
//Note: webserviceProxy inherits from SoapHttpClientProtocol
//App Pool is running as a user with permissions to call the external webservice
var webserviceProxy = new webServiceProxy();
webserviceProxy.PreAuthenticate = true;
webserviceProxy.UseDefaultCredentials = true;
var returnVal = webServiceProxy.DoSomething(); //Fails...
Hello. I included Web-service to my project, it should have a method progressWorkflowAction, but I don't see this method, I just see a delegate progressWorkflowActionCompletedEventHandler and class progressWorkflowActionCompletedEventArgs. How to use it to call my method? Thanks
...
Hi guys,
I wanted to know it is possible to call a hosted .net web service from a HTML page using jQuery? I tried this piece of code, but it doesn't work for me:
$('#myForm').click(function() {
$.ajax({
type: "POST",
data: '{}',
url: "http://localhost:49590/Service.asmx?op=HelloWorld",
...
ASP.NET profile properties are trivially available to the code-behind of an ASPX web page courtesy of the HttpContext.Current.Profile object.
In a .svc web service, how does one bring ProfileCommon and paraphernalia into scope?
...
I have an ssis (2005) package that uses the web service task to download to a file destination. The file contains a string of xml data. After downloaded the file looks like this. <?xml version="1.0" encoding="utf-16"?>
<string>--here is XML data with escaped characters--</string>
My thought was I could then use the XML source data flow s...
I am having a simple webservice running in my local system, hosted in IIS 6.0.
This webservice is accessible from any other system (within LAN and Internet) and everything works fine as long as the number of systems accessing my webservice is very much limited.
Whereas, if more number of users (say 500) are concurrently trying to acces...
I created a web service which has a few web methods which inturn performs inserts/updates/select from a Sql Server and return non-primitive types. To test the web methods I tried using the Open source tool .net web service studio
When I test for the web methods, I get the following error -
Request for the permission of type 'System.Da...
Hi,
I need to connect to a provider's web service with a Windows Form application. He gives me a certificate to access it but I have a security problem.
I have done these following steps :
Add certificate to personal store (on IE & Firefox)
Generate a proxy with the remote wsdl (no problem)
Use this code to call a method :
`using (...
So, our application needs support for dynamically calling web services which are unknown at compile time. The user should therefore be able to specify a URL to a WSDL, and specify some data bindings for the request and reply parameters.
When Googling for answers, it seems like the way to do this is by actually compiling a web service pr...
I have some simple code:
[DataContract]
[KnownType(typeof(SpecialEvent))]
public class Event
{
//data
}
[DataContract]
public class SpecialEvent : Event
{
//data
}
[ServiceContract]
public interface IService
{
[OperationContract]
List<Event> GetEvents();
}
[Service...
Hi,
I'm trying to build a web service and a client for this service. I'm using Eclipse 3.5.1 with axis2-1.4.1. I'm facing a problem:
I created the web service via the web service wizard and the service shows up in the axis service list. If I porint to the wsdl - its generated.
Now when I'm trying to build the client, I choose the wsdl...
if I want to use the following Web service (help.be is just an example, let's say it does exist): http://www.help.be/webservice/webservice_help.php (it's written in PHP=client's choice, not .NET) with the following WSDL :
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" name="webservice_help" ...