There is another similar question to mine, but the discussion veered away from the problem I'm encounting.
Say I have a system that deals with expense reports (ER). You can create and edit them, add attachments, and approve/reject them.
An expense report might look like this:
GET /er/1
=>
{"title": "Trip to NY", "totalcost": "400 USD...
Which is the better options? Pros and cons of each? The web services are meant to be internal-facing and are all going to be roughly in the same datacenter (3-4km apart at most). Any ideas?
Some criteria that would make one better than the other include: ease of setup, maintainable code, stable API and ability to be implemented in legac...
I have a package with JAXB annotated classes with an abstract superclass. I want to use this superclass in web service interface, so I
can pass any of subclasses as a parameter. When I do it, an exception is thrown:
javax.xml.ws.WebServiceException: javax.xml.bind.UnmarshalException
- with linked exception:
[javax.xml.bind.UnmarshalExce...
We have a webservice created in WCF and presenting itself as a basicHttpBinding. One of the parameters is a string which takes an xml string. Looking at the soap the client generates to send to the webservice, the xml is encoded, with all < and > swapped into < and >. My question is, is this all that is encoded, or has the paramete...
Hello everybody!
I know that WSDL is for defining SOAP based web services but in most of the WSDLs I saw on net, in the WSDL is defined also RESTful "web service"-http:binding.
To generate client for the SOAP I used wsimport tool from JAX-WS (it also generates client classes for the REST but it doesnt work).
So the question is, how to...
I'm in the process of trying to call a SOAP web service using Flex's built-in SOAP support. I construct the basic WebService object as follows (just to give you an idea):
_service = new WebService();
_service.loadWSDL(_serviceURL + "?wsdl");
_service.addEventListener(FaultEvent.FAULT, faultHandler, false, 0, false);
When I call functi...
Hi
I have webservice in asmx file:
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
[System.Web.Script.Services.ScriptService]
...
Hi,
I have a .exe program which has an embedded webservice running on port 800.
I can access it locally via 127.0.0.1:800 just fine once the program is executed.
I need to be able to send the service commands such as: * 127.0.0.1:800/dev * will get a list of devices attached to the program.
To my knowledge i need to forward port 800 o...
I am using Satellite forms Pocket PC application. There is new requirement in which I have to sync the Pocket PC over HTTP protocol using Web Application (ASP.NET) .
Please provide me some suggestions to do that.
Thanks in advance...
...
I have a WSDL for a Web Service and a Public Key Certificate in the shape of a .cer file.
I need to get SoapUI to encrypt the service request with the public key of the certificate.
How do I do this?
...
In silverlight 3 I had an object that had a property that was an observable collection. I returned this via a web service then databinded to it.
Upgrade to silveright 4.....
Now my program crashes because the Observable Collection is converted to an array.
What is the best way to do this? Observable collection is not even an option ...
I'm trying to post data to a webservice (asp.net 3.5), like below (two variants, one commented):
var array = [3, 2, 5, 1, 7];
var jsonString = JSON.stringify(array);
//var jsonString = '{ "firstName": "John", "lastName": "Smith", "age": 25, "address": { "streetAddress": "21 2nd Street", "city": "New York", "state": "NY", "postalCode": "...
We have OSB services that are currently secured with a username and a password. I get a 401 unauthorized when attempting to generate a service proxy using svcutil. I know you need to set up a svcutil.exe.config file but I cannot find any examples except for one that passes a certificate.
Dows anyone know how to send a username and passw...
Hello Friends,
I have this vbscript that calls a web service written in .net 2010.
I'm getting an error at the last line. Can't figure it out.
This is the webservice:
http://www.kollelbaaleibatim.com/services/getinfo.asmx/GetFronpageInfo
Dim xmlDOC
Dim bOK
Dim J
Dim HTTP
Dim ImagePathLeftCar, ImagePathRightCar
Dim...
I am looking for GWT to C++ communication solution.
Currently I am trying to figure out how to run WSDL in GWT, but actually, have absolutely no experience in WSDL, and only little in GWT.
So, my question is about feasibility of working with WSDL in GWT (and how?) and other approaches would also be interesting if exist.
I am trying to...
I've seen an example here: msdn but it's a little confusing.
So if I have a list definition with a field called "CustomField" and I want to update the "ShowField" attribute of this field to be true then I would do this:
XmlNode listNode = listService.GetList("MyList");
string version = listNode.Attributes["Version"].Value;
string gui...
I have a .Net webserivce that accepts XML in string format. XML String sent into the webserivce can represent any Object in the system. I need to check the first node to figure out what object to deserialize the XML string. For this I will have to load the XML into an XMLDocument (Don't want to use RegEx or string compare). I am wonderin...
I need a little bit of advise regarding the situation I am faced with. The current arrangement I have been tasked with improving just doesn't sit well with me and I feel like there is a better way to do it. The more I read about WCF, the more I get the feeling that it might be what I am looking for.
Right now, I have an asp.net client...
I have a Store and a Product entity:
public class Store
{
public Guid Id { get; set; }
public int Version { get; set; }
public ISet<Product> Products { get; set; }
}
public class Product
{
public Guid Id { get; set; }
public int Version { get; set; }
public Store ParentStore { get; set; }
public string Nam...
When I specify <SoapDocumentMethod(OneWay:=True)> on my webservice it doesn't seem to get called. If I remove that the webservice works properly. Also, everything works fine on the development machine just not on the server.
Here is my web method:
<SoapDocumentMethod(OneWay:=True)> _
<WebMethod()> _
Public Sub Write(ByVal processGrou...