[jboss-user] [JBossWS] - Specifying a null wsdlLocation on Service constructor

bortx do-not-reply at jboss.com
Mon Apr 7 09:59:11 EDT 2008


Hello,

I have an application written in jbossws 1.2.1 wich uses this code to invoke a web service

  
  | QName qname = new QName("http://myapp.com/webservices/impl", "TestService");		
  | TestService_Service service = new TestService_Service(null, qname);	
  | TestService stub = (TestService) service.getTestServicePort();
  |            
  | configureStub(ctx, (javax.xml.ws.BindingProvider)stub);					
  | 
  | return stub.hello("hello world");
  | 

I try to migrate it to jbossws 2.0.3 and get a NullPointerException, because I've specified a null wsdlLocation on TestService_Service constructor. Is there a way of making it work without specifying an wsdlLocation at this point?

Thanks a lot.

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

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



More information about the jboss-user mailing list