axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3831) Fails to generate wsdl when deploying annotated .class file using POJODeployer in axis2-1.4
Date Sat, 31 May 2008 11:15:46 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-3831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601376#action_12601376
] 

Davanum Srinivas commented on AXIS2-3831:
-----------------------------------------

Did you try under JDK 1.6 or drop JAXWS RI jars (under JDK 1.5)?

-- dims

> Fails to generate wsdl when deploying annotated .class file using POJODeployer in axis2-1.4
> -------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3831
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3831
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Priority: Blocker
>
> I deployed the following annotated class in Axis2-1.4 (Copied the .class file to Axis2_home/repository/pojo)
> import javax.jws.WebMethod;
> import javax.jws.WebService;
> @WebService
> public class ExamplePOJOService {
> 	@WebMethod
> 	public String reverse(String input) {
> 		StringBuffer buff = new StringBuffer();
> 		for (int i=input.length()-1; i>=0; i--) {
> 			buff.append(input.charAt(i));
> 		}
> 		return buff.toString();
> 	}
> }
> When clicking on the servicename of the http://localhost:8080/axis2/services/ page I
got the following exception.
> [ERROR] Error occurred generating WSDL file for Web service implementation class
>  {ExamplePOJOService}: {java.lang.Exception: A WSDL Definition could not be gene
> rated for the implementation class: ExamplePOJOService}
> java.lang.Exception: A WSDL Definition could not be generated for the implementation
class: ExamplePOJOService
>         at org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.generateWsdl(JAXWSRIWSDLGenerator.java:177)
>         at org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.initialize(JAXWSRIWSDLGenerator.java:371)
>         at org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.getWSDL(JAXWSRIWSDLGenerator.java:364)
>         at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1319)
>         at org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:146)
>         at org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:281)
>         at org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:187)
>         at org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:82)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
>         at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message