On Tue February 3 2009 12:00:22 pm Alexey Zavizionov wrote: > Thanks for the reply. > We have checked that when we try to browse '?wsdl' it gets local file > by path provided with "wsdlLocation". > Since we have multiport service we will provide own generated wsdl. > > We will move in 3 days to the latest release version. > > When will 2.1.4 released?
Hopefully will start the vote later today with the release on Friday or Monday. (providing the vote passes) Dan > > Regards, > Alexey. > > On Tue, Feb 3, 2009 at 6:47 PM, Daniel Kulp <[email protected]> wrote: > > On Tue February 3 2009 10:38:57 am Alexey Zavizionov wrote: > >> It was after we removed the "wsdlLocation" annotation for our > >> service. Because it points to local file after generation. > >> I guess it parse that local wsdl file with requests' server name and > >> context. Does it? > > > > No, this USUALLY is due to something funky going on in the JAXB model > > producing some strange schemas (like schemas without target namespaces), > > but not always. Unfortunately, it's nearly impossible to debug. In > > 2.1.4 (I'm running what I hope is the final TCK run for it now to to > > final builds later today), we've update this code to avoid this error, > > but it may result in different schemas being produced as we try to > > "correct" the funky things JAXB produces. You may want to give the > > latest 2.1.4 snapshot a try to see if it helps. > > > > Dan > > > >> Alexey. > >> > >> On Tue, Feb 3, 2009 at 2:50 PM, Alexey Zavizionov > >> > >> <[email protected]> wrote: > >> > Hello, list > >> > > >> > Could you help me with that exception? > >> > > >> > WARNING: org.apache.cxf.transport.http.WSDLQueryHandler Exception > >> > caught writing response. > >> > org.apache.cxf.transport.http.WSDLQueryException: Exception occurred > >> > while trying to process > >> > http://localhost:8080/wsrp/soap/services/WSRP_v1_PortletM > >> > anagement_Service?wsdl > >> > at > >> > org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQuery > >> >Han dler.java:214) at > >> > org.apache.cxf.transport.servlet.ServletController.invoke(ServletContr > >> >oll er.java:152) at > >> > org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXF > >> >Ser vlet.java:174) at > >> > org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFS > >> >erv let.java:156) at > >> > javax.servlet.http.HttpServlet.service(HttpServlet.java:693) at > >> > javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at > >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli > >> >cat ionFilterChain.java:290) at > >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi > >> >lte rChain.java:206) at > >> > org.exoplatform.services.wsrp2.filter.WSRPFilter.doFilter(WSRPFilter.j > >> >ava > >> > > >> >:66) at > >> > > >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli > >> >cat ionFilterChain.java:235) at > >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi > >> >lte rChain.java:206) at > >> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa > >> >lve .java:233) at > >> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa > >> >lve .java:175) at > >> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja > >> >va: 128) at > >> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja > >> >va: 102) at > >> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv > >> >e.j ava:109) at > >> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java > >> >:28 6) at > >> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: > >> >844 ) at > >> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces > >> >s(H ttp11Protocol.java:583) at > >> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447 > >> >) at java.lang.Thread.run(Thread.java:595) > >> > Caused by: javax.wsdl.WSDLException: WSDLException: > >> > faultCode=OTHER_ERROR: Can't find prefix for > >> > 'urn:oasis:names:tc:wsrp:v1:types'. Namespace prefixe > >> > s must be set on the Definition object using the addNamespace(...) > >> > method. at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source) at > >> > com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown Source) at > >> > com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown Source) > >> > at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source) > >> > at com.ibm.wsdl.xml.WSDLWriterImpl.printMessages(Unknown > >> > Source) at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown > >> > Source) at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source) > >> > at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source) at > >> > org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQuery > >> >Han dler.java:171) ... 20 more > >> > > >> > We deploy service with > >> > Endpoint endpoint = Endpoint.publish(address, object); > >> > > >> > ENV: Tomcat 6.0.16, CXF 2.1.2, > >> > > >> > Thanks. > > > > -- > > Daniel Kulp > > [email protected] > > http://www.dankulp.com/blog -- Daniel Kulp [email protected] http://www.dankulp.com/blog
