Re: Can't generate a Java interface from a WSDL portType

2008-06-10 Thread Simon Nash
his seems like a warning that in cases where the spec is ambiguous, we should not assume that we can use the Sun RI's behaviour to determine which interpretation is correct. Simon On Mon, Jun 9, 2008 at 4:45 AM, Simon Nash <[EMAIL PROTECTED]> wrote: Jean-Sebastien Delfino wrote:

Re: Can't generate a Java interface from a WSDL portType

2008-06-09 Thread Simon Nash
Jean-Sebastien Delfino wrote: Scott Kurz wrote: Sebastien, I'm surprised the package names would be different.What is the namespace you're using that isn't mapping to the same package in each tool? Just curious... My app is an order processing app with the following: WSDL service namespa

New Java2WSDL runtime generator is now active in the build

2008-05-26 Thread Simon Nash
I've committted r660340 which adds supports for static SDOs to the new Java2WSDL runtime generator and fixes a few problems. For static SDOs generated from XSDs, the contribution is searched for the original XSD definitions, and these are included in the generated WSDL. These changes are enough

Re: handling InputStream as a service parameter

2008-05-06 Thread Simon Nash
Eugeny N Dzhurinsky wrote: Hello there! I noticed there's no way to define a service which accepts an InputStream and returns an InputStream as a result (in fact it is possible to start such service, but when a client calls the service - the XML error "Content is not allowed in prolog" raises so

Re: wsdl reference question

2008-05-01 Thread Simon Nash
Abraham Washington wrote: sorry, should have included the code. this is just the calculator-ws-webapp composite (which is below). i added this code: which exposes the CalculatorService. but, now the wsdl has operations like: setAddService setDivideService i don't want to expose the methods t

Re: Typical Use Cases for ServiceReference.getCallback()?

2008-04-14 Thread Simon Nash
Yee-Kang Chang wrote: Hello, I could not find any description on how this method -- getCallback() of a ServiceReference -- should be used in the Java Annotations & APIs specification. May I know what would be the typical use cases for it? I understand RequestContext.getCallback() (and Serv

Re: SCA 2.0, was Re: Next SCA release

2008-04-10 Thread Simon Nash
Comments inline. Simon Simon Laws wrote: On Thu, Apr 10, 2008 at 12:43 PM, Mark Combellack <[EMAIL PROTECTED]> wrote: -Original Message- From: ant elder [mailto:[EMAIL PROTECTED] Sent: 10 April 2008 12:26 To: [EMAIL PROTECTED] Subject: Re: SCA 2.0, was Re: Next SCA release On Thu,

Re: STP SCA Component -> STP SCA Tools sub project

2008-04-08 Thread Simon Nash
This proposal looks good to me. I'd be happy to see the Apache Tuscany project listed as an interested party. Simon Stéphane Drapeau wrote: Hi, I created an entry [0] in the Eclipse bugzilla with the proposal. Your comments are welcome. Best regards Stéphane Drapeau Obeo [0]: https://bug

Re: Change the ws binding uri

2008-04-03 Thread Simon Nash
Pedro David Lopez wrote: Hi, I have this reference in the composite file and works fine http://192.168.1.254:8085/gwadmin"/> But I need to change the binding ws uri in runtime. I am trying to do this: List references = scaDomain.getComponentManager().getComponent("A

Re: namespace mismatch calling Axis2 service

2008-04-02 Thread Simon Nash
Comments linline. Simon Albert Rainer wrote: Hi, I've followed the advice from Raymond in order to be able to call a remote Web service that is not under the control of tuscany. I'm facing the problem that when I invoke the (Axis2) service, I get an exception that indicates a problem with t

Support for WebLogic (was Re: [SCA 1.2] Schedule, Features, JIRAS, etc)

2008-03-14 Thread Simon Nash
Luciano Resende wrote: Should we add to Java SCA 1.2 contents, support for WebLogic as documented in our website ? [1] http://incubator.apache.org/tuscany/sca-java-hostweblogic.html I am not sure what you mean by adding this to the 1.2 release. Would it be creating documentation saying how to

Re: commercial support for Tuscany

2008-03-14 Thread Simon Nash
Evo Eftimov, iSec Consulting, www.isecc.com wrote: Hello, our company is considering using Tuscany SCA container as part of an end-to-end SOA solution. Can a customer support representative contact me to discuss details like subscription packages for support etc Regards Evo Hel

Re: Sending message to Tuscany

2008-03-14 Thread Simon Nash
Joshua Jackson wrote: Dear all, Is it possible to send message to Tuscany? I've got this Interactive Voice Response program made by a vendor and it is able to send a message to a socket. Now, can tuscany receive those message from a certain port and then send back the response to the IVR ? Than

Re: What should be in Tuscany SCA Java release 1.2?

2008-03-05 Thread Simon Nash
+1 for Luciano as RM. Thanks, Luciano! Simon Raymond Feng wrote: +1 on Luciano as the RM for 1.2. Thanks, Raymond -- From: "Luciano Resende" <[EMAIL PROTECTED]> Sent: Tuesday, March 04, 2008 9:36 AM To: Cc: "tuscany-dev" <[EMAIL PROTECTED]> S

Re: Build process fails on german system

2008-02-24 Thread Simon Nash
Luciano Resende wrote: In this particular sample scenario, what if we always set the system property in case of a SecurityException ? This would avoid issues in multiple/different languages. It feels like a hack, as it could pick up the wrong exception condition. Despite this, I think it's the

Re: [Cross Subproject Discussion] options for SDO Java in Apache

2008-02-16 Thread Simon Nash
It would be good to keep this discussion on tuscany-user and not have it intermingled across the tuscany-user and tuscany-dev lists. Other comments inline. Simon ant elder wrote: On Feb 15, 2008 10:39 AM, Mike Edwards <[EMAIL PROTECTED]> wrote: Folks, A few observations inline. Ron Gavli

Re: Can a tuscany webservice call another?

2008-02-09 Thread Simon Nash
ernie mcginty wrote: Hello, I've created two tuscany webservices that work independently but I would like for the one to be able to call some of the methods/operations of the other. The examples I've seen show the wires fanning out from a client such as the calculator or a jsp or a web service

Re: Problem with stateless (and stateful) Callback Service

2008-02-08 Thread Simon Nash
Simon Nash wrote: Simon Laws wrote: On Jan 23, 2008 11:23 AM, Simon Laws <[EMAIL PROTECTED]> wrote: snip... I have successfully created and tested stateless callback service with webapp with Tuscany-1.0. Now have a problem with Tuscnay-1.1-RC3.. My stateless service was deplo

Re: Problem with stateless (and stateful) Callback Service

2008-02-04 Thread Simon Nash
Simon Laws wrote: On Jan 23, 2008 11:23 AM, Simon Laws <[EMAIL PROTECTED]> wrote: snip... I have successfully created and tested stateless callback service with webapp with Tuscany-1.0. Now have a problem with Tuscnay-1.1-RC3.. My stateless service was deployed in Tomcat as a war(Tomcat w

Re: store example as a servlet?

2008-01-16 Thread Simon Nash
+1 for using . Simon Luciano Resende wrote: +1, would be good. On Jan 15, 2008 6:34 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Matthew Peters wrote: I have just been through the "get started in 10 minutes" and I like the store example; it's small and neat. I was thinking of

Re: Eclipse RCP apps and Tuscany

2008-01-14 Thread Simon Nash
Simon Laws wrote: Hi Rajini But the code that I have run into problems with are in org.apache.tuscany.sca.node.util.SCAContributionUtil.findContributionFromResource (ClassLoader classLoader, String compositeString) which only works with file:// or jar:// URLs (it is very similar to the co

Re: Eclipse RCP apps and Tuscany

2008-01-11 Thread Simon Nash
The SCADomain.newInstance() method and the DefaultSCADomain class in host-embedded have been replaced by the domain and node APIs in domain-api and node-api. However, most samples have not yet been converted to the new APIs. For examples of samples that use the new APIs, see callback-ws-client,

Re: Does Tuscany support jaxws implementation?

2008-01-09 Thread Simon Nash
See inline. Simon Raymond Feng wrote: Hi, I'm looking into the JAXWS support from a slight different perspetive. Basically, I'm adding JAXWS annotation processing capability into Tuscany so that Tuscany can capture the addtional metadata from the annotations and use them during runtime.

Re: Does Tuscany support jaxws implementation?

2008-01-03 Thread Simon Nash
it when I have more time. So far, in my project, I am trying to assemble jaxws services into SCA components and run with tuncany, do you have any suggestions on how to create sca components with jaxws implementation? where can I get a sample about it? Thanks Denny On Jan 2, 2008 7:42 PM,

Re: web service problem (and configuration)

2008-01-02 Thread Simon Nash
I don't think you can pass or return an interface type across the Web Service binding, only a class type. This is a rather nasty limitation. I believe there is some deep JAXB magic ("factory" annotations) that could work around this limitation, but I haven't got far enough into this to know how

Re: Does Tuscany support jaxws implementation?

2008-01-02 Thread Simon Nash
Hi Denny, We don't have this support in Tuscany currently. I think it would be good to add it. I have been doing some work recently to provide better support for JAX-WS semantics in the Tuscany implementations of implementation.java and binding.ws, but this is not the same as what's described in

Re: Service Discovery for SCA

2007-12-06 Thread Simon Nash
I agree that this would be useful. The place to enable it would be the SCA Domain. The Domain doesn't currently have APIs to list or search for services. We could add APIs that do this, or we could add an SPI that allows a registry to plug in to the Domain and be informed whenever services are

Re: Promoting the service using both ws & rmi

2007-11-29 Thread Simon Nash
ashjk wrote: 1. Can we promote the same service using both ws & rmi bindings? Yes, this should work. 2. I have a scenario where I am using a callback ws which has to be accessed by two clients, one is callback client and other is just accessing some methods. I had tried adding the operation

Re: SCA: OSOA Compliant Implementation?

2007-11-29 Thread Simon Nash
This has come up for discussion previously on the [EMAIL PROTECTED] list (see [1]). The conclusion was that this clause in the OSOA license should not be a concern for Tuscany's implementation of SCA 1.0. Simon [1] http://mail-archives.apache.org/mod_mbox/incubator-general/200709.mbox/[EMAIL

Re: SCA & WS Binding Wrapper Style

2007-11-28 Thread Simon Nash
Jean-Sebastien Delfino wrote: Simon Laws wrote: [snip] The assumption I'm making from the info you gave is that you want to have two SCA components communicate with the same domain but be able to specify the WSDL that the web services binding uses. I guess what you would need to be able

Re: SCA & WS Binding Wrapper Style

2007-11-27 Thread Simon Nash
t throws an exception. Is there any way to specific for it to use the actual class implementation when converted to and from XML? Thanks, Bentley -Original Message- From: Simon Nash <[EMAIL PROTECTED]> To: tuscany-user@ws.apache.org Date: Mon, 26 Nov 2007 21:56:55 +

Re: SCA & WS Binding Wrapper Style

2007-11-27 Thread Simon Nash
able to use null values. This may be problematic. Thanks, Bentley -Original Message- From: Simon Nash <[EMAIL PROTECTED]> To: tuscany-user@ws.apache.org Date: Mon, 26 Nov 2007 21:56:55 + Subject: Re: SCA & WS Binding Wrapper Style Bentley, What modifications are

Re: SCA & WS Binding Wrapper Style

2007-11-26 Thread Simon Nash
Bentley, What modifications are needed to your code to make it conform to the doc/lit/wrapped standard? Is this just the removal of overloaded nethod names, or something else? Simon Bentley Johnson wrote: Hello, thanks for the response and input. One thing I realized was that I didn't make

Re: SCA & WS Binding Wrapper Style

2007-11-22 Thread Simon Nash
Simon Laws wrote: Hi Bentley Some comments/questions below Regards Simon On Nov 21, 2007 7:04 PM, Bentley Johnson <[EMAIL PROTECTED]> wrote: It seems that both the default SCA binding for Remotable Interfaces and the basic WS binding are being restricted to the services following the wra

Re: Reg: callback

2007-11-15 Thread Simon Nash
This scenario whould work OK. Can you post a stack trace for the NullPointerException and the code for your application? Simon ashjk wrote: Hello, I am using callback in my use-case, the scenario is that the callback should happen (to the client) only after the approval from an approver. A

Re: SOAPProcessingException after update from SCA 0.99 to 1.0

2007-11-14 Thread Simon Nash
e problem. What do you think? Could ws-binding configured in a way not to add the header to the SOAP message? Thanks, Philipp -Ursprüngliche Nachricht- Von: Simon Nash [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 13. November 2007 12:32 An: tuscany-user@ws.apache.org Betreff: Re: SOAPPr

Re: SOAPProcessingException after update from SCA 0.99 to 1.0

2007-11-13 Thread Simon Nash
ld-ws-reference sample does not use callbacks or conversations. This error seems to indicate that the Axis2/C service received a SOAP request containing some unexpected XML data. Can you run with a TCP monitor and post the SOAP messages that are being exchanged? Simon Nash Simon Laws wrote: On N

Re: At ApacheCon this week

2007-11-13 Thread Simon Nash
I'm at ApacheCon as well. Please drop me email if you're going to be around and would like to meet up. Simon Jean-Sebastien Delfino wrote: Anyone going to ApacheCon? I'm there at the Hackathon today and will be there all week. Drop me an email if you're going to be there and want to meet!

Re: Callback Service problem

2007-11-09 Thread Simon Nash
Nishant Joshi wrote: Still now i m using eclipse 3.3's facility to create a web service client and my client is stand alone client. It might be a part of any large system.in eclipse client i didnt do anything to joint it with any large system a proxy is generated with methods so just use (the m

Re: Callback Service problem

2007-10-31 Thread Simon Nash
Nishant Joshi wrote: Many thanks Simon, It was really very helpful to me and you have cleared many questions Now some more queations from my side (Again) :-) First of all i'll explain what i have understood from your explanation... Only Tuscany client is option for callback service. (though fo

Re: Callback Service problem

2007-10-25 Thread Simon Nash
Nishant Joshi wrote: Thanks for reply, I have generated wsdl by modifying composite file as you have suggested, Now i have two wsdl generated on my Tomcat you can see the log below INFO: initContextPath: /sample-simple-callback-ws Oct 25, 2007 10:35:24 AM org.apache.tuscany.sca.host.webapp

Re: tuscany asynchronous web service call

2007-10-24 Thread Simon Nash
To use @OneWay you must have a void return type and no exceptions. The meaning of @OneWay is that there will never be any response from the operation and the client does not need to wait for the operation to complete. If there is a non-void return type or any declared exceptions then there will b

Re: Callback Service problem

2007-10-24 Thread Simon Nash
The callback service appears in a separate WSDL from the forward service. For the simple-callback-ws example that I converted to use dynamically generated WSDL, the dynamically generated callback WSDL is available at http://localhost:8085/MyClientComponent?wsdl The service name for the callback

Re: Callback Service problem

2007-10-24 Thread Simon Nash
Sorry for the delay in responding. I took the simple-callback-ws sample and modified it to use dynamically generated WSDL. Here's the simplecallback.composite file that I used: http://www.osoa.org/xmlns/sca/1.0"; targetNamespace="http://simplecallback"; xmlns:cb="http://simpleca

Re: SCA WCF Integration

2007-10-22 Thread Simon Nash
You are correct that in Tuscany currently we don't have any way to make a WCF Web service part of the SCA domain. I think there are (at least) two options for how you could do this. 1. Use on a SCDL reference to connect from the SCA domain to the WCF Web service. The reference is part of th

Re: Fixing TUSCANY-1849 in the 1.0.1 release

2007-10-21 Thread Simon Nash
this would make the change too big to put in a 1.0.1 release. Simon Simon Nash wrote: Since it appears we are going to have a 1.0.1 release, I'd like to propose fixing TUSCANY-1849 in this release. This would make 1.0.1 non-interoperable with 1.0, but 1.0.1 would be interoperable with 1.

Fixing TUSCANY-1849 in the 1.0.1 release

2007-10-20 Thread Simon Nash
Since it appears we are going to have a 1.0.1 release, I'd like to propose fixing TUSCANY-1849 in this release. This would make 1.0.1 non-interoperable with 1.0, but 1.0.1 would be interoperable with 1.1 and future releases. The alternative is to defer this fix until 1.1, which would make 1.0.1

Re: websphere web service deployment problem

2007-09-20 Thread Simon Nash
According to the SCDL schema, the implementation.* element must come first in a service or reference. This is what the line in the schema is saying. The message is telling you that the SCDL has elements appearing in a different order. (See TUSCANY-1738.) The message is only a warning, and t

Re: websphere web service deployment problem

2007-09-19 Thread Simon Nash
As it's night time in California, I'll answer this question. Sebastien told me that he had tested on 6.1.0.9. Can you use that level instead of 6.1.0.11? Simon Radim Kolarik wrote: Hi Sebastien, I am having problems making the app work on Websphere 6.1.0.11. Did you try that particular fix

Re: websphere web service deployment problem

2007-09-13 Thread Simon Nash
See inline. Simon Radim Kolarik wrote: Oh, sorry about the stack trace, it only occurs with older version of Tuscany when TuscanyServlet is used instead of filters. I am now using Tuscany snapshot from the Maven repository dated 4th September, with filters set up in web.xml, but still no lu

Re: Java-Exceptions <--> WSDL-Fault Mapping

2007-09-13 Thread Simon Nash
This seems to be the same problem reported in TUSCANY-1686. I have a fix for this and I will post a patch later today. Simon Luciano Resende wrote: Couple questions : - What SCA version of the code are you using ? - Are you using wsdl2java to generate your java code from wsdl ? Also

Re: context annotation

2007-08-23 Thread Simon Nash
This annotation is described here: http://osoa.org/download/attachments/35/SCA_JavaAnnotationsAndAPIs_V100.pdf?version=1 It is used to mark a ComponentContext or RequestContext field or setter method so that the runtime can inject the corresponding object. Simon mayank sharma wrote: hi Pe

Re: Services and WSDL files

2007-08-08 Thread Simon Nash
This is supported by the SCA specs and we should have support for it in Tuscany soon. Simon Radim Kolarik wrote: Sorry, like this ;-): http://www.osoa.org/xmlns/sca/1.0"; targetNamespace="http://helloworld"; xmlns:hw="http://helloworld"; name="helloworldws">

Re: Contents of Tuscany SCA 1.0 release, was: SCA 0.92 release?

2007-08-08 Thread Simon Nash
Hi Radim, It's great to get your feedback on this. Your posts to the user list (including those with "tough" questions, like Java2WSDL and "on the fly" WSDL generation :-) have been much appreciated. I am currently working on asynchronous support for callbacks. The @OneWay part of async is alrea

Re: Services and WSDL files

2007-07-31 Thread Simon Nash
Hi Radim, I'm glad to see you solved your Jetty/Tomcat problem. See inline responses below to your questions on WSDL generation. Simon Radim Kolarik wrote: Hi, thanks for all your support, removing tuscany-host-jetty jar from the classpath solved the problem! I can now run the service from

Re: Running standalone samples in Eclipse

2007-01-11 Thread Simon Nash
Thanks Luciano. It would be good to get this information into the SCA Java page of the Web site when we are all OK with it. I'll give it a try. Simon Luciano Resende wrote: Thanks Francesco, I'll update the SCA wiki with this detailed steps : http://wiki.apache.org/ws/Tuscany/TuscanyJava/

[Announce] Apache Incubator Tuscany SCA Java 1.0-incubator-M2 release

2006-12-24 Thread Simon Nash
The Apache Incubator Tuscany team is pleased to announce the availability of the SCA Java 1.0-incubator-M2 release, together with a restructured Web site with enhanced content and better organization. Information about Tuscany, including details of the release contents and download links can be f

Re: [C++] Where next for Tuscany C++?

2006-11-14 Thread Simon Nash
I'd like to see closer integration between the Tuscany Java and C++ runtimes, with seamless cross-runtime wiring, deployment, and composition. The application developer would write SCDL containing components with different implementation types, and the application would be deployed to a combinati