axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2452) javax.xml.bind.UnmarshalException when running jaxws-war test
Date Mon, 02 Apr 2007 19:59:32 GMT
javax.xml.bind.UnmarshalException when running jaxws-war test
-------------------------------------------------------------

                 Key: AXIS2-2452
                 URL: https://issues.apache.org/jira/browse/AXIS2-2452
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
    Affects Versions: nightly
         Environment: Sun 1.5 SDK + win XP
            Reporter: Lin Sun
             Fix For: nightly


Hi,

I have a simple jaxws-war test that would display the GreetMeResponse when the jsp client
tries to invoke the Greeme method.

This test has been working for a while but it stopped working when I tried it today.  Here's
the exception:

javax.xml.ws.WebServiceException: javax.xml.bind.UnmarshalException
 - with linked exception:
[javax.xml.bind.UnmarshalException: unexpected element (uri:"http://apache.org/g
reeter_control", local:"greetMeResponse"). Expected elements are <{http://apache
.org/greeter_control/types}faultDetail>,<{http://apache.org/greeter_control/type
s}greetMe>,<{http://apache.org/greeter_control/types}greetMeOneWay>,<{http://apa
che.org/greeter_control/types}greetMeResponse>,<{http://apache.org/greeter_contr
ol/types}pingMe>,<{http://apache.org/greeter_control/types}pingMeResponse>,<{htt
p://apache.org/greeter_control/types}sayHi>,<{http://apache.org/greeter_control/
types}sayHiResponse>]
        at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(Exc
eptionFactory.java:172)
Listening for transport dt_socket at address: 8008
        at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(Excep
tionFactory.java:67)
        at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(Excep
tionFactory.java:125)
        at org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl.unmarsh
alByElement(JAXBBlockImpl.java:287)
        at org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl._getBOF
romReader(JAXBBlockImpl.java:116)
        at org.apache.axis2.jaxws.message.impl.BlockImpl.getBusinessObject(Block
Impl.java:142)
        at org.apache.axis2.jaxws.message.impl.XMLSpineImpl._getBlockFromOMEleme
nt(XMLSpineImpl.java:494)
        at org.apache.axis2.jaxws.message.impl.XMLSpineImpl.getBodyBlock(XMLSpin
eImpl.java:319)
        at org.apache.axis2.jaxws.message.impl.XMLPartBase.getBodyBlock(XMLPartB
ase.java:505)
        at org.apache.axis2.jaxws.message.impl.MessageImpl.getBodyBlock(MessageI
mpl.java:471)
        at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshal
ler.demarshalResponse(DocLitWrappedMethodMarshaller.java:106)
        at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(
JAXWSProxyHandler.java:356)
        at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod
(JAXWSProxyHandler.java:274)
        at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSPro
xyHandler.java:136)
        at $Proxy28.greetMe(Unknown Source)
        at org.apache.jsp.JAXWSClient_jsp._jspService(JAXWSClient_jsp.java:74)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:384)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
20)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:228)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
        at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
bjectValve.java:56)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
invoke(GeronimoStandardContext.java:324)
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Gero
nimoBeforeAfterValve.java:47)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:104)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
543)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:216)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:634)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
5)
        at java.lang.Thread.run(Thread.java:595)

Here's my .wsdl, SEI, SEIC and client jsp file:

Thanks, Lin 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message