Hi all, Now I simple took the sample code from jaxrs SAMPLES of CXF-APACHE-2.1.2.Noconfoguration issues are coming up now. But now it is giving me
the following msg at cleint console *-*<http://localhost:8080/fetchfirst-webservice-1.0-SNAPSHOT/customerservice#> <ns1:XMLFault xmlns:ns1="*http://cxf.apache.org/bindings/xformat*"> * * <ns1:faultstring xmlns:ns1="*http://cxf.apache.org/bindings/xformat*">*.No operation matching request path /customerservice/ is found, ContentType : */*, Accept : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*.*</ns1:faultstring> * * </ns1:XMLFault> Please provide me ur valuable inputs to remove this prob. Regards, FS On Wed, Oct 29, 2008 at 3:00 PM, Forum Specific <[EMAIL PROTECTED]>wrote: > > Hi, > > Whatever you have suggested I made changes according to that.But still > facing the same prob.I am sending you my web.xml,cxf-rest.xml files also > please find it in the attachment.I think some prob is in the CXF-rest.xml > file only. I am not having any document for <jaxrs:server> tag.So i am not > clear abt this particular tag .How this tag is work around. > Please help me out this is really very urgent. > > > FS > > > > > On Wed, Oct 29, 2008 at 1:22 PM, Gabo Manuel <[EMAIL PROTECTED]>wrote: > >> Hi, >> >> 1. add <import >> resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml" /> to >> beans.xml. I think the httpbinding resource could be removed since you are >> not using http binding. >> 2. add http://cxf.apache.org/jaxrs in the schemalocation property of >> beans tag. >> 3. Don't mix and match jax-rs and jax-ws tags,i.e. javax.ws.rs.GET and >> org.codehaus.jra.Get >> 4. I'm not sure how your complex objects would fit in the path as param, >> especially for POST. shouldn't it be in the payload of POST? >> >> How do you define the web.xml file? >> >> Gabo >> >> P.S. I'm attaching the objects sent earlier. >> >> Forum Specific wrote: >> >> >> >>> Hi, >>> >>> I have attached my cxf-rest.xml file which contains jaxrs:server mapping >>> and also the java classes which will be required for the mapping of bean. >>> When I moved cxf.xml file in to WEB-INF/classes folder then tomcat container >>> is not giving cxf.xml not found warning.All the XML file whichever is >>> mentioned in cxf-rest.xml file is under WEB-INF folder. >>> But still giving the warning on Tomcat console : >>> >> >> Oct 29, 2008 12:58:19 PM org.apache.cxf.transport.servlet.CXFServlet >> updateContext >> INFO: Load the bus without application context >> >> Regards, >> forum specific >> >>> >>> >>> >>> On Wed, Oct 29, 2008 at 12:53 PM, Gabo Manuel <[EMAIL PROTECTED] >>> > wrote: >>> >>>> Hi, >>>> >>>> How does tomcat unwrap the war file? what does the cxf.xml (and other >>>> xmls) look like and where are they located after start up? Could you paste >>>> a >>>> section of the configuration files? >>>> >>>> Gabo >>>> >>>> Forum Specific wrote: >>>> >>>>> Hi All, >>>>> >>>>> My second problem(INFO: No cxf.xml configuration file detected, relying >>>>> on >>>>> defaults) hasbeen solved but my first problem is still there("INFO: >>>>> Load the >>>>> bus without application context") >>>>> Please help me out this is very urgent :(. >>>>> >>>>> Reagrds, >>>>> FS >>>>> >>>> >> > >
