I have an echo web service running on lets say http://localhost:8080/axis2/services/Service1. This service just echos back a string that is sent to it through the function echo(). Using the wsdl of the above mentioned service (Service.wsdl), I have generated (in eclipse) the ServiceStub.java and the ServiceCallbackHandler.java. With thes...
I am writing an interface for our VXML application that will allow access to a SOAP service. Because of the difficulties inherent in trying to use javascript to make SOAP calls and the limitations of VXML, as in making external resource calls are pretty much limited to HTTP requests, GET and POST.
I designed a java servlet that would a...
We're trying to use Axis2 to call a web service that cannot use HTTP/1.1 (default transport protocol in Axis2). Is it possible to programmatically set Axis2 to use HTTP/1.0? I know that this can be done with a configuration file, but in our case API use would be much better solution.
Here's some code that we're using:
ServiceClient cli...
Hi all,
I have a inter-op problem probably because of a bug in axis2.
in my case axis2 is server and Tibco is client.
Problem is axis2 adds a "type" attribute to "return" element.
<ns:return type="com.xx.GetGroups_Response">
and this attribute is undefined in wsdl
<xs:element minOccurs="0" name="return" nillable="true" type="ax28:Ge...
I'm trying to consume a hello world AXIS2 SOAP web service using a PHP client. The Java class is written in Netbeans and the AXIS2 aar file is generated using the Netbeans AXIS2 plugin.
You've all seen it before but here's the java class:
public class SOAPHello {
public String sayHello(String username) {
return "Hello,...
I've encountered the following bug:
http://issues.apache.org/jira/browse/AXIS2-4363
It states the following:
This error only occurs when log level for org.apache.axiom is DEBUG so a workaround is to set log level > DEBUG.
My question is HOW do I go about doing that? I've been scouring my directories for a properties file or something...
I am about to develop a windows applikation which need to communicate with an Axis2 webservice using Web Service Security - all the documentation says is, that the SOAP security communication is configured to TIMESTAMP, SIGNATURE, ENCRYPT and the the certificate of my company must be installed in my keystore and the SOAP client I am abou...
Hi,
I am migrating my webservices from Axis1.x to Axis2.
I have all the webservices which takes multiple arguments like String, int etc.
Also for authentication i have added header part so i have created my own WSDL file.
So when i use my WSDL file and try to call WebService it Takes OMElement as Argument.
But if i dont specify any W...
Hello
Im trying to use AXIS's 2 wsdl2Java tool to build the client that will consume a web service.
I've run the tool and it has generated the required classes (a singel .java file).
I've added that to a project and many of the jar files under AXIS_HOME/lib (until the code started building and then running).
Looks like it ready to wor...
My C# sample client ASP.NET program successfully runs a call in my Axis2 server but the client does not seem to like the response.
I get:
Client found response content type of 'multipart/related; boundary=MIMEBoundaryurn_uuid_38D413ACFC9D56F28E1258666845186; type="application/xop+xml"; start="<0.urn:uuid:38D413ACFC9D56F28E1258666845187...
Hi,
I'm working with a slow webservice (about 4 minutes each request) and I need to do about 100 requests in two hours, so I've decided to use multiple threads. The problem is that I can only have 2 threads, as the stub rejects all the other ones. Here I've found an explanation and possible solution:
I had the same problem. It seems...
Hi
I'm using Axis2 1.4.1 to expose RESTful web services. I need to return xml structure (or any other for example ATOM xml or RSS xml or JSON structure) of my choosing. Axis2 out of the box returns it's own default xml structure (which is SOAP like). The question is what is the right way to customize this.
Is it via Handlers? Is it via ...
FirstData has horrendous customer support, but I have to integrate with their Global Gateway web service for a project I'm working on. I'm simply trying to run the Axis2 wsdl2java tool according to the instructions in their manual.
This basically consists of adding the keyStore and keyStorePassword JVM parameter. I've done both, but I ...
I am following the "web service from pojo"[1] bottom-up guide in axis2 documentations, but the wsdl that is generated is not good.
Specifically, the xsd schema that is embedded in the wsdl is not good and I want to customize it. I want to allow cyclic references, in a similar fashion to what jaxb lets you do with XMLID and XMLREFID.
Any...
We use axis2 for building our webservices and a Jboss server to run the logic of all of our applications. We were asked to build a webservice that talks to a bean that could take up to 1 hour to respond (depending on the size of the request) so we would not be able to keep the connection with the consumers opened during that time.
We co...
Problem:
I want to implement a Web Service using Axis2 with JMS Transport-In, which can process incoming soap messages with compressed content.
Questions:
Is this possible without additional configuration?
Would it be enough for the client to just compress the message content?
Background:
Googling, I have found nothing regarding thi...
Hi,
I would like to create a Web Service in Eclipse. I already wrote a class and generated a WSDL file from it with Java2WSDL. I started a new "Dynamic Web Project" and added the axis2 facet to it. After that I wanted to create a new "Web Service" project. When I now select my WSDL file and click on "Finish" I get the following error:
...
Hi,
I'm trying to call a web service with a Java client. The WSDL looks like this: http://pastebin.com/m13124ba
My client:
public class Client{
public static void main(java.lang.String args[]){
try{
CompileAndExecuteServiceInterfaceStub stub =
new CompileAndExecuteServiceInterfaceStub
...
I recently created a Java frontend for a PHP web-service which uses PHPs SoapServer.
My application is performing a long-running data synchronization and from what I know from PHP I prepared myself to get closed connections because of the max_execution_time limit.
But I never get any kind of error, as if the SoapServer instance is runn...
So I'm a bit new to web services and a situation recently came up where we added an element to a data-type that gets returned to the client. The clients complained that this broke their implementation because it choked on the new element that it did not expect. (we are providing the services via Axis2).
To me this seems like a harmles...