Hi,
Static types need to be registered, and the factory does this registration
for you & will (AFAIK) always generate one for you from an XSD source. You
can also use the factory for creating new instances of your SDOs. The
current implementation doesn't define types if you simply "new" them,
var
Hi,
I have an "import.sdo location" into my client SCDL.
It looks like this :
xmlns:dbsdo="http://incubator.apache.org/tuscany/xmlns/databinding/sdo/1.0-incubator-M2";
location="bank/common/AccountService.wsdl"/>
With this import I have a class cast exception. (see previous message)
When I
Hum, nice,
Thanks for that trick. I'll try this solution too.
--
Guillaume.
When I had this problem, it was indeed because the static types were not
being registerred properly. I was able to bypass the problem by using
the
factory attribute instead of the location attribute and pointed it
di
When I had this problem, it was indeed because the static types were not
being registerred properly. I was able to bypass the problem by using the
factory attribute instead of the location attribute and pointed it directly
to the static factory I had generated.
That is,
instead of
This is con
Hum,
I have a doubt now ...
I'm sure I have this into my scdl on the server side but I don't
remenber if I have this import into the client scdl.
I'm at home now but be sure I will look this monday morning (GMT+1).
So, I'll send something soon ;-)
Have a nice week-end,
Thanks for your help.
--
Do you have an in you scdl which i think is required to use
static SDOs? See the bigbank sample for an example:
https://svn.apache.org/repos/asf/incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/webclient/src/main/webapp/WEB-INF/default.scdl
...ant
On 3/2/07, Guillaume Dufrê
On the server side this is a SCA component deployed on tomcat.
It exposes a service as a web service.
The client side (on which I have this exception) is a standalone program.
(like helloworldclientws sample)
I run it with the launcher provided with tuscany-sca-java binaries.
There's nothing more
It may be that the types need to be be registered (although I would be
supprised), is there anything more in the stack trace ? Are you running this
in a complex server container (as opposed to tomcat) in which case there may
be some classpath issues (depends on which server, eg WAS V 6 etc you may
On Mar 2, 2007, at 9:05 AM, Guillaume Dufrêne wrote:
I do not try the 1st cause the 2nd seems smarter.
It seems easier to do with an ant script :-)
So, the 2nd solution works fine. Thanks !!
Phew :-)
I have added "-Doffline=true" to bypass maven update check.
Ok, now I have a classCastExce
I do not try the 1st cause the 2nd seems smarter.
It seems easier to do with an ant script :-)
So, the 2nd solution works fine. Thanks !!
I have added "-Doffline=true" to bypass maven update check.
Ok, now I have a classCastException because the return object of the
proxy is a DynamicDataObject
On Mar 2, 2007, at 5:02 AM, Guillaume Dufrêne wrote:
Hi Jeremy,
I'm using the launcher for running my sample.
So, my command looks like :
"java -jar (sca-home)/bin/launcher.jar my_application.jar"
In my case sca-home is located at "C:\workspace\fcSOAP\tuscany-1.0-
incubator-M2" but anyway ...
Hi Jeremy,
I'm using the launcher for running my sample.
So, my command looks like :
"java -jar (sca-home)/bin/launcher.jar my_application.jar"
In my case sca-home is located at
"C:\workspace\fcSOAP\tuscany-1.0-incubator-M2" but anyway ...
Where does the launcher intend to find the sdo-impl ja
You will need to have the StAX API and an implementation visible in
the same classloader as used for SDO.
If you have the SDO impl jars in WEB-INF/lib you should make sure:
* stax-api-1.0.1.jar
* wstx-asl-3.2.0.jar
are in the same place (using the StAX impl from http://
woodstox.codehaus.org).
Hi,
I try to package a standalone SCA ws-client. I follow the instructions
on http://incubator.apache.org/tuscany/java_sca_overview.html
But when I launcher the application an exception occured :
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/xml/stream/XMLStreamException
14 matches
Mail list logo