[JBossWS] - Missing jar file /java class com.sun.tools.internal.xjc.api
by pinan
Hi
I am trying ot intergrate a 3rd party web services on Jboss 5.01.(with hava version 6)
Having got as far as the web services being listed in http://127.0.0.1:8080/jbossws/services, when I try to access them I get an detailed exception followed by a JAXBException refering to a missing class com.sun.tools.internal.xjc.api.XJC
Which I have assumed is from a jar file that I missing.
I have found a reference to this class on DocJar, but no jar library.
I have been through the entire collection of jars supplied with Glass fish, suns web develiopers pack, etc(jar tvf |grep blah, etc) with no luck.
Has anybody got any clue if this if this class belongs to a published jar or where I could find that jar.
Web trace is
java.lang.IllegalStateException: Unable to create schema compiler
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:264)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:196)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:175)
at uk.co.infoterra.geostore.bean.stateful.UserManager.(UserManager.java:169)
at uk.co.infoterra.geostore.util.InitEnvListener.buildSessionData(InitEnvListener.java:138)
at uk.co.infoterra.geostore.util.InitEnvListener.sessionCreated(InitEnvListener.java:411)
at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:397)
at org.apache.catalina.session.StandardSession.setId(StandardSession.java:369)
at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:829)
at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:291)
at org.apache.catalina.connector.Request.doGetSession(Request.java:2367)
at org.apache.catalina.connector.Request.getSession(Request.java:2094)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:844)
at uk.co.infoterra.geostore.httpservlet.PageGenerator.doRequest(PageGenerator.java:159)
at uk.co.infoterra.geostore.httpservlet.PageGenerator.doGet(PageGenerator.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at uk.co.infoterra.geostore.filter.LoggerFilter.doFilter(LoggerFilter.java:133)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.xml.bind.JAXBException
- with linked exception:
[java.lang.ClassNotFoundException: com.sun.tools.internal.xjc.api.XJC from BaseClassLoader@ef2f9f{VFSClassLoaderPolicy@11f993c{name=vfszip:/C:/
jb/jboss-5.0.1.GA/server/default/deploy/cxf-2.1.4.jar/ domain=ClassLoaderDomain@18fc9ba{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss
.system.NoAnnotationURLClassLoader@12c7568} roots=[MemoryContextHandler@25507275[path= context=vfsmemory://5d3fja-1v9hx6-fsiltcp3-1-fsilup4k-22
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219880#4219880
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219880
15 years, 9 months
[JBossWS] - No Content-type in the header
by gurkanerdogdu
Hi;
JDK : 1.6.0_11-b03
Server : 5.0.1.GA
I have developed an EJB3 class like this;
@WebService(name="EchoWebService", portName="EchoPort", serviceName="EchoService")
@Stateless
@SOAPBinding(RPC)
public class EchoServiceBean implement IEchoService
{
@WebMethod
public String echo(String echo){return echo}
}
It is succesfully deployed in to the server, I can see WSDL file.
After that I created a client using the wsconsume, it generates EchoService client code.
But when I want to call the webservice via EchoService using wsrunclient
--> wsrunclient MyMainMethod "Echo", it throws the following exception
javax.xml.ws.WebServiceException : No Content-type in the header!
What is the problem?
Thanks;
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219758#4219758
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219758
15 years, 9 months
jbossws version for implementing username token
by CHALASANI, Aruna
Hello,
I am working on jboss-4.0.4GA and jbossws1.0.4 to implement webservice
security using username tokens. Is it possible to achieve this with
jbossws1.0.4? Thanks.
Regards,
AC
Our Story ... The Bupa Story
Visit www.bupastory.com to find out who we are, where we've come from, what we're about and where we're going.
Bupa House 15-19 Bloomsbury Way London WC1A 2BA
Internet communications are not secure and therefore Bupa does not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of Bupa.
Bupa Insurance Limited, Bupa Health Assurance Limited, Bupa Insurance Services Limited and Goldsborough Estates Limited are authorised and regulated by the Financial Services Authority.
For a list of Bupa's main UK trading companies visit www.bupa.co.uk/html/statements/trading_addresses.html
15 years, 9 months