« WebLogic 10 License Bug Prevents Startup | Main | Discovering which JAR file Contains a Class you're Looking For »



Thank you VERY much for your post!

Rich Livingstone

Thanks for this - java.sql.Timestamp it seems does not have a default no-args contstructor but once I changed all my usage to Calendar it works a treat. Pity the error messages are so dreadful in Glassfish but thanks for the help !


Adding underscores to my private pojo fields fix the problem.

public class SimplePojo implements Serializable{
private String _name;
private int _idPojo;

public String getName() {
return _name;

public int getIdPojo() {
return _idPojo;

public void setName(String name) {
this._name = name;

public void setIdPojo(int idPojo) {
this._idPojo = idPojo;
public SimplePojo(){}
public SimplePojo(int idPojo,String name)
this._idPojo = idPojo;
this._name = name;

Johan C. Stöver

Your problem is a little different. It has to do with the default behaviour of what is used as xmlelement. I want to explicit tag my members with the @XmlElement.

I needed to add @XmlAccessorType(XmlAccessType.NONE) to indicate that only annotated values should be handled.


Hi, I have a problem with a exception class that I use to returns exceptions to the client:

* To change this template, choose Tools | Templates
* and open the template in the editor.

package serviciosweb;

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

public class MapperException extends Exception{

private static final long serialVersionUID = 1L;

public MapperException(){

public void voidMethod(){


I don't know the way...



I'm sorry, but I haven't explained all...When I call this web service in my PC (localhost) works well (without use your solution), but when I call in another PC (in the same LAN) doesn't work...

The comments to this entry are closed.