This is probably an easy question for anyone with any moderate expertise with web services using Apache Axis.
I have a web service client that was generated by wsdl2java in Axis 1.4. I am writing unit tests that need to access the actual SOAP message itself, and do a comparison to the client side java classes which are generated by Axis...
In my WebService I need to log the caller's id, but wsContext.getUserPrincipal() returns null even though the user was authenticated using WS-Security with password authentication. According to the JavaDocs for JAX-WS 2.1 WSContext.getUserPrincipal() should only return null if the user has not been authenticated.
Do I have to do someth...
Hi
I want to ask one simple question , i want to create Material resources and i want to set the standard rate for this resource or i want to loop through the resources i already have and update the standard rate for them ,i tried to look for the property RES_Cost or RES_StandardRate but i found nothing can you help me with this please ...
I am working on a project that uses many web services. Many of them return the same class as a response. Right now, I am wanting to be able to pass the result from one web service in as a parameter to another. This isn't working though. When I try to implicitly cast it, it says it can't be implicitly cast. When I try to explicitly c...
Hey guys,
I'm trying to work out how to use the CrmService to close a Task in MS CRM 4.0
I've tried to use the SetStateTaskRequest to set a Task's state and status to TaskState.Completed and 5. I also tried TaskState.Completed and -1, but no dice there either.
Either way, I only receive the ever-helpful "Server was unable to process r...
I am creating a Web Service using ASP.NET C#. I am sending various data types from the webservice so I use the following structure.
public enum WS_ServiceResponseResult
{
Success,
Failure,
}
public class WS_ServiceResponse
{
public WS_ServiceResponseResult result { get; set; }
public object data { get; set; }
}
public c...
Hi !
I want to secure a webservice using Netbeans with mechansim : "Message Authentication over SSL" and I do everything that Netbeans documentation and
Sun WSIT tutorial told to do. I also import the generated SSL key in client jre but when I run the client code, I still got this error :
Failed to access the WSDL at: https://loca...
Scenario:
I am using Silverlight 3.0 as client for a web service.
Design:
The server has a class named DeviceInfoService which has the basic functionality of getting the list of devices, getting the properties of devices etc.
When I open an ASP.NET project and try to add a web reference, I can find an option to add a "Web Reference"....
I have a c# app that calls a web service method that authenticates using a certificate.
The code works, because when it is installed on server A (without a proxy) it authenticates.
When I install the code on server B, at client site, its installed behind a proxy. I've really tried almost everything but I keep getting this error:
Coul...
I'm using Axis2 and need to attach a client certificate when I make requests to a specific Web Service. So far I haven't modified anything from the Axis2 configuration (axis2.xml or anything else), and I'd really prefer to keep it that way.
The solution in C# is very straightforward:
X509Certificate2 cert = new X509Certificate2(pathToC...
I need a place to store files for several application systems. The following is how I make this system.
Use FTP to upload a file. Set up an FTP server first using FileZilla. Open a count for a client to connect and upload files.
Use Java to build web service which can store file’s information including: file name, version number, file ...
Is there a way to build Spring Web calls that consume and produce application/json formatted requests and responses respectively?
Maybe this isn't Spring MVC, I'm not sure. I'm looking for Spring libraries that behave in a similar fashion to Jersey/JSON. The best case would be if there was an annotation that I could add to the Contro...
I have to update a COM+ application to call a web service that uses WSE 3.0. What is the best way to call the web service from the COM+ client? My current plan is to create an Interop assembly like this:
COM+ Client <--> Interop Assembly <--> WSE 3.0 Web Service
Wondering if anyone has some guidance on best practices for this type of s...
I am working with a webservice that provides basic CRUD functionality. The Retrieve is easy enough to work with, but I'm having trouble working with the Create (I've not yet messed with the Update or Delete functions).
The update function takes a single argument. This is a zObject in the WSDL. However, this is a generic object extend...
I am accessing my server through remote desktop connection and have configured a webservice in IIS. I am able to see the methods but when I click on the button to "Invoke" I get the following error:
System.Data.SqlClient.SqlException: Login failed for user 'SOLDev\Server02$'.
at ShareWare.Web.Service.WebAPI.Reservation.GetInfo()
Why...
I would like to create new contacts and leads using php. I can't quite figure out how to call the methods of the mscrm 3 web service.
The php soap class seems quite simple to use. I am able to connect and authenticate to the crm web service and get a list of available functions however I am unsure how to go about calling them.
I have...
I struggle on a System.OutOfMemoryException when performing an import process where a lot of objects are being created.
The effect is that the ASPNET_WP.EXE blows up to 1.4 GB and the exception will be thrown.
I already tried to implement IDisposable and calling the Garbage Collector (GC.Collect()) in that responsible functions, but no...
I have SQL Server Express and Visual Studio Web Developer Express running on my PC. In visual studio I created a web service that runs on the localhost.
On my Mac I have an iPhone application that consumes the web service. Can I connect to the PC's localhost web service inside my iPhone application? What would the URL to the web serv...
I need to create connection to web service with axis2. I would like to know how can I convert recieved xmls to Java objects. Is there any good tutorials to learn how to do this?
...
We are trying to create a mock service for a web service for testing purposes.
To do this we run wsdl.exe to create an interface and then create an asmx web service based on that interface. We have done this several times over the last years without any problems.
This time we get an error:
The methods xx and yy use the same SOAPAction...