Hi all,
wanna ask for your opinion. What would be the best object (Array, List<>, Collection,...) used in webservice when returning list of business objects. Like a list of customer or history list.
Some ideas:
because I want minimize amount of data transafered between client and server
because I want simplify xml serialization
I dont...
I was looking at XML-RPC for a project. And correct me if I'm wrong, but it seems like XML-RPC has no XML datatype. Are you supposed to pass as a string? or something else?
Am I missing something? Looks like this was though of with SOAP.
...
I've started your typical web project from scratch using the Mono platform. You know, web services, a UI, MySQL database, all that. I've heard around the net that it's not a picture-perfect implementation of the .Net platform, but so far I can't find anything it's not good at. I see the odd "Not Implemented" pop up in intellesense, but h...
Hello everybody!!!
I hope you all have a nice day.
I want to write a web service that would check some web page HTML code every 20 minutes and e-mail it to my mail box. Here I was given a suggestion to use Google App Engine for this task. Having briefly read through that site I learned that two languages could be used there: Java and P...
I am not sure how to correctly make a fault element in a wsdl file repesenting a PHP exception.
I have created a PHP web service that throws an exception for testing purposes. When I call this web service in a test C# project, I get a reflection exception with the message "Item has already been added. Key in dictionary: 'System.Object'...
Hi
i have been deploy webservice in vb.net .
is there will be any problem if i will cal the webservice from c++ (version 6) or
Microsoft Access VBA?
Thanks
...
I'm generating dto classes with a template engine and would like to exclude some properties in an asmx webservice, what, if possible, is the best way to do this?
Ex:
[WebMethod]
public ProductPackages GetPackages()
{
ProductPackages packages = new ProductPackages();
packages.Packages.add(new PackageDTO());
return packages;
}
...
I am attempting to access a web service using SOAP through Perl and am having issues calling the service's functions that require parameters. The XSD that dictates the SOAP call says,
<xs:complexType name="getVersion">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getVersionResponse">
<xs:sequence>
<xs:element minOccurs="0...
i try to setup a ubuntu server with web service that create by django/python , anyone have an resource/tutorial/example code
...
Is there a way to prevent a method from an interface used in @WebService's endpointInterface attribute to be exposed in the web service? I'm using the endpointInterface as that seems to be the only way to make the service work on JBoss with Metro, not doing so results in a:
javax.xml.ws.WebServiceException: Undefined port type
...
I'm using cxf and jetty behind apache to expose a webservice via soap. The goal is to start jetty on http://localhost:9000 in all cases and have apache proxy to it, but have the autogenerated wsdl show a soap:address appropriate to the environment it's running in (eg http://api.testing.example.com, http://api.uat.example.com, https://ap...
I would have thought that there is a lot of information out there on this, but I haven't found anything that really answers my question.
What are the advantages of making an EJB rather than a web service? The only clear advantage I can come up with is performance. Even so, I can't find any hard data on how much more efficient EJBs are. ...
Hi there,
I have a problem with Python and SOAP. I need to create a web service based on SOAP in Python. I read that I can use libraries like soaplib, suds and ZSI. I created a Hello World web service with soaplib, like in documentation (http://trac.optio.webfactional.com/wiki/HelloWorld). The problem is that I cannot make a client for ...
What's the best way to handle adding a new (optional) parameter to an existing opertion without requiring the client to update their WSDL? I do not want to update the namespace to describe a new version of the service contracts, since this should be backwards compatible with older clients.
Should I add a new operation with a new paramet...
The Setup
I want to consume a web service in Visual Studio. I added a service reference, pointing it at a WSDL document. I get a bunch of generated code that works like a champ.
The Problem
In the Service Reference dialog, I selected "Internal" as the "Access level for generated classes." It appears as though that puts the "interna...
Hi All,
I have contact management / CRM application used in-house by our company, It is a web based app and thus uses a lot of Ajax. Most of the data is JSON, and the backend server uses PHP with MySQL as the database...
I would like to build a mini Adobe Air version of that, mostly because I can use Drag and Drop file uploads, client...
How do I throw a custom exception in a C# web service so that flex reads the error on fault?
I tried simply throwing an exception like this
throw new Exception("invalid key");
But FaultEvent couldn't decode the message in flex.
Edit: What I really want to do is for flex to differentiate exceptions in the web service, for example to ...
I have a very simple Webmethod (asmx) that creates a file. For some reason, it times out. When I step through the code, the code that creates the file takes < 1 second, but when I get to the last line of the method, it times out.
Any reason why this might be happening? I use System.Speech in the webmethod.
[WebMethod]
public void Synth...
Is there a way to configure postfix to use a relay only if direct delivery is rejected? The case being a web application that has to send notification to subscribers, but some servers reject the connection. I want those cases to be retried using a paid SMTP relay like authsmtp.com. However I don't want to use the relay for everything sin...
What is the difference between the following pieces of xml?
The reason I ask is that when I submit the xml to a BPEL process the first and second one work but the last one does not, what is going on?
<!-- imported namespace referenced with prefix -->
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http:...