[jboss-user] [JBossWS] - Re: Cannot obtain wsdl service

schmil do-not-reply at jboss.com
Fri Apr 25 04:47:49 EDT 2008


On changing to JAX-WS i got the following Error message:

2008-04-23 17:39:08,214 ERROR [OrderServiceClient] Exception during Webservice call:
  | java.lang.IllegalArgumentException: Cannot obtain wsdl service: {http://localhost:8080/ina}DitaServiceHandlerService we have [{urn:ina:ws:dita:de}DitaServiceHandlerService]
  |  at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaDataInternal(JAXWSClientMetaDataBuilder.java:145)
  |  at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:87)
  |  at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.<init>(ServiceDelegateImpl.java:131)
  |  at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:61)
  |  at javax.xml.ws.Service.<init>(Service.java:56)
  |  at javax.xml.ws.Service.create(Service.java:680)
  |  at OrderServiceClient.sendOrders(OrderServiceClient.java:155)
  | 

and after replacing

QName qname = new QName("http://localhost:8080/ina", "DitaServiceHandlerService");
with
QName qname = new QName("urn:ina:ws:dita:de", "DitaServiceHandlerService");
and copying 
- jaxb-api.jar 
- jboss-jaxws.jar 
- jboss-saaj.jar 
from client\ to lib\endorsed\

it works fine. Thanks
Lars

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146738#4146738

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146738



More information about the jboss-user mailing list