You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "willem Jiang (JIRA)" <ji...@apache.org> on 2007/05/21 10:07:16 UTC

[jira] Created: (CXF-663) CXF's spring jaxws syntax doesn't support http-binding

CXF's spring jaxws syntax doesn't support http-binding
------------------------------------------------------

                 Key: CXF-663
                 URL: https://issues.apache.org/jira/browse/CXF-663
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.0-RC
            Reporter: willem Jiang


Using jaxws:endpoint, with a bindingUri of http://apache.org/cxf/binding/http and importing the -http-binding.xmlSpring config, no dice. Complains that there's no destination factory for
SOAP (?!?). If I import the -soap.xml Spring config, then I get a ClassCastException for BindingInfo. I've tried changing the order of imports, no dice.

 I am running in a minimal web container (winstone), to minimize container weirdness.

Also - its unclear from the docs if I need to import cxf-servlet.xml or not  (I've tried both, doesn't seem to impact things at the point where I'm getting the exception(s)). 

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


[jira] Resolved: (CXF-663) CXF's spring jaxws syntax doesn't support http-binding

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

willem Jiang resolved CXF-663.
------------------------------

    Resolution: Fixed

this issue has been resolved in the revision r544431
Here also a example for writing the <jaxws:endpoint
  
  <bean id="JaxWsServiceFactoryBean" class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
    <property name="wrapped" value="false"/>
  </bean>

   <jaxws:endpoint id="restfulServer" 
              implementor="org.apache.cxf.customer.bare.CustomerService"
              address="/services/endpoint/restful"
              bindingUri="http://apache.org/cxf/binding/http">              
     <jaxws:serviceFactory> 
         <ref bean="JaxWsServiceFactoryBean"/>
     </jaxws:serviceFactory> 
  </jaxws:endpoint>

> CXF's spring jaxws syntax doesn't support http-binding
> ------------------------------------------------------
>
>                 Key: CXF-663
>                 URL: https://issues.apache.org/jira/browse/CXF-663
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-RC
>            Reporter: willem Jiang
>            Assignee: willem Jiang
>             Fix For: 2.0
>
>
> Using jaxws:endpoint, with a bindingUri of http://apache.org/cxf/binding/http and importing the -http-binding.xmlSpring config, no dice. Complains that there's no destination factory for
> SOAP (?!?). If I import the -soap.xml Spring config, then I get a ClassCastException for BindingInfo. I've tried changing the order of imports, no dice.
>  I am running in a minimal web container (winstone), to minimize container weirdness.
> Also - its unclear from the docs if I need to import cxf-servlet.xml or not  (I've tried both, doesn't seem to impact things at the point where I'm getting the exception(s)). 

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


[jira] Updated: (CXF-663) CXF's spring jaxws syntax doesn't support http-binding

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

Bozhong Lin updated CXF-663:
----------------------------

    Fix Version/s: 2.0
         Assignee: willem Jiang

> CXF's spring jaxws syntax doesn't support http-binding
> ------------------------------------------------------
>
>                 Key: CXF-663
>                 URL: https://issues.apache.org/jira/browse/CXF-663
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-RC
>            Reporter: willem Jiang
>            Assignee: willem Jiang
>             Fix For: 2.0
>
>
> Using jaxws:endpoint, with a bindingUri of http://apache.org/cxf/binding/http and importing the -http-binding.xmlSpring config, no dice. Complains that there's no destination factory for
> SOAP (?!?). If I import the -soap.xml Spring config, then I get a ClassCastException for BindingInfo. I've tried changing the order of imports, no dice.
>  I am running in a minimal web container (winstone), to minimize container weirdness.
> Also - its unclear from the docs if I need to import cxf-servlet.xml or not  (I've tried both, doesn't seem to impact things at the point where I'm getting the exception(s)). 

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