Hi
I use WSO2 WSF/PHP. I have the WSF extension compiled and enabled in PHP. But I receive this Soap fault response when sending a request to the webservice:
soapenv:Client
XML builder done with pulling. Pull parser cannot pull any more
The last lines from the wsf_php_server.log is:
[Mon Sep 6 11:54:04 2010] [debug] /root/download/w...
Our Apache2 web server is connected to Tomcat6 with mod_jk. The Apache2 web server is running on CentOS Linux and has a VPN connection to the tomcat.
Our web application is running fine, but when we try to connect with axis2 it doesn't work.
We tried running the Apache web server on a a different (Windows) machine and it worked. Also co...
Hi,
I have written one web service which returns float value.
I want to display that float value by passing it as input to another web service.
How to pass the value from one web service to another?
I am using bottom up approach.
...
Hi,
I am trying to develop a web service with axis2. The problem is that I don't get the parameters passed in the url for an http Binding.
Here is my service.xml :
<parameter name="ServiceClass">my.package.MyClass
</parameter>
<operation name="getUser">
<messageReceiver class="org.apache.axis2.rpc.receivers.RPCMessageR...
Hello,
I have a test web service with following methods & classes,
Method
public String addPerson(Person p) {
if(p instanceof Employee) {
return "Employee";
}
return "Person";
}
Note: Method is annotated with @WebMethod, @WebParam annotations, so is web service with @WebService.
Classes
Class Person {
public String name;
}
Clas...
I have eclipse 3.5.1 installed along with the apache axis2 plug in...
I'm trying to generate my web service by going file -> new-> axis2 service archiver...
I go through the steps and select the bin directory of my project and when I get to the last step and type in the name of the class and click load it says "Error: Class not found" ...
Hi there
I was trying to use the Axis2 wsdl2java command
wsdl2java -uri somefile.wsdl -o src -ss
to generate classes from wsdl/xsd files and running into this problem.
say, there's a complex type defined as follows:
<xs:complexType name="MyType">
<xs:complexContent>
<xs:extension base="ctype:IdentifierType">
<xs:attri...
Hi,
What is the right way to return empty arrays from webservices in Java? I need that empty arrays sholdn't be nulls on client. If I use Apache CXF or Axis 2 with default databinding I receive null insted of empty arrays.
If I use CXF and AegisDatabinding -- problem is solved, but when I calling this webservice from Axis 2 client -- I ...
I want to be able to run a proper Axis2 web service by just executing mvn jetty:run. Ultimately I want to produce a single war that I can deploy somewhere.
I am just looking to use POJO web services but I'm curious to know what the full dependency tree looks like. Assuming everything else is correct, below are the axis2 specific depende...
I am trying to call an Axis2 web service using a code like:
stub = new MyServiceStub("http://server/app/services/MyService");
stub.ping();
Stubs/skeletons are generated with codegen. I can interact correctly with the web service from other clients (even something low level written with SAAJ) but not from a stupid stub call.
I am gett...
anyone have any idea what could be the cause of the following error and how to resolve it?
org.apache.axis2.deployment.ModuleDeployer 2010-09-23 11:42:40,689 -- ERROR -- The addressing-1.5.1.mar module, which is not valid, caused null
java.lang.ExceptionInInitializerError
at org.apache.axis2.deployment.util.Utils.createTempFil...
I have deployed an axis2 web service on Tomcat 5.5. The web service functions as expected. But I noticed I was getting duplicated log entries. After researching it became clear that multiple instances of the class were being created - ie the first time it ran, one log entry; second time, two entries and so on.
I added the scope="appl...
Hey guys,
I want to call a webservice which expects a OMElement-parameter. How can I serve this with c# / .net?
The signature of the generated client looks like this:
client.ExecuteMethod(object param);
Thx in advance,
macx
...
Hi,
I am using Axis2 to write a Client for a Webservice hosted on a remote server:
public static void getUserProfile(
final VSIUserServiceDetailsWebService_v5R0Stub stub) {
try {
final GetUserProfileByVOLNameDocument reqDoc =
GetUserProfileByVOLNameDocument.Factory.newInstance();
final GetUse...
I'm using the code below to retrieve an attachment from a webserver. The client in this case is a web browser. So currently, the user makes a request to a webserver for the attachment. The webserver makes an MTOM request to another server for the attachment. That webserver then waits for the attachment to download before it begins writin...
I have a POJO I'm returning from a RPC using Axis2. For some reason the POJO returning works great unless there's an array or Collection as a member. My POJO is:
public class MyResponse implements Serializable {
private int type;
private Object myData;
public RpcResponse() {}
public int getType() {
return type;
}
public void setTyp...
Hello,
I have a very basic Java based web service requirement. Requirement is very simple, pass some String parameters, save them to database and generate a response ("success", "failed"). There is also a case where I need to return simple XML representation (SOAP message) of a simple Object:
<person>
<name>the name</name>
<address...
Hello,
I'm using Apache Axis2 and need to send a custom XML structure over SOAP to clients. So basically client will make a request and the client will expect the response to be as an XML representation.
What would be the best way to do this?
Should I create a Java object to represent the XML structure and then have Apache Axis2 do...
Hi All,
I need to create Client classes for webservices hosted remotely. I used WSDL2JAVA (axis2-1.4.1) to generate java code out of the WSDL provided by my client. This tool gave me the source code and a build.xml. I then ran the ant build provided to get the jar.
Command used to generate the code:
wsdl2java -p net.XXX.web.wsclien...
After looking around and trying different suggested solutions, I’m writing this. The 2 most common solutions suggested to extract binary data from a MTOM/non-MTOM SOAP message are:
Retrieve the OMText node, and use the dataHandler instance present within it
Find the OMElement node which contains the ‘href’ attribute. Get the...