You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Vilmantas Baranauskas <vi...@danet.de> on 2003/08/11 15:35:41 UTC
Bean serialization from jws
Hello,
JWS works great as long as you do not use JavaBeans. Is there a way to
do JavaBean serialization/deserialization using JWS? It seems that
correct wsdl is automatically generated (it includes complextype
definitions) but I get following error when trying to execute client:
<faultstring>org.xml.sax.SAXException: Deserializing parameter
'obj': could not find deserializer for type
{http://xxx.xx.com}SimpleObject</faultstring>
Why doesn't it use bean serializer by default? Any ideas?
Thank you a lot,
Vilmantas
--
Vilmantas Baranauskas
Phone: +49-711/13353-47 FAX: +49-711/1335353
D A N E T GmbH, Waldburgstrasse 17 - 19, D-70563 Stuttgart
Email: vilmantas.baranauskas@danet.de
Problem in WSDL generation
Posted by Alireza Taherkordi <ta...@dpi2.dpi.net.ir>.
Hi,
I've a problem with SimpleAxisServer,
I've a simple WebService, when run Axis from Jetty
and then refer to http://localhost:9090/services/adder?wsdl
I get WSDL , but when I test this with SimpleAxisServer
and when getting wsdl it sends AxisFault, such as this:
<?xml version="1.0" encoding="UTF-8" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.NoService</faultcode>
<faultstring>The AXIS engine could not find a target service to invoke!
targetService is null</faultstring>
<detail>
<ns2:stackTrace xmlns:ns2="http://xml.apache.org/axis/">AxisFault
faultCode:
{http://xml.apache.org/axis/}Server.NoService faultSubcode:
faultString: The AXIS engine could not find a target
service to invoke! targetService is null faultActor:
faultNode: faultDetail: The AXIS engine could not
find a target service to invoke! targetService is null
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:492)
at
org.apache.axis.transport.http.SimpleAxisWorker.run(SimpleAxisWorker.java:34
3)
at java.lang.Thread.run(Thread.java:536)</ns2:stackTrace>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
It seems that SimpleAxisServer uses "SimpleHTTP" as transport , is the error
because of this type of transport? (when using jetty or tomcat the transport
is "http")
Any help is greatly appreciated.
Best Regards
Alireza Taherkordi