[JBoss Web Services] - CXF Client in JBoss AS 6 problem
by gressho
gressho [http://community.jboss.org/people/gressho] created the discussion
"CXF Client in JBoss AS 6 problem"
To view the discussion, visit: http://community.jboss.org/message/602198#602198
--------------------------------------------------------------
Hello,
I have a webservice running in JBossAS 6 using a WS-SecurityPolicy. It works great! I also have a perfectly well running client using the JBossWS Native Stack on JBossAS 4.7.2. Now I need another client on JBossAS 6 using the CXF stack. So I installed the spring libraries and did some testing according to the examples from the test suite:
@WebServlet(name = "CxfClient", urlPatterns = {"/CxfClient"})
public class CxfClient extends HttpServlet {
private PINbnManagementEndpoint nbnManagementEndpoint;
@Inject
@Resource("WEB-INF/server.properties")
private Properties serverProperties;
@Inject
@Resource("WEB-INF/nbnManagementClient.properties")
private URL nbnManagementClientProperties;
public void observeServletContextInitialized(@Observes @Initialized ServletContext context) {
System.out.println(context.getServerInfo() + " initialized");
}
public PINbnManagementEndpoint getPINbnManagementEndpoint() {
if (nbnManagementEndpoint == null) {
try {
PINbnManagementService nbnManagementService =
new PINbnManagementService(new URL("http://" + serverProperties.getProperty("server.name2") +
serverProperties.getProperty("piManagementService")));
nbnManagementEndpoint = nbnManagementService.getPINbnManagementEndpointPort();
((BindingProvider) nbnManagementEndpoint).getRequestContext().put(
SecurityConstants.CALLBACK_HANDLER, new KeystorePasswordCallback());
((BindingProvider) nbnManagementEndpoint).getRequestContext().put(
SecurityConstants.SIGNATURE_PROPERTIES, nbnManagementClientProperties);
((BindingProvider) nbnManagementEndpoint).getRequestContext().put(
SecurityConstants.ENCRYPT_PROPERTIES, nbnManagementClientProperties);
} catch (MalformedURLException ex) {
System.err.println("Die URL der WSDL-Datei ist ungültig! Dies ist sehr ernst!");
}
}
return nbnManagementEndpoint;
}
/**
* Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
* @param request servlet request
* @param response servlet response
* @throws ServletException if a servlet-specific error occurs
* @throws IOException if an I/O error occurs
*/
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
try {
getPINbnManagementEndpoint();
out.println("<html>"); out.println("<head>");
out.println("<title>Servlet CxfClient</title>");
out.println("</head>");
out.println("<body>");
out.println("<h1>Servlet CxfClient at " + request.getContextPath () + "</h1>");
if (nbnManagementEndpoint != null) {
for (Namespace namespace : nbnManagementEndpoint.GetNamespaces()) {
out.println("<h3>" + namespace.getPrefix() + "</h3>");
}
} else {
out.println("Initialisierung hat nicht funktioniert");
}
out.println("</body>");
out.println("</html>");
} finally {
out.close();
}
}
/**
* Handles the HTTP <code>GET</code> method.
* @param request servlet request
* @param response servlet response
* @throws ServletException if a servlet-specific error occurs
* @throws IOException if an I/O error occurs
*/
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
}
/**
* Handles the HTTP <code>POST</code> method.
* @param request servlet request
* @param response servlet response
* @throws ServletException if a servlet-specific error occurs
* @throws IOException if an I/O error occurs
*/
@Override
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
}
}
When calling the servlet this leads to the following exceptions:
11:46:50,274 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/cxfClient].[CxfClient]] Servlet.service() for servlet CxfClient threw exception: javax.xml.ws.soap.SOAPFaultException: Error creating bean with name 'org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry' defined in URL [vfs:/home/gressho/Programme/jboss-6.0.0.Final/common/lib/cxf-rt-ws-policy.jar/META-INF/cxf/cxf-extension-policy.fixml]: Cannot create inner bean 'org.apache.cxf.configuration.spring.SpringBeanQNameMap#2209ad9a' of type [org.apache.cxf.configuration.spring.SpringBeanQNameMap] while setting constructor argument; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.cxf.configuration.spring.SpringBeanQNameMap] for bean with name 'org.apache.cxf.configuration.spring.SpringBeanQNameMap#2209ad9a' defined in URL [vfs:/home/gressho/Programme/jboss-6.0.0.Final/common/lib/cxf-rt-ws-policy.jar/META-INF/cxf/cxf-extension-policy.fixml]; nested exception is java.lang.ClassNotFoundException: org.apache.cxf.configuration.spring.SpringBeanQNameMap
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146) [:2.3.1]
at $Proxy598.GetNamespaces(Unknown Source) at de.wwu.ulb.cxfclient.CxfClient.processRequest(CxfClient.java:92) [:]
at de.wwu.ulb.cxfclient.CxfClient.doGet(CxfClient.java:116) [:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at org.jboss.seam.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:62) [:3.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at org.jboss.seam.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:72) [:3.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry' defined in URL [vfs:/home/gressho/Programme/jboss-6.0.0.Final/common/lib/cxf-rt-ws-policy.jar/META-INF/cxf/cxf-extension-policy.fixml]: Cannot create inner bean 'org.apache.cxf.configuration.spring.SpringBeanQNameMap#2209ad9a' of type [org.apache.cxf.configuration.spring.SpringBeanQNameMap] while setting constructor argument; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.cxf.configuration.spring.SpringBeanQNameMap] for bean with name 'org.apache.cxf.configuration.spring.SpringBeanQNameMap#2209ad9a' defined in URL [vfs:/home/gressho/Programme/jboss-6.0.0.Final/common/lib/cxf-rt-ws-policy.jar/META-INF/cxf/cxf-extension-policy.fixml]; nested exception is java.lang.ClassNotFoundException: org.apache.cxf.configuration.spring.SpringBeanQNameMap
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:621) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:143) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:398) [:3.0.3.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1146) [:3.0.3.RELEASE]
at org.apache.cxf.bus.spring.SpringBeanLocator.getBeansOfType(SpringBeanLocator.java:59) [:2.3.1]
at org.apache.cxf.bus.CXFBusImpl.getExtension(CXFBusImpl.java:99) [:2.3.1]
at org.apache.cxf.ws.policy.PolicyEngineImpl.supportsAlternative(PolicyEngineImpl.java:521) [:2.3.1]
at org.apache.cxf.ws.policy.selector.MinimalAlternativeSelector.selectAlternative(MinimalAlternativeSelector.java:45) [:2.3.1]
at org.apache.cxf.ws.policy.EndpointPolicyImpl.chooseAlternative(EndpointPolicyImpl.java:161) [:2.3.1]
at org.apache.cxf.ws.policy.EndpointPolicyImpl.finalizeConfig(EndpointPolicyImpl.java:146) [:2.3.1]
at org.apache.cxf.ws.policy.EndpointPolicyImpl.initialize(EndpointPolicyImpl.java:142) [:2.3.1]
at org.apache.cxf.ws.policy.PolicyEngineImpl.createEndpointPolicyInfo(PolicyEngineImpl.java:504) [:2.3.1]
at org.apache.cxf.ws.policy.PolicyEngineImpl.getEndpointPolicy(PolicyEngineImpl.java:255) [:2.3.1]
at org.apache.cxf.ws.policy.PolicyEngineImpl.getClientEndpointPolicy(PolicyEngineImpl.java:237) [:2.3.1]
at org.apache.cxf.transport.http.policy.PolicyUtils.getClient(PolicyUtils.java:150) [:2.3.1]
at org.apache.cxf.transport.http.HTTPConduit.initializeConfig(HTTPConduit.java:359) [:2.3.1]
at org.apache.cxf.transport.http.HTTPConduit.<init>(HTTPConduit.java:327) [:2.3.1]
at org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory.getConduit(ClientOnlyHTTPTransportFactory.java:63) [:2.3.1]
at org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory.getConduit(ClientOnlyHTTPTransportFactory.java:50) [:2.3.1]
at org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:223) [:2.3.1]
at org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:78) [:2.3.1]
at org.apache.cxf.endpoint.UpfrontConduitSelector.prepare(UpfrontConduitSelector.java:61) [:2.3.1]
at org.apache.cxf.endpoint.ClientImpl.prepareConduitSelector(ClientImpl.java:802) [:2.3.1]
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:510) [:2.3.1]
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313) [:2.3.1]
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265) [:2.3.1]
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) [:2.3.1]
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) [:2.3.1]
... 33 more
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.cxf.configuration.spring.SpringBeanQNameMap] for bean with name 'org.apache.cxf.configuration.spring.SpringBeanQNameMap#2209ad9a' defined in URL [vfs:/home/gressho/Programme/jboss-6.0.0.Final/common/lib/cxf-rt-ws-policy.jar/META-INF/cxf/cxf-extension-policy.fixml]; nested exception is java.lang.ClassNotFoundException: org.apache.cxf.configuration.spring.SpringBeanQNameMap
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1235) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:433) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) [:3.0.3.RELEASE]
... 70 more
Caused by: java.lang.ClassNotFoundException: org.apache.cxf.configuration.spring.SpringBeanQNameMap
at java.net.URLClassLoader$1.run(URLClassLoader.java:217) [:1.6.0_20]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_20]
at java.net.URLClassLoader.findClass(URLClassLoader.java:205) [:1.6.0_20]
at java.lang.ClassLoader.loadClass(ClassLoader.java:321) [:1.6.0_20]
at java.lang.ClassLoader.loadClass(ClassLoader.java:266) [:1.6.0_20]
at org.springframework.util.ClassUtils.forName(ClassUtils.java:257) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:408) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1256) [:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1227) [:3.0.3.RELEASE]
... 72 more
cxf-common-utilities.jar is present in JBOSS_HOME/common/lib and JBOSS_HOME/client but not in my war (no cxf classes at all there!).
So this is a class loading issue with all classes available?
I'm looking for every hint I can get.
Thanks in advance
Werner
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/602198#602198]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[jBPM] - Need Clarification
by crazy aug15
crazy aug15 [http://community.jboss.org/people/crayaug15] created the discussion
"Need Clarification"
To view the discussion, visit: http://community.jboss.org/message/602136#602136
--------------------------------------------------------------
Hi,
I am new to this jbpm, i have worked on some example, mentioned is the workflow diagram. for this flow, when i run the processinstance.signal(), and print the current state, then it is giving the "end" as the cuurent state, means it is going to the start to end, rather than going to screening. on what basis it is going to end state, please help me in this.
Thanks in advance. http://community.jboss.org/servlet/JiveServlet/showImage/2-602136-16210/e... http://community.jboss.org/servlet/JiveServlet/downloadImage/2-602136-162...
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/602136#602136]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[JBoss Web Services] - Problems with example on JBossWS - JAX-WS Tools
by Luc Chris
Luc Chris [http://community.jboss.org/people/cristisor] created the discussion
"Problems with example on JBossWS - JAX-WS Tools"
To view the discussion, visit: http://community.jboss.org/message/581161#581161
--------------------------------------------------------------
Hi guys. I am trying to deploy the test project that is showed on the "JBossWS - JAX-WS Tool** s" page: http://community.jboss.org/docs/DOC-13544 http://community.jboss.org/wiki/JBossWS-JAX-WSTools. I generated the wsdl and schema files with "wsprovide".
This is the wsdl file:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="EchoService" targetNamespace="http://echo/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://echo/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://echo/" schemaLocation="EchoService_schema1.xsd" />
</schema>
</wsdl:types>
<wsdl:message name="echoResponse">
<wsdl:part name="parameters" element="tns:echoResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="echo">
<wsdl:part name="parameters" element="tns:echo">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="Echo">
<wsdl:operation name="echo">
<wsdl:input name="echo" message="tns:echo">
</wsdl:input>
<wsdl:output name="echoResponse" message="tns:echoResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="EchoServiceSoapBinding" type="tns:Echo">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="echo">
<soap:operation soapAction="" style="document" />
<wsdl:input name="echo">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="echoResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="EchoService">
<wsdl:port name="EchoPort" binding="tns:EchoServiceSoapBinding">
<soap:address location="http://localhost:9090/EchoPort" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
This is the schema file that was generated along with the wsdl when I called wsprovide:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://echo/" elementFormDefault="unqualified"
targetNamespace="http://echo/" version="1.0">
<xs:element name="echo" type="tns:echo" />
<xs:element name="echoResponse" type="tns:echoResponse" />
<xs:complexType name="echo">
<xs:sequence>
<xs:element minOccurs="0" name="arg0" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="echoResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:schema>
Then I generated all the class files with "wsconsume" ** on the wsdl file. This generated an interface "Echo" and so I created a class "EchoImpl" that implements the interface:
package echo;
@javax.jws.WebService
public class EchoImpl implements Echo
{
public String echo(String arg0)
{
return arg0;
}
}
The web service is ok when I make the deploy and so I created a client also. I used the class "EchoService", generated by wsconsume, and I created a new class, called "EchoClient", just like in the example. The client connect to the web service and gets the correct result, but JBoss throws a warning after creating the line:
EchoService service = new EchoService();
This is the warn:
12:46:49,724 WARN [org.apache.cxf.phase.PhaseInterceptorChain] Interceptor for {http://echo/}EchoImplService has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: No such operation: WebWithWSDLnull (HTTP GET PATH_INFO: /WebWithWSDLnull)
at org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:88) [:2.3.1]
I googled for this warn and I found that it should come up only when a GET request is made, but I use the generated service class, nothing else.
This happens when I run the example from the Eclipse IDE, run as java application. If I use wsrunclient on the client classes I get this:
Exception in thread "main" javax.xml.ws.WebServiceException: org.apache.cxf.serv
ice.factory.ServiceConstructionException: Failed to create service.
at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:152)
at org.jboss.wsf.stack.cxf.client.ProviderImpl.createServiceDelegate(Pro
viderImpl.java:71)
at javax.xml.ws.Service.<init>(Service.java:57)
at echo.EchoService.<init>(EchoService.java:45)
at echo.EchoClient.main(EchoClient.java:11)
Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Failed t
o create service.
at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.ja
va:93)
at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:207
)
at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:150)
... 4 more
Caused by: javax.wsdl.WSDLException: WSDLException (at /soap:Envelope): faultCod
e=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'
.
at com.ibm.wsdl.xml.WSDLReaderImpl.checkElementName(Unknown Source)
I guess that there might be something in my wsdl that he doesn't like, but I can't figure out what.
Thanks a lot.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/581161#581161]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months