axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charitha Kankanamge (JIRA)" <>
Subject [jira] Created: (AXIS2-3075) java2wsdl generates an invalid wsdl when the binding style is rpc
Date Mon, 06 Aug 2007 04:59:59 GMT
java2wsdl generates an invalid wsdl when the binding style is rpc

                 Key: AXIS2-3075
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
         Environment: winxp, jdk15
            Reporter: Charitha Kankanamge
            Assignee: Deepal Jayasinghe

See the attached wsdl which was generated by java2wsdl.bat with specifying rpc binding. The
generated wsdl is invalid and due to that it returns following exception when trying to generate

If rpc binding style is no longer supported when generating wsdl using java2wsdl, please add
it to the known issues list.

[ERROR] RPC-literal type message part parameters should have a type attribute
org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException: RPC-literal
type me
ssage part parameters should have a type attribute
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addPartToElement(
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getNewComplextType(
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaForPorttype(
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapperSchema(
        at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
        at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(
        at org.apache.axis2.wsdl.WSDL2Code.main(
        at org.apache.axis2.wsdl.WSDL2Java.main(
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing

Steps to reproduce:
1. Generate wsdl using java2wsdl.bat
C:\Axis2\Axis2-1.3\RC3\axis2-1.3-RC3\bin>java2wsdl.bat -cn Mytestservice -of Mytest.wsdl
-o . -st rpc

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:
For additional commands, e-mail:

View raw message