array « axis « Java Enterprise Q&A





1. Failed sending bytes array to JAX-WS web service on Axis    stackoverflow.com

Hi I have made a small example to show my problem. Here is my web-service:

package service;

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService
public class BytesService {

 @WebMethod
 public String redirectString(String string){
  return string+" - is ...

2. Axis2 empty array    stackoverflow.com

I recive null insted of empty array on the client side when my POJO axis2 method returns empty array. I understand that the problem is in WSDL. Is there is any way ...

3. axis2 array of object that contains a list    stackoverflow.com

I have to return an object using axis2 webservice. The object contains a list of other object. The WSDL shows up as xs:anyType. When retreiving the object from client it shows ...

4. Returning a string array from a web service    stackoverflow.com

I have created a web service for the following code but I am getting an exception:

org.apache.axis.InternalException: java.lang.Exception: Couldn't find a matching Java operation for WSDD operation ...

5. Sending array of string as a parameter to web service method using JAXRPC    stackoverflow.com

I've got problem sending an array of string as parameter to a web service method, given in a specific wsdl. When am trying to send an array of strings, I get ...

6. Arrays as parameters in Axis2 POJO Webservices?    stackoverflow.com

I'm a Axis2 / Webservice newbie and I'm trying to turn a simple POJO into a webservice (code below). The class PieceInfo is annotated with @XmlRootElement and I have a class ...

7. Axis webservice returning byte array    stackoverflow.com

I wrote a java web service that returns byte array generated from a file.

public byte[] callByte(){
   // code that return byte array
}
In my client I try to read that ...

8. passing array in Axis method call    coderanch.com

Hi Thomas, You can pass a String array or object array in Webservices. If you are using Apache Axis Java2WSDL and WSDL2Java you dont need to worry about calling the method. FYI: In WSDL you can see the String array as: In soap Implementation: public java.lang.String[] getStringArray() throws java.rmi.RemoteException { ...

9. again: c# apache axis arrays    coderanch.com

i am struglling with a common problem but can't find the answer in the multitude of discussions, so i am... a) write java service interface b) use Java2WSDL to create wsdl file c) use wsdl.exe to generate c# stub d) deploy java service to tomcat/axis using RPC, Wrapped, Literal service configuration so, i can pass simple javabeans to and fro but ...





11. Axis array serialization problem    coderanch.com

12. returning a two dimensional array in AXIS2    coderanch.com

Hi! I'm trying to generate a WSDL from a .java file with the plug-in for Eclipse "Code Generator Wizard - Eclipse Plug-in", available from http://ws.apache.org/axis2/tools/index.html The method that I'm trying to generate has the following signature : public String[][] translateConceptsToTerms(String[] conceptURIs, String lang) So the return type is two dimensional array of Strings. The thing is that the tool generates the ...

13. Axis2 client: retrieving array returned from server    coderanch.com

I think I'm missing something regarding this. I've created and deployed a web service with a method that returns an array (not Array). This is my first attempt at accessing complex data types with Axis2. Take this simple example (don't scrutinize the code, I'm winging it just to make the point): Class to be returned by service as an array: public ...

14. Axis 1.4 -Serialization of array of Strings    coderanch.com

Hello everyone! I just started learning web services. I have downloaded Axis 1.4 jars. I made the WSDL with some googling and was able to generate stubs and objects using WSDL2Java. My problem is in the client. I am supposed to get back an object containing another object which in turn contains an array of strings. I am able to get ...

15. Axis2 and String[] array issue    coderanch.com

All, I have a strange problem with following: A created a POJO class with following method: public byte[] certify(String fieldnames[], String fieldvalues[], String documentURI) throws Exception { ... } I generated the WSDL automatically with java2wsdl For info: The client is also Axis2 Everything works fine if I pass values for the 3 variables from the client to the server, the ...





17. Umlaute probleme by Axis Call invoke(Object array)    coderanch.com

Hi,everyone, i have this problem since 3 days, i'll be crasy! so at firstz i create the "initoperationDesc()": oper = new OperationDesc(); oper.setName("GetElementsXML"); param = new ParameterDesc(new QName("http://www.abb.com/printing/SPINEInterfaceWebServices", "IssueDate"), ParameterDesc.IN, new QName("http://www.w3.org/2001/XMLSchema", "dateTime"), Calendar.class, false, false); oper.addParameter(param); //oper.setReturnType(new QName("http://www.w3.org/2001/XMLSchema", "string")); oper.setReturnType(org.apache.axis.encoding.XMLType.XSD_STRING); oper.setReturnClass(java.lang.String.class); oper.setReturnQName(new QName("http://www.abb.com/printing/SPINEInterfaceWebServices", "GetElementsXMLResult")); oper.setStyle(org.apache.axis.constants.Style.WRAPPED); oper.setUse(org.apache.axis.constants.Use.LITERAL); //oper.setUse(org.apache.axis.constants.Use.ENCODED); _operations[9] = oper; than create call: protected Call createCall() throws java.rmi.RemoteException { try ...

18. Return Array of JavaBeans with Axis2    coderanch.com

Good day to everyone, i hope someone can help me resolving this issue I'm trying to return a Array of JavaBeans as a result of a Web Service made with Axis2, when i create the web service with the POJO class in the same package there is no problem and the client creates itself with the definition of that POJO inside ...