I wanted to send my public key to the client. I am using SOAP technology for web services. Any ideas how to send the key to the client
KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA");
kpg.initialize(2048);
KeyPair kp = kpg.genKeyPair();
PublicKey k = kp.getPublic();
...
Imagine a more complex CRUD application which has a three-tier-architecture and communicates over webservices. The client starts a conversation to the server and doing some wizard like stuff. To process the wizard the client needs feedback given by the server.
We started a discussion about stateful or stateless webservices for this ap...
I am not interested in the technology e.g. CORBA vs Web Services, I am interested in principles. When we are doing OOP, why should we have something so procedural at higher level? Is not it the same as with OOP and relational databases? Often services are supported through code generation, apart from boilerplate, I think it is because we...
hi,
I am trying to call webservice from python client using SUDS. When I call a function with a complex data type as input parameter, it is not passed correctly, but complex data type is getting returned correctly froma webservice call.
Webservice Type:
Soap Binding 1.1
Document/Literal
Webserver:
Weblogic 10.3
Python Ve...
We have a web service that provides auto insurance quotes and a company that provides an insurance agency management system would like to use the web service for thier client but they want to pass the web service raw xml instead of using the wsdl to create a port, the object the service expects and calling the web method.
The web servic...
I generated a client using the weblogic.wsee.tools.anttasks.ClientGenTask from weblogic. Now I want to insert custom soap headers before sending out the request. How do I go about doing that? All of the examples on the web for inserting headers are specific to the library used in the generation (Axis, etc).
Thanks!
...
I keep getting a Request format is invalid.
Here's the raw http that get's sent:
POST http://x.x.x.x/ws/MyWebService.asmx/TestEvent HTTP/1.1
contentType: "application/json; charset=utf-8",
dataType: "json",
data: {"strData":"1"}
Host: x.x.x.x
Content-Length: 4
Any help is greatly appreciated.
Thanks!
...
Can we add a SOAP message handler to a deployed webservice, specifically using weblogic server.
i am following a tutorial here:
http://www.testearly.com/2008/08/14/creating-soap-message-handlers-in-3-simple-steps-part-1/
but is it possible to attach handler at runtime, without using @HandlerChain(file = "LogMessage_handler.xml") annota...
I'm using a web service from .Net C# client application. My web service has a method which return generic list and in my client application I use Configuration Service Reference to change array to generic list.Its working correctly. But when I add a soapHeader to my web service Configuration Service Reference to change array to generic ...
I have googled a bit for how I should handle security in a web service application when the application is basically the data repository for a Silverlight application, but have gotten inconclusive results.
The Silverlight application is not supposed to have its own user authentication, since it will be reachable only through a web appli...
Hello,
I created a web service in java which returns List which works perfectly fine. But, when i call that webservice in my JSF managed bean it throws exception. Here is the jsf Managed bean :-
package beans;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.Requ...
I am trying to set the request (and connection) timeout for a jax-ws-webservice-client generated with the jaxws-maven-plugin. When running my app under tomcat or jetty the timeout works, but when deployed under jboss it doesn't "take".
private void setRequestAndConnectionTimeout(Object wsPort) {
String REQUEST_TIMEOUT = BindingProvide...
I have the following class
[Serializable()]
[XmlType(AnonymousType=true)][XmlRoot(Namespace="", IsNullable=false)]
public class Test
{
[XmlAttribute()]
public string Prop { get; set; }
public string Another { get; set; }
}
I used this class in both a WCF web service (SVC) and an ASMX web service and I'm expectin...
I have a wcf sevice and silverlight client.
My contract has callbacks and therefore I implement PollingDuplexHttpBinding.
Now, I want connect to wcf service from java or c++ code. What binding should I use for this?
...
I'm trying to build the proxy class for a web service using the wsdl
Executing this cmd
wsdl [http://WSDL_URL]
I'm getting
Warning: This web reference does not conform to WS-I Basic Profile v1.1.
R2706: A wsdl:binding in a DESCRIPTION MUST use the value of "literal" for
the use attribute in all soapbind:body, soapbind:fault, soapbind...
Does anyone know of an API that publishes current allergen levels?
...
I only have the .wsdl and I want to put the data that the web services return in the RSS. And in a web page of SAP, I can only upload RSS, so I need put the information of the web services in the RSS
For example, I put the information manually(name and total value) in the fields <title> and <descripcion>, these data are extracted from t...
I'm wondering if there are any recommendations regarding tools for collaborative development over the Internet. Specifically, we're going to have a group of developers working on the same project in different geographical locations, without the benefit of a company-owned-and-run base. We need some of the obvious things, like Source Con...
I'm in the process migrating a service from Axis to Axis2 (Java). The service responds to a simple SOAP request with a bit of "custom" XML in the body like the following:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in...
Does anyone know of any really good C++ Libraries for implementing a web services api over top of existing legacy code?
I've got two portions that are in need of it:
An old-school client/server api (No, not web based, that's the problem)
An old cgi application that it integrates with the client and server.
Let me know if you've ha...