axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Bailey (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-3065) org.apache.xmlbeans.impl.values.XmlComplexContentImpl
Date Fri, 03 Aug 2007 15:42:53 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matthew Bailey updated AXIS2-3065:
----------------------------------

    Attachment: BaseTypes.xsd

> org.apache.xmlbeans.impl.values.XmlComplexContentImpl
> -----------------------------------------------------
>
>                 Key: AXIS2-3065
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3065
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen, databinding, Tools
>    Affects Versions: 1.3, 1.2, nightly
>         Environment: WinXP (SP2), Web Logic 8 (sp4)
>            Reporter: Matthew Bailey
>         Attachments: BaseTypes.xsd, IntegrationServices.wsdl, IntegrationTypes.xsd
>
>
> To simplify I have retained the same directory structure as the samples and deployed
the aar in the exploded Axis2 war.
> Setup
>      * Generate service (server) using WSDL2Java
> %AXIS2_HOME%/bin/WSDL2Java -uri resources/META-INF/IntegrationServices.wsdl -p samples.quickstart.service.xmlbeans
-d xmlbeans -s -ss -sd -ssi -o build/service
>      * Build the project
>      * Copy %ProjectHome%\build\service\build\lib\IntegrationPortTypeImplService.aar
to the axis2 exploded war service directory (%WebLogicAppDir%\axis2\WEB-INF\services)
>      * Copy %ProjectHome%\build\service\build\lib\XBeans-packaged.jar to %WebLogicAppDir%\axis2\WEB-INF\lib
> Testing
>      * Create/Validate request using soapUI
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bean="http://strongauth.zionsbank.com/webservices/beans">
>    <soapenv:Header/>
>    <soapenv:Body>
>       <bean:ValidatePasswordRequest>
>          <!--Zero or more repetitions:-->
>          <credentials>
>             <type>CustomerUserId</type>
>             <value>user_id</value>
>          </credentials>
>          <credentials>
>             <type>CustomerPassword</type>
>             <value>password</value>
>          </credentials>
>       </bean:ValidatePasswordRequest>
>    </soapenv:Body>
> </soapenv:Envelope>
>      * Post to service, get response
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>    <soapenv:Body>
>       <soapenv:Fault>
>          <faultcode>soapenv:Client</faultcode>
>  
> <faultstring>org.apache.xmlbeans.impl.values.XmlComplexContentImpl</faul
> tstring>
>          <detail>
>             <Exception>org.apache.axis2.AxisFault:
> org.apache.xmlbeans.impl.values.XmlComplexContentImpl
>  at
> org.apache.axis2.AxisFault.makeFault(Ljava.lang.Throwable;)Lorg.apache.a
> xis2.AxisFault;(AxisFault.java:417)
>  at
> samples.quickstart.service.xmlbeans.IntegrationPortTypeImplServiceMessag
> eReceiverInOut.fromOM(Lorg.apache.axiom.om.OMElement;Ljava.lang.Class;Lj
> ava.util.Map;)Lorg.apache.xmlbeans.XmlObject;(IntegrationPortTypeImplSer
> viceMessageReceiverInOut.java:147)
>  at
> samples.quickstart.service.xmlbeans.IntegrationPortTypeImplServiceMessag
> eReceiverInOut.invokeBusinessLogic(Lorg.apache.axis2.context.MessageCont
> ext;Lorg.apache.axis2.context.MessageContext;)V(IntegrationPortTypeImplS
> erviceMessageReceiverInOut.java:42)
>  at
> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusine
> ssLogic(Lorg.apache.axis2.context.MessageContext;)V(AbstractInOutSyncMes
> sageReceiver.java:42)
>  at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(Lorg.apache.a
> xis2.context.MessageContext;)V(AbstractMessageReceiver.java:95)
>  at
> org.apache.axis2.engine.AxisEngine.receive(Lorg.apache.axis2.context.Mes
> sageContext;)Lorg.apache.axis2.engine.Handler$InvocationResponse;(AxisEn
> gine.java:145)
>  at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReques
> t(Lorg.apache.axis2.context.MessageContext;Ljava.io.InputStream;Ljava.io
> .OutputStream;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Lor
> g.apache.axis2.engine.Handler$InvocationResponse;(HTTPTransportUtils.jav
> a:276)
>  at
> org.apache.axis2.transport.http.AxisServlet.doPost(Ljavax.servlet.http.H
> ttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(AxisServlet
> .java:119)
>  at
> javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRe
> quest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
>  at
> javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Lja
> vax.servlet.ServletResponse;)V(HttpServlet.java:853)
>  at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()L
> java.lang.Object;(ServletStubImpl.java:1006)
>  at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.S
> ervletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.
> FilterChainImpl;)V(ServletStubImpl.java:419)
>  at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.S
> ervletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315
> )
>  at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
> un()Ljava.lang.Object;(WebAppServletContext.java:6718)
>  at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.secur
> ity.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.
> Object;(AuthenticatedSubject.java:321)
>  at
> weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.i
> nternal.AuthenticatedSubject;Lweblogic.security.acl.internal.Authenticat
> edSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityMa
> nager.java:121)
>  at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.s
> ervlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletRes
> ponseImpl;)V(WebAppServletContext.java:3764)
>  at
> weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.Ex
> ecuteThread;)V(ServletRequestImpl.java:2644)
>  at
> weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V
> (ExecuteThread.java:219)
>  at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
>  at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown
> Source)
> Caused by: java.lang.ClassCastException:
> org.apache.xmlbeans.impl.values.XmlComplexContentImpl
>  at
> com.zionsbank.strongauth.webservices.beans.ValidatePasswordRequestDocume
> nt$Factory.parse(Ljavax.xml.stream.XMLStreamReader;Lorg.apache.xmlbeans.
> XmlOptions;)Lcom.zionsbank.strongauth.webservices.beans.ValidatePassword
> RequestDocument;(ValidatePasswordRequestDocument.java:86)
>  at
> samples.quickstart.service.xmlbeans.IntegrationPortTypeImplServiceMessag
> eReceiverInOut.fromOM(Lorg.apache.axiom.om.OMElement;Ljava.lang.Class;Lj
> ava.util.Map;)Lorg.apache.xmlbeans.XmlObject;(IntegrationPortTypeImplSer
> viceMessageReceiverInOut.java:123)
>  ... 19 more</Exception>
>          </detail>
>       </soapenv:Fault>
>    </soapenv:Body>
> </soapenv:Envelope>

-- 
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