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/07/21 06:54:06 UTC

[jira] Created: (CXF-821) Current CXFservletTransportFactory don't support the connduit Initator interfance

Current CXFservletTransportFactory don't support the connduit Initator interfance
---------------------------------------------------------------------------------

                 Key: CXF-821
                 URL: https://issues.apache.org/jira/browse/CXF-821
             Project: CXF
          Issue Type: Bug
          Components: Transports
    Affects Versions: 2.0
            Reporter: willem Jiang
             Fix For: 2.0.1


one can not  put both server and client in one spring context... just like this

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:jaxws="http://cxf.apache.org/jaxws"
       xsi:schemaLocation="
 	http://www.springframework.org/schema/beans
 	http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
 	http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
        
     <import resource="classpath:META-INF/cxf/cxf.xml" />
	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
       .......
       <jaxws:endpoint id="helloWorld" 
 		implementor="com.net2com.webservice.HelloWorldImpl" 
 		address="/HelloWorld" />
  
       <bean id="client" class="com.net2com.webservice.HelloWorld" 
       factory-bean="clientFactory" factory-method="create"/>
     
 	<bean id="clientFactory"
        class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
 	  <property name="serviceClass"
                      value="com.net2com.webservice.HelloWorld"/>
 	  <property name="address"
                      value="http://localhost:8080/interface/webservice/HelloWorld"/>
 	</bean>
</beans>

When we need an spring application be both the web service provider and consumer, current CXF servlet transport is not support yet,
Because there is no http conduit  initiatior defined in the servlet  transport factory.



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


[jira] Resolved: (CXF-821) Current CXFservletTransportFactory don't support the connduit Initator interfance

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

willem Jiang resolved CXF-821.
------------------------------

    Resolution: Fixed

I just committed a fix for it in the revision 558591.


> Current CXFservletTransportFactory don't support the connduit Initator interfance
> ---------------------------------------------------------------------------------
>
>                 Key: CXF-821
>                 URL: https://issues.apache.org/jira/browse/CXF-821
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.0
>            Reporter: willem Jiang
>            Assignee: willem Jiang
>             Fix For: 2.0.1
>
>
> one can not  put both server and client in one spring context... just like this
> <beans xmlns="http://www.springframework.org/schema/beans"
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>        xmlns:jaxws="http://cxf.apache.org/jaxws"
>        xsi:schemaLocation="
>  	http://www.springframework.org/schema/beans
>  	http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>  	http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
>         
>      <import resource="classpath:META-INF/cxf/cxf.xml" />
> 	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
> 	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
>        .......
>        <jaxws:endpoint id="helloWorld" 
>  		implementor="com.net2com.webservice.HelloWorldImpl" 
>  		address="/HelloWorld" />
>   
>        <bean id="client" class="com.net2com.webservice.HelloWorld" 
>        factory-bean="clientFactory" factory-method="create"/>
>      
>  	<bean id="clientFactory"
>         class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
>  	  <property name="serviceClass"
>                       value="com.net2com.webservice.HelloWorld"/>
>  	  <property name="address"
>                       value="http://localhost:8080/interface/webservice/HelloWorld"/>
>  	</bean>
> </beans>
> When we need an spring application be both the web service provider and consumer, current CXF servlet transport is not support yet,
> Because there is no http conduit  initiatior defined in the servlet  transport factory.

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


[jira] Assigned: (CXF-821) Current CXFservletTransportFactory don't support the connduit Initator interfance

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

willem Jiang reassigned CXF-821:
--------------------------------

    Assignee: willem Jiang

> Current CXFservletTransportFactory don't support the connduit Initator interfance
> ---------------------------------------------------------------------------------
>
>                 Key: CXF-821
>                 URL: https://issues.apache.org/jira/browse/CXF-821
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.0
>            Reporter: willem Jiang
>            Assignee: willem Jiang
>             Fix For: 2.0.1
>
>
> one can not  put both server and client in one spring context... just like this
> <beans xmlns="http://www.springframework.org/schema/beans"
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>        xmlns:jaxws="http://cxf.apache.org/jaxws"
>        xsi:schemaLocation="
>  	http://www.springframework.org/schema/beans
>  	http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>  	http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
>         
>      <import resource="classpath:META-INF/cxf/cxf.xml" />
> 	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
> 	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
>        .......
>        <jaxws:endpoint id="helloWorld" 
>  		implementor="com.net2com.webservice.HelloWorldImpl" 
>  		address="/HelloWorld" />
>   
>        <bean id="client" class="com.net2com.webservice.HelloWorld" 
>        factory-bean="clientFactory" factory-method="create"/>
>      
>  	<bean id="clientFactory"
>         class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
>  	  <property name="serviceClass"
>                       value="com.net2com.webservice.HelloWorld"/>
>  	  <property name="address"
>                       value="http://localhost:8080/interface/webservice/HelloWorld"/>
>  	</bean>
> </beans>
> When we need an spring application be both the web service provider and consumer, current CXF servlet transport is not support yet,
> Because there is no http conduit  initiatior defined in the servlet  transport factory.

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