Hi,

I'm applying the patch and I have made some progress here.

1) There are two WSDLs in module under the same namespace. And there are inline schemas in both WSDL under the same namespace too.

2) We hit a problem in XmlSchema: http://issues.apache.org/jira/browse/WSCOMMONS-228. One of the inline schema is lost due to the same key (ns+uri). I added some workaround in our code.

3) We also hit an issue in Axis2 (https://issues.apache.org/jira/browse/AXIS2-3205). I merged two WSDLs as a workaround.

Then I hit the following problem:

Sep 14, 2007 9:32:25 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

INFO: Added Servlet mapping: http://localhost:8085/QuoteJoinService

Sep 14, 2007 9:32:25 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

INFO: Added Servlet mapping: http://localhost:8085/AvailQuoteProviderService

Error on line 11 of *module with no systemId*:

XPTY0019: Required item type of first operand of '/' is node(); supplied value has item

type java:org.example.price.impl.PriceQuoteImpl

The stacktrace is:

java.lang.reflect.UndeclaredThrowableException
at $Proxy17.joinPriceAndAvailQuotes(Unknown Source)
at xquery.quote.QuoteJoinLocalImpl.joinPriceAndAvailQuotesWs(QuoteJoinLocalImpl.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105) at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233) at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
at $Proxy9.joinPriceAndAvailQuotesWs(Unknown Source)
at xquery.quote.XQueryQuoteClientTestCase.testQuoteJoin(XQueryQuoteClientTestCase.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: org.apache.tuscany.sca.interfacedef.util.FaultException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:80) at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:73) at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233) at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
... 31 more



----- Original Message ----- From: "Vasil Vasilev" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, September 14, 2007 11:06 AM
Subject: Re: Including the XQuery sample in the next release?


Hi,

The patch is there, you can apply it. Unfortunately the test suite does not pass, because of the issue I notified you some time ago, but this is not a regression introduced from my fix. Later I will try to figure out the problem with the test.

Bye, Vasil


>-------- Оригинално писмо --------
>От:  Jean-Sebastien Delfino <[EMAIL PROTECTED]>
>Относно: Re: Including the XQuery sample in the next release?
>До: [email protected]
>Изпратено на: Петък, 2007, Септември 14 00:10:44 EEST
>----------------------------------
>
>Vasil Vasilev wrote:
>> Hi all,
>>
>> Good news: Everything works perfect with Saxon 8.7. i had only to >> provide some minor changes in order to compile the code.
>>
>> Would you like me to provide a patch immediately, or I could also make >> fixes to some of the other issues and provide a patch for all fixes at >> once?
>>
>> Bye, Vasil
>>
>>
>Great!! A patch for that right now will be best, as we're probably be
>trying to cut the 1.0 branch tomorrow.
>
>It will give also give you more time to work on the other changes, and
>provide them in a different patch.
>
>Thanks!
>
>-- >Jean-Sebastien
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-----------------------------------------------------------------
ЕЛА и направи свой сайт, намери нови приятели!
WWW.ZOOM.BG

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