[jboss-user] [JBossWS] - Re: Not getting instance of Service object from a WSDL file.

ajayks do-not-reply at jboss.com
Tue Sep 30 00:15:29 EDT 2008


Thanks  a lot peter for the reply. I am new in JbossWS and I am evaluating it for the use in our organization.
1.I did not  call the web service using wsrunclient.I  called it  from simple 
   java   program.
  I found some of the  the jars specified by you  like jbossws-native-jaxws.jar is not available in my  $JBOSS_HOME/client directory. I using JBOSS-4.2.2 application   server.     Should I need to install jobss JAX-WS  patch for the JBOSS-  4.2.2 application server in order to run the  web service.If yes, which  version of  jobss JAX-WS  I  need to install.

2.Normally a web service  would be called from any environment and 
  platform.I want to call it by using WSDL generated.Why I am  getting null Service object when I tried to call the web service from its WSDL file  using
below code ? --
String url="http://dlhlx09.dlh.st.com:20120/mywebservice/Greeting?wsdl"; 
URL wsdlLocation=new URL(url); 
QName serviceName = new QName("http://ccc/", "GreetingService"); 
Service service = Service.create(wsdlLocation, serviceName); 

Is it only issue of  JAX-WS patch which need to be installed.?
best regards,
Ajay kumar,
ST Microleectronics Ltd.,
Noida,India.


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

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



More information about the jboss-user mailing list