0

Hello I have a Webservice:

@WebMethod(operationName = "getUser")
public Iuser getUser(@WebParam(name = "userid") final String userid) {
    return ejbIuserFacade.getUser(userid);
}

the WebService client received the Iuser class fine.

then I have a other method:

@WebMethod(operationName = "mergeUser")
public boolean mergeUser(@WebParam(name = "iuser") final Iuser iuser) {
    return ejbIuserFacade.mergeUser(iuser);
}

simply the same in the other way (from client to server) but the iuser is always null. I try to recieve with method 1 (all fine) and send the same back with method 2 but iuser is null)

any idea whats wrong?

thanks olaf

1 Answer 1

2

Make the IUser implement java.io.Serializable

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.