Create SOAP Attribute in JAXB?

Everything annotated on the Customer class will be relative to the customer element.

Everything annotated on the Customer class will be relative to the customer element. This is because JAX-WS is responsible for forming the message envelope, and then JAXB marshals the body of the message into this envelope. When it comes time for JAXB to marshal the body it is too late to change the envelope.

Thanks for your response. Is there any alternative or workaround so that I could do what I want? Also, is there a way that I could hardcode any attribute into the envelope even if its not part of any entity (Just plain hardcode any entity..)?

– Mark Estrada Apr 22 at 11:48.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions