When im running my jboss messaging web-service example i encounter following 
error.
Im using
Java Version : JDK1.5 ,
JBoss Version : jboss-4.2.2.GA
Jboss Messaging : jboss-messaging-1.4.0.SP1.

My other examples such as queue n mdb are running fine.


  | #######
  |      [echo] The queue:      testQueue
  |      [echo] The client jar: ../..//jboss-messaging-client.jar
  | 
  | sanity-check:
  | 
  | init:
  | 
  | compile:
  | 
  | war:
  | 
  | deploy:
  | 
  | sleep:
  |      [echo] Sleeping for 10 seconds ...
  | 
  | run-wsdl-client:
  |       [get] Getting: 
http://127.0.0.1:8080/jms-web-service/JMSWebServiceExample?
  | wsdl
  |       [get] To: 
C:\jboss-messaging-1.4.0.SP1\examples\web-service\output\service
  | .wsdl
  |   [wstools] DEBUG [main] (WSDLDefinitionsFactory.java:102) - parse: 
file:/C:/jbo
  | ss-messaging-1.4.0.SP1/examples/web-service/./output/service.wsdl
  |   [wstools] DEBUG [main] (DefaultSPIProvider.java:68) - provide SPI 'class 
org.j
  | boss.wsf.spi.management.ServerConfigFactory'
  |   [wstools] DEBUG [main] (JavaToXSD.java:175) - Load schema: 
http://endpoint.web
  | 
services.jms.example.jboss.org/=file:/C:/DOCUME~1/282154/LOCALS~1/Temp/JBossWS_e
  | ndpoint.webservices.jms.example.jboss.org_24007.xsd
  |   [wstools] DEBUG [main] (JBossWSEntityResolver.java:64) - resolveEntity: 
[pub=n
  | 
ull,sysid=file:/C:/DOCUME~1/282154/LOCALS~1/Temp/JBossWS_endpoint.webservices.jm
  | s.example.jboss.org_24007.xsd]
  |   [wstools] DEBUG [main] (JBossWSEntityResolver.java:64) - resolveEntity: 
[pub=h
  | ttp://schemas.xmlsoap.org/soap/encoding/,sysid=null]
  |   [wstools] DEBUG [main] (MappingFileGeneratorHelper.java:876) - 
Typemapping loo
  | kup failed for null
  |   [wstools] DEBUG [main] (MappingFileGeneratorHelper.java:877) - Falling 
back to
  |  identifier generation
  |   [wstools] DEBUG [main] (MappingFileGeneratorHelper.java:876) - 
Typemapping loo
  | kup failed for null
  |   [wstools] DEBUG [main] (MappingFileGeneratorHelper.java:877) - Falling 
back to
  |  identifier generation
  | 
  | compile-client:
  |     [javac] Compiling 4 source files to 
C:\jboss-messaging-1.4.0.SP1\examples\we
  | b-service\output\client-classes
  | 
  | run:
  | 
  | send-and-receive:
  |      [java] DEBUG [main] (JAXRPCClientMetaDataBuilder.java:103) - START 
buildMet
  | aData: 
[service={http://endpoint.webservices.jms.example.jboss.org/}JMSSampleSer
  | vice]
  |      [java] DEBUG [main] (WSDLDefinitionsFactory.java:102) - parse: 
http://127.0
  | .0.1:8080/jms-web-service/JMSWebServiceExample?wsdl
  |      [java] DEBUG [main] (DefaultSPIProvider.java:68) - provide SPI 'class 
org.j
  | boss.wsf.spi.management.ServerConfigFactory'
  |      [java] DEBUG [main] (JavaToXSD.java:175) - Load schema: 
http://endpoint.web
  | 
services.jms.example.jboss.org/=file:/C:/DOCUME~1/282154/LOCALS~1/Temp/JBossWS_e
  | ndpoint.webservices.jms.example.jboss.org_35128.xsd
  |      [java] DEBUG [main] (JBossWSEntityResolver.java:64) - resolveEntity: 
[pub=n
  | 
ull,sysid=file:/C:/DOCUME~1/282154/LOCALS~1/Temp/JBossWS_endpoint.webservices.jm
  | s.example.jboss.org_35128.xsd]
  |      [java] DEBUG [main] (JBossWSEntityResolver.java:64) - resolveEntity: 
[pub=h
  | ttp://schemas.xmlsoap.org/soap/encoding/,sysid=null]
  |      [java] java.lang.IllegalArgumentException: Cannot obtain wsdl service: 
{htt
  | p://endpoint.webservices.jms.example.jboss.org/}JMSSampleService
  |      [java]     at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuil
  | der.buildMetaDataInternal(JAXRPCClientMetaDataBuilder.java:172)
  |      [java]     at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuil
  | der.buildMetaData(JAXRPCClientMetaDataBuilder.java:134)
  |      [java]     at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuil
  | der.buildMetaData(JAXRPCClientMetaDataBuilder.java:86)
  |      [java]     at 
org.jboss.ws.core.jaxrpc.client.ServiceImpl.<init>(ServiceImp
  | l.java:111)
  |      [java]     at 
org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createServ
  | ice(ServiceFactoryImpl.java:157)
  |      [java]     at 
org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createServ
  | ice(ServiceFactoryImpl.java:142)
  |      [java]     at 
org.jboss.example.jms.webservices.client.Client.sendMessage(C
  | lient.java:75)
  |      [java]     at 
org.jboss.example.jms.webservices.client.Client.example(Clien
  | t.java:58)
  |      [java]     at 
org.jboss.example.jms.common.ExampleSupport.run(ExampleSuppor
  | t.java:161)
  |      [java]     at 
org.jboss.example.jms.webservices.client.Client.main(Client.j
  | ava:117)
  |      [java]
  |      [java] #####################
  |      [java] ###   FAILURE!   ###
  |      [java] #####################
  | 
  | BUILD FAILED
  | C:\jboss-messaging-1.4.0.SP1\examples\web-service\build.xml:157: The 
following e
  | rror occurred while executing this line:
  | C:\jboss-messaging-1.4.0.SP1\examples\web-service\build.xml:166: Java 
returned:
  | 1
  | 
  | Total time: 14 seconds
  | C:\jboss-messaging-1.4.0.SP1\examples\web-service>
  | 
  | 

please anyone of u can tell me what is the problem

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115442
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to