You have:

<jaxws:endpoint name="{"targetNameSpace"}SoftwareAssetInfoPortType"
 wsdlLocation="wsdl/GetSoftwareAssetInfoService.wsdl"
 createdFromAPI="true">


The createdFromAPI means at some point, you will be calling Endpoint.publish 
to publish it.  Are you?  If not, I would remove that and add an address 
attribute of something like "/myservice" or similar so CXF will publish it at 
startup.

Dan





On Tuesday 10 August 2010 7:48:10 am Amit Rathi wrote:
> Hi, I have developed a web service using CXF2.2.8, when I deployed it on
> web logic 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="
> HYPERLINK
> "http://www.springframework.org/schema/beans"http://www.springframework.or
> g/schema/beanshttps://issues.apache.org/jira/images/icons/linkext7.gif
> HYPERLINK
> "http://www.springframework.org/schema/beans/spring-beans.xsd"http://www.s
> pringframework.org/schema/beans/spring-beans.xsdhttps://issues.apache.org/j
> ira/images/icons/linkext7.gif HYPERLINK
> "http://www.springframework.org/schema/context"http://www.springframework.
> org/schema/contexthttps://issues.apache.org/jira/images/icons/linkext7.gif
> HYPERLINK
> "http://www.springframework.org/schema/context/spring-context-2.5.xsd"http
> ://www.springframework.org/schema/context/spring-context-2.5.xsdhttps://iss
> ues.apache.org/jira/images/icons/linkext7.gif">
> 
> <!-- For Testing using the Swing commons processor, uncomment one of:
> <bean
> class="org.springframework.context.annotation.CommonAnnotationBeanPostProc
> essor"/> <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="
> HYPERLINK
> "http://www.springframework.org/schema/beans"http://www.springframework.or
> g/schema/beanshttps://issues.apache.org/jira/images/icons/linkext7.gif
> HYPERLINK
> "http://www.springframework.org/schema/beans/spring-beans.xsd"http://www.s
> pringframework.org/schema/beans/spring-beans.xsdhttps://issues.apache.org/j
> ira/images/icons/linkext7.gif">
> 
> <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>HYPERLINK
> "http://cxf.apache.org/bindings/xformat"http://cxf.apache.org/bindings/xfo
> rmathttps://issues.apache.org/jira/images/icons/linkext7.gif</value>
> <value>HYPERLINK
> "http://schemas.xmlsoap.org/soap/http"http://schemas.xmlsoap.org/soap/http
> https://issues.apache.org/jira/images/icons/linkext7.gif</value>
> <value>HYPERLINK
> "http://schemas.xmlsoap.org/wsdl/http/"http://schemas.xmlsoap.org/wsdl/htt
> p/https://issues.apache.org/jira/images/icons/linkext7.gif</value>
> <value>HYPERLINK
> "http://schemas.xmlsoap.org/wsdl/soap/http"http://schemas.xmlsoap.org/wsdl
> /soap/httphttps://issues.apache.org/jira/images/icons/linkext7.gif</value>
> <value>HYPERLINK
> "http://www.w3.org/2003/05/soap/bindings/HTTP/"http://www.w3.org/2003/05/s
> oap/bindings/HTTP/https://issues.apache.org/jira/images/icons/linkext7.gif<
> /value> <value>HYPERLINK
> "http://cxf.apache.org/transports/http/configuration"http://cxf.apache.org
> /transports/http/configurationhttps://issues.apache.org/jira/images/icons/l
> inkext7.gif</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="
> HYPERLINK
> "http://www.springframework.org/schema/beans"http://www.springframework.or
> g/schema/beanshttps://issues.apache.org/jira/images/icons/linkext7.gif
> HYPERLINK
> "http://www.springframework.org/schema/beans/spring-beans.xsd"http://www.s
> pringframework.org/schema/beans/spring-beans.xsdhttps://issues.apache.org/j
> ira/images/icons/linkext7.gif">
> 
> <bean id="org.apache.cxf.binding.soap.SoapBindingFactory"
> class="org.apache.cxf.binding.soap.SoapBindingFactory" lazy-init="true">
> <property name="activationNamespaces">
> <set>
> <value>HYPERLINK
> "http://schemas.xmlsoap.org/soap/"http://schemas.xmlsoap.org/soap/https://
> issues.apache.org/jira/images/icons/linkext7.gif</value> <value>HYPERLINK
> "http://schemas.xmlsoap.org/wsdl/soap/"http://schemas.xmlsoap.org/wsdl/soa
> p/https://issues.apache.org/jira/images/icons/linkext7.gif</value>
> <value>HYPERLINK
> "http://schemas.xmlsoap.org/wsdl/soap12/"http://schemas.xmlsoap.org/wsdl/s
> oap12/https://issues.apache.org/jira/images/icons/linkext7.gif</value>
> <value>HYPERLINK
> "http://www.w3.org/2003/05/soap/bindings/HTTP/"http://www.w3.org/2003/05/s
> oap/bindings/HTTP/https://issues.apache.org/jira/images/icons/linkext7.gif<
> /value> <value>HYPERLINK
> "http://schemas.xmlsoap.org/wsdl/soap/http"http://schemas.xmlsoap.org/wsdl
> /soap/httphttps://issues.apache.org/jira/images/icons/linkext7.gif</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>HYPERLINK
> "http://schemas.xmlsoap.org/soap/"http://schemas.xmlsoap.org/soap/https://
> issues.apache.org/jira/images/icons/linkext7.gif</value> <value>HYPERLINK
> "http://schemas.xmlsoap.org/wsdl/soap/"http://schemas.xmlsoap.org/wsdl/soa
> p/https://issues.apache.org/jira/images/icons/linkext7.gif</value>
> <value>HYPERLINK
> "http://schemas.xmlsoap.org/wsdl/soap12/"http://schemas.xmlsoap.org/wsdl/s
> oap12/https://issues.apache.org/jira/images/icons/linkext7.gif</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</list
> ener-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.DocumentB
> uilderFactoryImpl</document-builder-factory>
> <transformer-factory>org.apache.xalan.processor.TransformerFactoryImpl</tr
> ansformer-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>
> ---------------------------------------------------------------------------
> ---------------------------------------------------------------------------
> -----------------------------------------------------------
> 
> 
> 
> 
> 
> Thanks & Regards
> 
> Amit Rathi

-- 
Daniel Kulp
dk...@apache.org
http://dankulp.com/blog

Reply via email to