You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Lin Sun (JIRA)" <ji...@apache.org> on 2007/05/29 22:45:15 UTC

[jira] Created: (GERONIMO-3197) Axis2: don't call wsgen tool if BindingType is HTTP_Binding

Axis2: don't call wsgen tool if BindingType is HTTP_Binding
-----------------------------------------------------------

                 Key: GERONIMO-3197
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3197
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: webservices
    Affects Versions: 2.0-M6
            Reporter: Lin Sun
            Assignee: Lin Sun
             Fix For: 2.0-M6


If the app uses bindingType annotation whose value is HTTPBinding.HTTP_BINDING, and the app doesn't have a wsdl file, deployment will fail in generating the wsdl file because Sun's wsgen tool only supports SOAP 1.1 or 1.2.     Here's the stack trace:

DeploymentStatus...
Message             = wsgen failed: error: The -wsdl option cannot be used with non-SOAP bindings. Class "HelloImpl" binding: "http://www.w3.org/2004/08/wsdl/http".

org.apache.geronimo.common.DeploymentException: wsgen failed: error: The -wsdl option cannot be used with non-SOAP bindings. Class "HelloImpl" binding: "http://www.w3.org/2004/08/wsdl/http".

	at org.apache.geronimo.jaxws.builder.WsdlGenerator.generateWsdl(WsdlGenerator.java:354)
	at org.apache.geronimo.axis2.builder.Axis2Builder.initialize(Axis2Builder.java:318)
	at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.configurePOJO(JAXWSServiceBuilder.java:358)


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


[jira] Resolved: (GERONIMO-3197) Axis2: don't call wsgen tool if BindingType is HTTP_Binding

Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lin Sun resolved GERONIMO-3197.
-------------------------------

    Resolution: Fixed

fixed in rev 542726.  

> Axis2: don't call wsgen tool if BindingType is HTTP_Binding
> -----------------------------------------------------------
>
>                 Key: GERONIMO-3197
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3197
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M6
>            Reporter: Lin Sun
>            Assignee: Lin Sun
>             Fix For: 2.0-M6
>
>
> If the app uses bindingType annotation whose value is HTTPBinding.HTTP_BINDING, and the app doesn't have a wsdl file, deployment will fail in generating the wsdl file because Sun's wsgen tool only supports SOAP 1.1 or 1.2.     Here's the stack trace:
> DeploymentStatus...
> Message             = wsgen failed: error: The -wsdl option cannot be used with non-SOAP bindings. Class "HelloImpl" binding: "http://www.w3.org/2004/08/wsdl/http".
> org.apache.geronimo.common.DeploymentException: wsgen failed: error: The -wsdl option cannot be used with non-SOAP bindings. Class "HelloImpl" binding: "http://www.w3.org/2004/08/wsdl/http".
> 	at org.apache.geronimo.jaxws.builder.WsdlGenerator.generateWsdl(WsdlGenerator.java:354)
> 	at org.apache.geronimo.axis2.builder.Axis2Builder.initialize(Axis2Builder.java:318)
> 	at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.configurePOJO(JAXWSServiceBuilder.java:358)

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