I've recently discovered a possible candidate for dependency injection in a .Net application I've designed.
Due to a recent organizational policy, it is no longer possible to call smtp mail services from client machines on our network. So I'm going to have to refactor all the code in my application where it was previously calling the s...
I am trying to send a byte[] from a client to a web service. The array is composed of a serialized XML file.
My test scenario works (with a very small byte[]). Here is the code:
FormsService.FormsServiceClient client = new FormsService.FormsServiceClient();
XmlDocument doc = new XmlDocument();
XmlElement root = doc.Crea...
I have built a web web service with Netbeans 6.8 using the "Web Service from WSDL" wizard. It has generated the binding classes and a skeleton for the class implementing the web service.
I've set some initialization parameters in web.xml, under the servlet corresponding to the web service.
Now I'd like to pass those parameters to the c...
I have one webservice:
public class Product
{
public int ProductId { get; set; }
public string ProductName { get; set; }
}
public class Service : System.Web.Services.WebService
{
public Service () {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[WebMethod]...
Apologies, this is a tragically simple question that will bore most of you.
I need to implement the simplest "leave your email and we'll contact you" web page. The simplest thing I could think of is doing an HTML form which calls a PHP script which appends the data in some file on the server. Easy to implement, but now I'm wondering if ...
I'm connecting to a vendor-supplied web ASMX service and sending a set of data over the wire. My first attempt hit the 1 minute timeout that Visual Studio throws in by default in the app.config file when you add a service reference to a project. I increased it to 10 minutes, another timeout. 1 hour, another timeout:
Error: System.Tim...
Hi,
I have my webservice deployed on Apache tomcat 5.5. When I run my webservice using eclipse IDE, it prints logs to the location I have specified . I have put log4j property file for my webservice in the apache-tomcat-5.5.28/common/classes folder. Problem is , when i run this using webservice .aar file which is put in to apache-tomca...
I'm using Debug Diagnostic Tool, trying to understand why around 5% of the requests that are sent to my webservice just crash, without necessarily throw any error inside my application.
One of the errors this tool took is below. Can anyone here understand exactly what could be happening?
Thanks!
[6/17/2010 5:32:58 PM] First chance exc...
Our care management system uses a web service to import data. I've successfully executed one of its methods using soapUI, and now I want to replicate this with an SSIS 2008 web service task, but I'm running into a problem. I've created the "HTTP Connection Manager" successfully, and specified the location of the "WSDLFile", but when I go...
From what I understand, I need to use WADL to describe a RESTful web service. Still, I have read many answers in relevant posts, where users are strongly opposed the use of WADL.
What are the disadvantages of WADL? Is there any alternative solution?
...
I am trying to serialize my webmethod output (rename XML element with results),
So far
[return: System.Xml.Serialization.SoapElementAttribute("results")]
before method declaration works fine with soap requests, but I am looking for something that would work the same way with HTTP POST/GET requests as well (right now I get return clas...
Hi coders,
I guess my problem is very simple to solve but I haven been able to do so. Here is my problem:
I have a custom table view cell that contains a UIActivityIndicator. When a cell is selected I push another view but this second view makes a call to a web service to bring data. Here is my code
// Override to support row selectio...
I am successfully creating a Task using the SalesForce API SOAP API through Java.
However, my problem is that I can't seem to set the Type of it. They all default to "Call" but I really want them to be "Email".
Can someone point me in the direction of where I can do this? I think it is to do with RecordTypeMapping, but i am somewhat...
Hi,
I have a .net 2.0 webservices using .net 2.0 librarys (dll). My config uses assembly binding to use the latest builds,Now the .net2.0 will be migrated to .net 4.0, does this mean i have to move my service to 4.0 as well?
Thanks
Gauls
...
Hi, I have a web application that exposes webservices, developed in java.
One of the client system is a siebel platform; as they told me, they cannot manage arrays/list of objects.
Which is the best solution to solve the problem?
How should I redesign my services?
Consider that my data structure requirement includes list of objects......
Hi,
I have developed my webservice in Java CXF which returns java.util.List. This webservice is password enabled. that means i have used org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor for security purpose.
Now i want to call this webservice from php. but i am not able to do so. Without security settings i am able to access my webs...
Hi,
i have a ASP.Net Web Service that works as an information aggregator.
Other Web Services register in the central Web Service to provide information.
And the client access the central Web Service for information.
My question is,
how i do this ?!
How can i register a information Web Service in the aggregator so he can query it?!
...
My application overview is
ASP.Net webservice entertains requests from various applications for digital signing and verification via a client. The webservice will then route these requests to a smart card
When the system date changes, I want the following to happen.
New request from the clients are made to wait
Current work between...
Hi there,
I've written some webservices where some return a simple String (this ones work) and other returning a list of objects. No, axis2 (1.5.1) cannot handle collection types, so I changed my return type to Object[] but still I recieve this exception
[ERROR] java.lang.RuntimeException: org.apache.axis2.AxisFault: Mapping qname not ...
Hi.
So, i have a central web service that is responsible for managing other services. These services register in the main WS with their URL, leading to their own web service.
what i need to do now is call the child web services from the central web service. I've searched google on how to do this but all i could find was this.
I would ...