Can't find the request for service's Observer
---------------------------------------------

                 Key: CXF-2933
                 URL: https://issues.apache.org/jira/browse/CXF-2933
             Project: CXF
          Issue Type: Task
          Components: JAX-WS Runtime
    Affects Versions: 2.2.8
         Environment: Windows XP, JDK 1.6, Weblogic application server 10.3
            Reporter: amit rathi


Hi, I have developed a webservice using CXF2.2.8, when I deployed it on 
weblogic application server & try to access the WSDL url in IE its throwing 
exception. 
Below are the various files I am using. Kindly help me, its urgent. Let me know 
if you need anything more from my side.

cxf.xml
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:jaxws="http://cxf.apache.org/jaxws";
       xmlns:context="http://www.springframework.org/schema/context";
       xsi:schemaLocation="
http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context 
http://www.springframework.org/schema/context/spring-context-2.5.xsd";>

        <!--  For Testing using the Swing commons processor, uncomment one of: 
        <bean 
class="org.springframework.context.annotation.CommonAnnotationBeanPostProcessor"/>
        <context:annotation-config/>
        -->
    <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl"/>
    <bean id="org.apache.cxf.bus.spring.BusApplicationListener" 
class="org.apache.cxf.bus.spring.BusApplicationListener"/>
    <bean id="org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor" 
class="org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor"/>
    <bean id="org.apache.cxf.bus.spring.Jsr250BeanPostProcessor" 
class="org.apache.cxf.bus.spring.Jsr250BeanPostProcessor"/>    
    <bean id="org.apache.cxf.bus.spring.BusExtensionPostProcessor" 
class="org.apache.cxf.bus.spring.BusExtensionPostProcessor"/>
    
    <bean id="org.apache.cxf.resource.ResourceManager" 
class="org.apache.cxf.bus.resource.ResourceManagerImpl">
       <property name="resolvers">
            <list>
                <bean class="org.apache.cxf.resource.ClasspathResolver"/>
                <bean class="org.apache.cxf.resource.ClassLoaderResolver"/>
                <bean 
class="org.apache.cxf.bus.spring.BusApplicationContextResourceResolver"/>
            </list>
       </property>
       <property name="bus" ref="cxf"/>
    </bean>
    <bean id="org.apache.cxf.configuration.Configurer" 
        class="org.apache.cxf.configuration.spring.ConfigurerImpl">
    </bean>    
        
    <bean id="org.apache.cxf.binding.BindingFactoryManager" 
class="org.apache.cxf.binding.BindingFactoryManagerImpl">
        <property name="mapProvider">
            <bean class="org.apache.cxf.configuration.spring.SpringBeanMap">
              <property name="type" 
value="org.apache.cxf.binding.BindingFactory"/>
              <property name="idsProperty" value="activationNamespaces"/>
            </bean>
        </property>
        <property name="bus" ref="cxf"/>
    </bean>
    
    <bean id="org.apache.cxf.transport.DestinationFactoryManager" 
class="org.apache.cxf.transport.DestinationFactoryManagerImpl">
        <property name="mapProvider">
            <bean class="org.apache.cxf.configuration.spring.SpringBeanMap">
              <property name="type" 
value="org.apache.cxf.transport.DestinationFactory"/>
              <property name="idsProperty" value="transportIds"/>
            </bean>
        </property>
        <property name="bus" ref="cxf"/>
    </bean>
    
    <bean id="org.apache.cxf.transport.ConduitInitiatorManager" 
class="org.apache.cxf.transport.ConduitInitiatorManagerImpl">
        <property name="mapProvider">
            <bean class="org.apache.cxf.configuration.spring.SpringBeanMap">
              <property name="type" 
value="org.apache.cxf.transport.ConduitInitiator"/>
              <property name="idsProperty" value="transportIds"/>
            </bean>
        </property>
        <property name="bus" ref="cxf"/>
    </bean>
    
    <bean id="org.apache.cxf.wsdl.WSDLManager" 
class="org.apache.cxf.wsdl11.WSDLManagerImpl">
        <property name="bus" ref="cxf"/>
    </bean>
    
    <bean id="org.apache.cxf.phase.PhaseManager" 
class="org.apache.cxf.phase.PhaseManagerImpl">
        
    </bean>
    
    <bean id="org.apache.cxf.workqueue.WorkQueueManager" 
class="org.apache.cxf.workqueue.WorkQueueManagerImpl">
        <property name="bus" ref="cxf"/>
    </bean>
    
    <bean id="org.apache.cxf.buslifecycle.BusLifeCycleManager" 
class="org.apache.cxf.buslifecycle.CXFBusLifeCycleManager">
        <property name="bus" ref="cxf"/>
    </bean>
    
    <bean id="org.apache.cxf.endpoint.ServerRegistry" 
class="org.apache.cxf.endpoint.ServerRegistryImpl">
        <property name="bus" ref="cxf"/>
    </bean>

    <bean id="org.apache.cxf.endpoint.ServerLifeCycleManager" 
class="org.apache.cxf.endpoint.ServerLifeCycleManagerImpl"/>
    <bean id="org.apache.cxf.endpoint.ClientLifeCycleManager" 
class="org.apache.cxf.endpoint.ClientLifeCycleManagerImpl"/>
        

    <bean id="org.apache.cxf.transports.http.QueryHandlerRegistry" 
class="org.apache.cxf.transport.http.QueryHandlerRegistryImpl">
        <property name="bus" ref="cxf"/>
        <property name="queryHandlers">
                <list>
                        <bean 
class="org.apache.cxf.transport.http.WSDLQueryHandler">
                                <property name="bus" ref="cxf"/>
                        </bean> 
                </list>
        </property>
    </bean>

    <bean id="org.apache.cxf.endpoint.EndpointResolverRegistry" 
class="org.apache.cxf.endpoint.EndpointResolverRegistryImpl">
        <property name="bus" ref="cxf"/>
    </bean>
    <bean id="org.apache.cxf.headers.HeaderManager" 
class="org.apache.cxf.headers.HeaderManagerImpl">
        <property name="bus" ref="cxf"/>
    </bean>
    <bean id="org.apache.cxf.catalog.OASISCatalogManager" 
class="org.apache.cxf.catalog.OASISCatalogManager">
        <property name="bus" ref="cxf"/>
    </bean>

    <bean id="org.apache.cxf.endpoint.ServiceContractResolverRegistry" 
class="org.apache.cxf.endpoint.ServiceContractResolverRegistryImpl">
        <property name="bus" ref="cxf"/>
    </bean>
    
    <jaxws:client name="{"targetNameSpace"}GetWFPProfileInfoPortType"
        createdFromAPI="true">
        <jaxws:properties>
            <entry key="schema-validation-enabled" value="true" />
        </jaxws:properties>
    </jaxws:client> 
    
    <jaxws:endpoint name="{"targetNameSpace"}GetWFPProfileInfoPortType"
        wsdlLocation="wsdl/GetWFPProfileInfoService.wsdl"
        createdFromAPI="true">
        <jaxws:properties>
            <entry key="schema-validation-enabled" value="true" />
        </jaxws:properties>
    </jaxws:endpoint>

    <jaxws:client name="{"targetNameSpace"}SoftwareAssetInfoPortType"
        createdFromAPI="true">
        <jaxws:properties>
            <entry key="schema-validation-enabled" value="true" />
        </jaxws:properties>
    </jaxws:client> 
    
    <jaxws:endpoint name="{"targetNameSpace"}SoftwareAssetInfoPortType"
        wsdlLocation="wsdl/GetSoftwareAssetInfoService.wsdl"
        createdFromAPI="true">
        <jaxws:properties>
            <entry key="schema-validation-enabled" value="true" />
        </jaxws:properties>
    </jaxws:endpoint>
    
</beans>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


cxf-servlet.xml
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:foo="http://cxf.apache.org/configuration/foo";
       xsi:schemaLocation="
http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd";>
            
    <bean class="org.apache.cxf.transport.servlet.ServletTransportFactory"
          id="org.apache.cxf.transport.servlet.ServletTransportFactory">
        <property name="bus" ref="cxf"/>
        <property name="transportIds">
            <set>
                <value>http://cxf.apache.org/bindings/xformat</value>
                <value>http://schemas.xmlsoap.org/soap/http</value>
                <value>http://schemas.xmlsoap.org/wsdl/http/</value>
                <value>http://schemas.xmlsoap.org/wsdl/soap/http</value>
                    <value>http://www.w3.org/2003/05/soap/bindings/HTTP/</value>
                
<value>http://cxf.apache.org/transports/http/configuration</value>              
  
            </set>
        </property>
    </bean>
</beans>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

cxf-extension-soap.xml
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:foo="http://cxf.apache.org/configuration/foo";
       xsi:schemaLocation="
http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd";>
    
    <bean id="org.apache.cxf.binding.soap.SoapBindingFactory"
          class="org.apache.cxf.binding.soap.SoapBindingFactory" 
lazy-init="true">
        <property name="activationNamespaces">
            <set>
                <value>http://schemas.xmlsoap.org/soap/</value>
                <value>http://schemas.xmlsoap.org/wsdl/soap/</value>
                <value>http://schemas.xmlsoap.org/wsdl/soap12/</value>
                <value>http://www.w3.org/2003/05/soap/bindings/HTTP/</value>
                <value>http://schemas.xmlsoap.org/wsdl/soap/http</value>
            </set>
        </property>
        <property name="bus" ref="cxf"/>
    </bean>
    
    <bean class="org.apache.cxf.binding.soap.SoapTransportFactory"
          id="org.apache.cxf.binding.soap.SoapTransportFactory"
          lazy-init="true">
        <property name="transportIds">
            <list>
                <value>http://schemas.xmlsoap.org/soap/</value>
                <value>http://schemas.xmlsoap.org/wsdl/soap/</value>
                <value>http://schemas.xmlsoap.org/wsdl/soap12/</value>
            </list>
        </property>
        <property name="bus" ref="cxf"/>
    </bean>
        
        <bean id="org.apache.cxf.binding.soap.customEditorConfigurer"
                
class="org.springframework.beans.factory.config.CustomEditorConfigurer">
                <property name="propertyEditorRegistrars">
                        <list>
                                <bean 
class="org.apache.cxf.binding.soap.spring.SoapVersionRegistrar"/>
                        </list>
                </property>
        </bean>
</beans>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

web.xml
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee";>
  <display-name>CXFLibrary</display-name>
  <description>CXF Library Service</description>
  <listener>
    
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  </listener>
  <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>
      classpath:META-INF/cxf/cxf.xml
      classpath:META-INF/cxf/cxf-extension-soap.xml
      classpath:META-INF/cxf/cxf-servlet.xml 
     </param-value>
  </context-param>
  <servlet>
    <servlet-name>CXFServlet</servlet-name>
    <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>CXFServlet</servlet-name>
    <url-pattern>/*</url-pattern>
  </servlet-mapping>
</web-app>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

application.xml
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version='1.0' encoding='UTF-8'?>
<application xmlns="http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.4">
  <display-name>domainservices</display-name>
  <module>
    <web>
      <web-uri>domainservices.war</web-uri>
      <context-root>domainservices</context-root>
    </web>
  </module>
</application>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

weblogic-application.xml
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-application xmlns="http://www.bea.com/ns/weblogic/90";>
<xml> 
      <parser-factory> 
          <saxparser-factory>
          org.apache.xerces.jaxp.SAXParserFactoryImpl
        </saxparser-factory>
        
<document-builder-factory>com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl</document-builder-factory>
 
        
<transformer-factory>org.apache.xalan.processor.TransformerFactoryImpl</transformer-factory>
 
      </parser-factory> 
    </xml> 

        <application-param>
                <param-name>webapp.encoding.default</param-name>
                <param-value>UTF-8</param-value>
        </application-param>
        <prefer-application-packages>
                <package-name>javax.jws.*</package-name>
                
                <package-name>org.apache.xerces.*</package-name> 
                <package-name>org.apache.xalan.*</package-name> 
             <package-name>org.springframework.*</package-name>
               <package-name>org.apache.xmlbeans.*</package-name>               
        </prefer-application-packages>
</weblogic-application> 
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


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

Reply via email to