Well, I hit a breakpoint when starting TC on
org.apache.tuscany.databinding.axiom.AxiomDataBinding.<init>() line: 37   

Is it loading?




Raymond Feng wrote:
Hi,

Can you check the WAR file to see if it contains the correct SCDLs? In the helloworldws case, they are from src/main/webapp folder. You also use helloworldws as the template.

Thanks,
Raymond

----- Original Message ----- From: "Rick" <[EMAIL PROTECTED]>
To: <tuscany-dev@ws.apache.org>
Sent: Friday, September 29, 2006 8:48 AM
Subject: Re: Big Bank issue databind transformation exception


Raymond,
I have the following jar loading...
WEB-INF\lib\databinding-axiom-1.0-incubator-M2-SNAPSHOT.jar
And the following scdl being loaded. Anything more that needs to be done for
databinding-axiom extension to be included ?


<?xml version="1.0" encoding="UTF-8"?>
<!--

* Copyright (c) 2006 The Apache Software Foundation or its licensors, as applicable.

    *

    *  Licensed under the Apache License, Version 2.0 (the "License");

    *  you may not use this file except in compliance with the License.

    *  You may obtain a copy of the License at

    *

    *     http://www.apache.org/licenses/LICENSE-2.0

    *

* Unless required by applicable law or agreed to in writing, software

    *  distributed under the License is distributed on an "AS IS" BASIS,

* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

* See the License for the specific language governing permissions and

    *  limitations under the License.

-->
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"; xmlns:system="http://tuscany.apache.org/xmlns/system/1.0-SNAPSHOT";

    name="org.apache.tuscany.databinding.Axiom">



    <component name="databinding.axiom">

<system:implementation.system class="org.apache.tuscany.databinding.axiom.AxiomDataBinding" />

    </component>



    <component name="transformer.XMLStreamReader2OMElement">

<system:implementation.system class="org.apache.tuscany.databinding.axiom.XMLStreamReader2OMElement" />

    </component>



    <component name="transformer.OMElement2XMLStreamReader">

<system:implementation.system class="org.apache.tuscany.databinding.axiom.OMElement2XMLStreamReader" />

    </component>



    <component name="transformer.String2OMElement">

<system:implementation.system class="org.apache.tuscany.databinding.axiom.String2OMElement" />

    </component>



    <component name="transformer.OMElement2String">

<system:implementation.system class="org.apache.tuscany.databinding.axiom.OMElement2String" />

    </component>



    <component name="transformer.Object2OMElement">

<system:implementation.system class="org.apache.tuscany.databinding.axiom.Object2OMElement" />

    </component>



    <component name="transformer.OMElement2Object">

<system:implementation.system class="org.apache.tuscany.databinding.axiom.OMElement2Object" />

    </component>

</composite>




Raymond Feng wrote:
Hi,

It seems that you don't have the databinding-axiom extension added to your configuration.

Thanks,
Raymond

----- Original Message ----- From: "Rick" <[EMAIL PROTECTED]>
To: "tuscdev" <tuscany-dev@ws.apache.org>
Sent: Friday, September 29, 2006 7:41 AM
Subject: Big Bank issue databind transformation exception


Receiving the below exception. I'm still doing some more investigating. This is a case of a POJO component wired to a SCA reference defined by wsdl interface. When the call is executed the below exception then occurs. I have my suspicions that it's because the Axis reference interface is defined by wsdl and I'm not sure how the databinding gets informed that this is SDO. Would this explain for the error? If yes, how do you define this? thanks!



SEVERE: Servlet.service() for servlet LoginServlet threw exception
org.osoa.sca.ServiceUnavailableException: org.apache.tuscany.spi.databinding.TransformationException: No wrapper handler is provided for databinding: org.apache.axiom.om.OMElement at bigbank.webclient.services.account.AccountServiceComponentImpl.getCustomerProfile(AccountServiceComponentImpl.java:75)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tuscany.core.wire.PojoTargetInvoker.invokeTarget(PojoTargetInvoker.java:63) at org.apache.tuscany.core.wire.PojoTargetInvoker.invoke(PojoTargetInvoker.java:72) at org.apache.tuscany.core.wire.InvokerInterceptor.invoke(InvokerInterceptor.java:44) at org.apache.tuscany.core.wire.SynchronousBridgingInterceptor.invoke(SynchronousBridgingInterceptor.java:41) at org.apache.tuscany.core.wire.AbstractOutboundInvocationHandler.invoke(AbstractOutboundInvocationHandler.java:65) at org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler.invoke(JDKOutboundInvocationHandler.java:121)
   at $Proxy21.getCustomerProfile(Unknown Source)
at bigbank.webclient.services.profile.AccountLoginServiceImpl.login(AccountLoginServiceImpl.java:49)
   at bigbank.webclient.ui.LoginServlet.login(LoginServlet.java:85)
   at bigbank.webclient.ui.LoginServlet.doPost(LoginServlet.java:61)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.tuscany.runtime.webapp.TuscanyFilter.doFilter(TuscanyFilter.java:58) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.tuscany.spi.databinding.TransformationException: No wrapper handler is provided for databinding: org.apache.axiom.om.OMElement at org.apache.tuscany.core.databinding.impl.Input2InputTransformer.getWapperHandler(Input2InputTransformer.java:201) at org.apache.tuscany.core.databinding.impl.Input2InputTransformer.transform(Input2InputTransformer.java:124) at org.apache.tuscany.core.databinding.impl.Input2InputTransformer.transform(Input2InputTransformer.java:46) at org.apache.tuscany.core.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:94) at org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.transform(DataBindingInteceptor.java:105) at org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.invoke(DataBindingInteceptor.java:69) at org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.invoke(DataBindingInteceptor.java:71) at org.apache.tuscany.core.wire.AbstractOutboundInvocationHandler.invoke(AbstractOutboundInvocationHandler.java:65) at org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler.invoke(JDKOutboundInvocationHandler.java:121)
   at $Proxy21.getCustomerProfile(Unknown Source)
at bigbank.webclient.services.account.AccountServiceComponentImpl.getCustomerProfile(AccountServiceComponentImpl.java:73)
   ... 33 more


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to