axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Isuru Eranga Suriarachchi (JIRA)" <>
Subject [jira] Created: (AXIS2-4605) JAX-WS throws JAXBException for complextypes
Date Mon, 18 Jan 2010 13:55:54 GMT
JAX-WS throws JAXBException for complextypes

                 Key: AXIS2-4605
             Project: Axis2
          Issue Type: Bug
          Components: jaxws
            Reporter: Isuru Eranga Suriarachchi
            Assignee: Rich Scheuerle
            Priority: Blocker

Any JAXWS operation which returns or receives a Complex type (not Lists or Arrays, simple
objects) throws the following exception in latest trunk.

Caused by: javax.xml.bind.JAXBException: XXXXXXX is not known to this context
	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(
	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.getBeanInfo(
	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(

My service is as follows (I'll attach the jar to this JIRA)

@WebService(serviceName = "SampleService",
        targetNamespace = ""
public class JaxwsSample {

            action = "urn:echo1"
    public String echo1(InWrapper in) {
        return in.getIn();

            action = "urn:echo2"
    public OutWrapper echo2(String in) {
        OutWrapper out = new OutWrapper();
        return out;

OutWrapper and InWrapper are two simple beans which has a string inside.

I think this issue has occured after fixing

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message