The following is a message logged in Microsoft Service Trace Viewer. I believe it represents a single call to a parameterless method that has an integer return value on a WCF Service (with WsHttpBinding). I am using message level security (with username credentials) and created a development server certificate to get this to work. I am b...
I have web services returning strings as JSON by dint of using
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
and calling them from the client with headers Content-type = application/json
this was all going well until I needed to return a table of results.
I have tried using the code here
http://www.west...
I am new to a development team that is adding a layer of webservices between domain and gui. The approach has a lot of potential but I wonder how to manage the webmethods.
At the moment there is just a handful or so webmethods but there will be a lot of them when we get through to the other side.
I am sure there must be some very cleve...
i got a problem.
suppose on the other side, the WSDL will be always changed,
for example, the web service on the otherside which descriped in the WSDL file has only method,
but the name of the method might always change, today call methodABC(), tomorrow will be change to methodDEFO()..
suppose in JAVA,
is there anyway, i can dynamica...
Is it possible to make these relative?
for example:
webservice.asmx
rather then
http://servername/webservice.asmx
...
I'm writing a Firefox extension that's to be used in house. Basically, I need to submit a pdf file and some text values to a web service. Right now I have a html page that does this. I need the extension to automate the gathering and submission of the data to the web service.
Here's the html that works.
<body>
<form name="frm_upload_fi...
i have a .net 2.0 web service running on IIS 7.0.
i consume this service from a compact framework written application (CF 2.0).
The first call takes 13 seconds, all subsequent calls are super fast (under 1 sec). No data is cached.
Any ideas how to solve this?
...
It was very easy to use Apache CXF to develop a client for a SOAP web service. All I had to do was call wsdl2java and all the required classes were present. Is there such a client for lisp? If not, what can I do to write a soap client for lisp? The only restriction is that I don't have access to commercial implementations such as franz/l...
I have in my javascript these 2 functions "classes":
// product class
function Product() {
this.id;
this.qty;
this.size;
this.option;
}
// room class
function Room() {
this.id;
this.type;
this.products = [];
}
I have my js logic which fills rooms and their products.
Now i want to send array of rooms to a webservice to do some...
Consider the following .Net ASMX web service with two web methods.
using System;
using System.Runtime.Remoting.Messaging;
using System.Web.Services;
using System.Xml.Serialization;
namespace DemoWebService
{
public class
ArrayItem
{
public int
Value1;
public int
Value2;
};
[WebService(Namespace = "http://begen.name/xml/n...
I've created a jax-ws service endpoint and now I want to write a client. I want to have a shared jar between the client and server for common (JAXB annotated) entity classes and interfaces for the services. Is it possible to force jax-ws to generate (or allow me to write) a client using my existing entites/interfaces?
For those that are...
Hi there,
I am working on an enterprise system that will utilise a RESTful web service between mobile clients and a central server. As RESTful as possible, let's say.
My question relates to HATEOAS (hypermedia as the engine of application state), and the use of custom xml in HTTP response bodies.
This system will never ever be used by...
I need to synchronize 2 sites content. Every post in first should be mirroring at second and vice versa. What is the best way to do it using .Net - just simple web service which check every time interval updates and post it, or maybe smth else, like sync framework? can't find good example to do it.
...
What are JAX WS Interceptors? Where do I find info regarding the same!
...
How can i access client details like IP,Browser etc in a web service in java?
...
I have a C# .net webservice that I need to restrict access to. I already require my consumers to use a username and password to call the service. But, is there a way to restrict access to the actual asmx page and the WSDL? I would need to restrict access to the webservice by username/password and IP address. If a user did not have th...
With reference to Reusing HTTP client objects
Why would you not build this as a default option vs. requiring to add code like options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, "true");
AXIS2 being a web service engine framework makes it even more of a candidate to default this functionality.
...
I am having a strange problem occuring somtimes from a specific machine (windows 2003).
I am trying to create a new javax.xml.ws.Service instance with host and qname as parameters.
service = new SomeService(url, qName);
the service creation (ONLY SOMETIMES!) never returns.
While the creation is stucked on my prod machine, development...
I have an application targeting the 2.0 .NET framework. The solution is using the VS web service reference folder. A grep through the solution reveals that this URL lives in a handful of files. However in the deployed application a search shows that the URL lives in only the .config. So what happened to the .disco and .wsdl? Are they com...
Hi,
I need to make a webservice call in C# and with every request i need to send a custom HTTP header. How do i do this.
thanks
...