I am developing a web service in GWT which needs to be able to read and write files on the server.
Initially I was just going to dedicate a directory on the server which will be accessed via the GWT Server. However as this is deployed to Tomcat, I am unsure of the problems that could arise or if it is even possible.
I would like a way ...
I need to call a webservice which takes as parameters things like the database name, schema name, login credentials etc.
I'd ideally like to call the webservice directly from jQuery, but I feel that these parameters belong in the web config so perhaps I should be calling the webservice indirectly through an ajaxed MVC controller method....
Hello,
I have a web service that must run an executable. To run the executable in C# I am using the Process object.
The service runs the executable when I run it locally through visual studio. That is, it is converting a file and putting it in the output directory.
When I run the service on the production server the file does not ge...
Hi there,
I'm looking at using Subversion for managing WSDL and XSD artefacts, where I have a service catalogue of around 60 services. Does anyone know of any articles recommending best practice around this with regards to the granularity between tagging and versions of services.
With SVN, it appears that you can only tag from the tru...
Hi there,
I have a web service and its methods return a class which is name WSResult. WSResult has 2 properties. One of property's type is int and the other one's type is object. I want to return some different type with this second property.
you can see my WSREult
[Serializable]
public class WSResult
{
public int M_Status { get;...
All we are using web services.
I want to send generic result from my function as a result. I can set its return type as an object type. I wonder that, can i create(generate) xml schema of my return type runtime?
for ex:
[Serializable]
class NewClass{}
[Serializable]
class OldClass{}
[WebMethod]
public object fFunctionN...
We have a Java 1.4 web service running on AIX 5. We want to have the web service methods execute under the context of the caller, not the hosting web server. How would we go about this?
...
I am writing a REST API where some resources are only available to specific users. What is the generally accepted mechanism for this? Amazon appears to use the Authorization header. Twitter uses Basic Auth, i believe.
what are the benefits and drawbacks?
...
I have a ASP.NET Web Forms application that internally makes many SOAP and REST calls to web services. The SOAP calls are made using Microsoft's own "wrapping" code. The REST calls are made from a simple REST client. This client uses Using blocks to dispose of any resources.
The application runs fine for a few hours but then hangs up. T...
I have a data loading application that has to be executed multiple times per day at irregular intervals. I am planning to write a service to kick off the downloads and import the data to a database server. Are there advantages to using a standard service over a webservice or vice versa?
...
I have a SOAP WSDL (found here: https://portal.bsh-partner.com/picenter/server/a2a/) and I am trying to consume the web services.
var soapEnvelope = string.Empty;
soapEnvelope = "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
soapEnvelope += "<soapenv:Envelope xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmln...
I have the following entity structure (A, B, C, D are entities):
A-> one-to-many B,
A-> one-to-many C,
B-> one-to-many D,
C-> one-to-many D.
I want to persist entity A with hibernate but I am sending it over web service (cyclic references are eliminated). So, on the server I receive parents that “know” about the children and childre...
Im looking for a simple and secure way to authenticate users throug axis2/mtom webservice...
Something like http authentication... or session cookie auth.
A live example will help me a lot.
I have this webservice that receive an image and process it... i will need to ask for an authentication and a way to process that user with the im...
Subject is my real question but i wonder that another issue about web services.
What is the key points of web services to return something?
Serializable (Because everything
converts to XML before adding them
to SOAP Message)
? (What should i do for generic
class)
?? (How can i put everything (which
are serializable classes) to one
ret...
I have a web service which has a method with parameter of type Collection( of Byte).
When i try to generate the proxy using the wsdl command but the datatype gets converted to single dimensional Array of Bytes.
So i thought of creating the wsdl file which will have the type as Collection(of byte) using Add as Service Reference, but even...
We have an MTOM-enabled web service that is published with Grails and the Metro 1.0.2 plugin:
@MTOM
@WebService(targetNamespace="http://com.domain")
class TestService {
@WebMethod
int uploadFile(@XmlMimeType("application/octet-stream")DataHandler data) {
data.dataSource.inputStream.eachLine {
println "readi...
Hi all,
I have a Java CXF client that connects to a SSL secured Web Service with mutual authentication.
I have my keystore and my truststore properly configured on the client-side and it works fine.
I am concerned here by the fact that my keystore contains only one client certificate and on the CXF configuration it is not possible to...
I'm writing a native c++ application that needs to grab information from a web service.
What is the recommended library/libraries to handle this in c++?
I cannot use .NET for this.
...
hi
I am trying to call a web service from an ajax jquery. It is successfully entering the success method but unfortunately a 403 error is being triggered and thus won't allow me to access the data.
This is my code:
try {
$.ajax({
type: "POST",
url: urlAddress,
data: dataa,
contentType: "text/xml; charset=utf-8",
suc...
I have an app in C# which serializes an object into xml into a http stream to my server. The server has some php which runs a stored procedure in mysql with the xml data as its only parameter.
The problem is that someone could very easily just send up an xml of the same format with a whole lot of entires that would ruin the database wit...