It would really help in situations like this if you could include the WSDL file which 
you were using, and the generated WSDD file.  The stack trace doesn't really tell us 
much in this case.

Thanks,
--Glen

> -----Original Message-----
> From: Nuno Guerreiro [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 16, 2002 8:05 PM
> To: Axis
> Subject: wsdl2java doesn't support primitive types such as byte???
> 
> 
> Hi, I've been using the latest versions of Axis and
> after successful generation and deployment of a Web
> Service from a wsdl file using wsdl2java, I receive
> the following error when I try to invoke the service:
> 
> java.lang.ClassNotFoundException: byte
> 
> (full stack strace is below)
> 
> I think that the serializer/deserializer declared in
> the deploy.wsdd file generated by wsdl2java aren't
> correct. The serializer used is the
> NonPrimitiveSerializerFactory. Why? This is exactly a
> primitive type.
> 
> When I use previous versions of Axis e.g. the
> 17-2-2002 build, this error doesn't exist.
> 
> 
> Thanks in advance,
> 
> 
> Nuno Guerreiro
> 
> 
> 
> 
> 
> HTTP/1.1 500 Internal Server Error
> 
> Content-Type: text/xml; charset=utf-8
> 
> Content-Length: 4306
> 
> Date: Thu, 14 Mar 2002 16:39:51 GMT
> 
> Server: Apache Tomcat/4.0.1 (HTTP/1.1 Connector)
> 
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";>
>  <SOAP-ENV:Body>
>   <SOAP-ENV:Fault>
>    <faultcode
> xmlns:ns1="http://xml.apache.org/axis/";>ns1:Server.userExcepti
> on</faultcode>
>   
> <faultstring>org.apache.axis.deployment.wsdd.WSDDException:
> java.lang.ClassNotFoundException: byte</faultstring>
>    <detail>
>     <ns2:stackTrace
> xmlns:ns2="http://xml.apache.org/axis/";>org.apache.axis.deploy
> ment.wsdd.WSDDException:
> java.lang.ClassNotFoundException: byte&#xd;
>       at
> org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(Unknown
> Source)&#xd;
>       at
> org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(Unknown
> Source)&#xd;
>       at
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(Unknown
> Source)&#xd;
>       at
> org.apache.axis.deployment.wsdd.WSDDDeployment.getService(Unknown
> Source)&#xd;
>       at
> org.apache.axis.configuration.FileProvider.getService(Unknown
> Source)&#xd;
>       at org.apache.axis.AxisEngine.getService(Unknown
> Source)&#xd;
>       at
> org.apache.axis.MessageContext.setTargetService(Unknown
> Source)&#xd;
>       at
> org.apache.axis.handlers.http.URLMapper.invoke(Unknown
> Source)&#xd;
>       at
> org.apache.axis.strategies.InvocationStrategy.visit(Unknown
> Source)&#xd;
>       at org.apache.axis.SimpleChain.doVisiting(Unknown
> Source)&#xd;
>       at org.apache.axis.SimpleChain.invoke(Unknown
> Source)&#xd;
>       at org.apache.axis.server.AxisServer.invoke(Unknown
> Source)&#xd;
>       at
> org.apache.axis.transport.http.AxisServlet.doPost(Unknown
> Source)&#xd;
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)&#xd;
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&#xd;
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(ApplicationFilterChain.java:247)&#xd;
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:193)&#xd;
>       at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.java:243)&#xd;
>       at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:566)&#xd;
>       at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)&#xd;
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.ja
> va:943)&#xd;
>       at
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.java:201)&#xd;
>       at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:566)&#xd;
>       at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)&#xd;
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.ja
> va:943)&#xd;
>       at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2344)&#xd;
>       at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:164)&#xd;
>       at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:566)&#xd;
>       at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.java:170)&#xd;
>       at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)&#xd;
>       at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:170)&#xd;
>       at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)&#xd;
>       at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
> e.java:462)&#xd;
>       at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)&#xd;
>       at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)&#xd;
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.ja
> va:943)&#xd;
>       at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java:163)&#xd;
>       at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:566)&#xd;
>       at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)&#xd;
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.ja
> va:943)&#xd;
>       at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpP
> rocessor.java:1011)&#xd;
>       at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
> ssor.java:1106)&#xd;
>       at java.lang.Thread.run(Thread.java:484)&#xd;
> </ns2:stackTrace>
>    </detail>
>   </SOAP-ENV:Fault>
>  </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
> 

Reply via email to