Complex Type « axis « Java Enterprise Q&A





1. Web Service using Axis 2: Complex type or simple type parameters?    stackoverflow.com

The question is a specialization of: http://stackoverflow.com/questions/403058/oo-style-parameters-vs-type-parameters What if you want to define a Web Service operation? To have parameters beeing passed as complex types like this

public String insertPerson(Person person);
seems pretty ...

2. Howto specify BeanSerializer for Complex DataType in Jax-Ws using axis2?    stackoverflow.com

I have a web service:

@WebMethod
public TimeEntry getTimeEntry() {
  return dummyTimeEntry;
}
where
public static class TimeEntry implements Serializable {
  private Date date;
  private String costCenter;
  private String description;
  private ...

3. Axis2 error while deploying a webservice with a method having complex return type    stackoverflow.com

I have this very simple class and I am exposing it as a webservice on axis2, but I am getting errors. Anyone has any idea? Class is -

public class TranscodeVideoFileFactory {


public ...

4. Complex type, using axis    coderanch.com

I am new to Soap, and using version 1.1 of axis, my question is about complex type. Code for the interface. public class FamilyInterfaceImpl { public Family getFamily(){ Family f = new Family("MyFamily", 5); return f; } } Code for Family Class. public class Family { private String familyName; private int numberOfMembers; public Family(){} public Family(String familyName, int numberOfMembers){ this.familyName = ...

5. Complex Data Type Axis    coderanch.com

7. Creating a wsdd for Axis deployment for complex types    coderanch.com

I've been trying for days to get this to work, but can't find any useful information. Basically, my service needs to receive an object, and return an object. That's it! But amazingly, I can't find anything on how to actually create the necessary wsdd. So suppose for example that my Java class consists of package com.shapes; public class shape{ public Box ...

9. Complex Data type handling Axis for interoperability    coderanch.com

Axis is still not mature enough to handle complex types based on document/literal encoding. BUT Axis can handle complex types based on RPC encoding...its also interoperable with .NET clients. There is an example in Axis package how to create complextypes webservices, Order.java or something like that, can't get the link now but i will post it later. The future release of ...





10. document/literal webservice with axis and complex types    coderanch.com

Hello I would like to have a webserivce with java/axis(1.1), which should define a methode with a return type String[]/Vector. To my disappointment i couldn't find any good tutorial abaout "writing a wsdd-file" 1) has anybody explored any tutorial/howto/... about writing a wsdd 2) could anybody give me please an example of the wsdd-file which deploys a webservice that has a ...

11. Complex type, using axis    coderanch.com

I am new to Soap, and using version 1.1 of axis, my question is about complex type. Code for the interface. public class FamilyInterfaceImpl { public Family getFamily(){ Family f = new Family("MyFamily", 5); return f; } } Code for Family Class. public class Family { private String familyName; private int numberOfMembers; public Family(){} public Family(String familyName, int numberOfMembers){ this.familyName = ...

12. Complex type generating "invalid element" error with Axis 1.3    coderanch.com

I am using Axis 1.3 and document binding style/literal wrapped use when generating XML code, which is required by the web service. I used WSDL2Java to create the Java stubs. The XML that is sent to the web service is correct. The XML that is returned generates an "invalid element" error on the first field of an array. More specifically, an ...

13. Axis Complex Type    coderanch.com

Do you have a serializer/deserializer for the "Description" class, and did you declare it in the WSDD file or in your code? Axis can't just transport any Java object, it needs to know how to convert it to something cross-platform compatible. Even if you can use the BeanSerializer, that still needs to be registered with the SOAP code.

14. Add complex type to axis2 sample code    coderanch.com

15. axis web services with complex data types    coderanch.com

Hi, Create one more complex datatypes named as "addresses" and have the address complex data type as a type. And for addresses element use min and max occurs as o and infinity. With this you can add address objects into this list and get extract the address objects when ever you need. for ex/- ...

16. complex data type in axis 2 web service    coderanch.com

hi, i'm ushan. i deployed a web service which is included getter and setter method to get and set customer information. here i defined address as a complex data object. but when i run the client i get the address as a null. following is the output for ant rpc.client. .............. rpc.client.run: [java] log4j:WARN No appenders could be found for logger ...