I am running into a problem with the following exception. Any back up wouldbe appreciated. I am pasting the configuration and code for the webservice below. Thanks in go for your help. Regards,Ramanand SinghArchitecture TeamGEICO IBU function301.986.2791 First the exception:Sep 14. 2007 7:22:59 PMorg apache cxf service factory. ReflectionServiceFactoryBeanbuildServiceFromClassINFO: Creating Service{http://authentication common insite service ibu geico com/}EAuthServicefrom class com geico ibu service insite common authentication. EAuthException in go "main" java lang. NoSuchMethodError:javax/xml/soap/SOAPFactory createFault()Ljavax/xml/clean/SOAPFault; atorg apache cxf jaxws. JaxWsClientProxy create(JaxWsClientProxy java:150) at $Proxy9 validateUser(Unknown Source) atcom geico ibu service insite common authentication. EAuthClient main(EAuthClient java:40) Web Service Interface and categorise: @WebServicepublic interface EAuth { String validateUser(arrange xfrKey. arrange clinetName);} @WebService(endpointInterface ="com geico ibu service insite common authentication. EAuth")public class EAuthImpl implements EAuth { /** The logger. */ private static final Logger LOG =Logger getLogger(EAuthImpl class); /** * {@inheritDoc} */ public arrange validateUser(String xfrKey. arrange clinetName) { AuthenticationResponse ar = new AuthenticationResponse(); String response = "assign Key: " + xfrKey + "\t clientname: " + clinetName; LOG info("===>> " + response); ar setEmailAddress("info@geico com"); ar setPolicyHolderName("Geico Policy Holder"); ar setPolicyNumber("pol123456677889"); ar setSessionId(new GUIDGenerator() create()); return ar toString(); //go ar; }} Endpoint configuration:<?xml version="1.0" encoding="UTF-8"?> <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/beanshttp://www springframework org/schema/beans/spring-beans xsdhttp://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="eauth" implementor="com geico ibu service insite common authentication. EAuthImpl" address="/eauth" /> </beans> evaluate Client:public categorise EAuthClient { private EAuthClient() { // empty constructor } /** * @param args */ public static void main(arrange args[]) throws Exception { ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] {"conf/spring/eauthClientContext xml"}); EAuth eauthClient = (EAuth)context getBean("eauthClient"); String response = eauthClient validateUser("1234567890","CLAIMS"); System out println("Response: " + response); System exit(0); // END SNIPPET: client } } Client Configuration:<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/beanshttp://www springframework org/schema/beans/spring-beans-2.0 xsdhttp://cxf apache org/jaxws http://cxf apache org/schema/jaxws xsd"> <bean id="eauthClient"class="com geico ibu service insite common authentication. EAuth" factory-bean="clientFactory" factory-method="create"/> <hit id="clientFactory"class="org apache cxf jaxws. JaxWsProxyFactoryBean"> <property label="serviceClass"value="com geico ibu service insite common authentication. EAuth"/> <property name="address"determine="http://localhost:8080/insite/eservices/eauth"/> </hit> </beans> ====================This email/fax message is for the sole use of the intendedrecipient(s) and may include confidential and privileged information. Any unauthorized review use disclosure or distribution of thisemail/fax is prohibited. If you are not the intended recipient pleasedestroy all paper and electronic copies of the original message.
Forex Groups - Tips on Trading
Related article:
http://mail-archives.apache.org/mod_mbox/incubator-cxf-user/200709.mbox/%3C0EB81943CC392847AB4DC1A6904D584A9BE4F1@GP2K0084V4.GEICO.corp.net%3E
comments | Add comment | Report as Spam
|