[jboss-user] [JBoss Web Services] - Non-existent javax.ws.Service constructor called in generated WS client
Ondrej Zizka
do-not-reply at jboss.com
Sun Jan 9 23:50:02 EST 2011
Ondrej Zizka [http://community.jboss.org/people/ozizka%40redhat.com] created the discussion
"Non-existent javax.ws.Service constructor called in generated WS client"
To view the discussion, visit: http://community.jboss.org/message/579691#579691
--------------------------------------------------------------
Hi,
I'd like to use the code generated by wsconsume.sh in a standalone app.
I'd like to ask about this inconsistency, and what should I do to fix.
I suppose I should put some ws implementation to the endorsed dir, right?
Thanks,
Ondra
import javax.xml.ws.Service;
...
/**
* This class was generated by Apache CXF 2.3.1
* Generated source version: 2.3.1
*/
@WebServiceClient(...)
public class IsirPub001 extends Service {
...
public IsirPub001(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public IsirPub001(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public IsirPub001() {
super(WSDL_LOCATION, SERVICE);
}
public IsirPub001(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
public IsirPub001(URL wsdlLocation, WebServiceFeature ... features) {
super(wsdlLocation, SERVICE, features);
}
public IsirPub001(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
super(wsdlLocation, serviceName, features);
}
...
}
JDK 1.6.0_20 src:
package javax.xml.ws;
...
public class Service {
// The only constructor.
protected Service(java.net.URL wsdlDocumentLocation, QName serviceName) {
delegate = Provider.provider().createServiceDelegate(wsdlDocumentLocation,
serviceName,
this.getClass());
}
...
}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/579691#579691]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110109/49a17e15/attachment-0001.html
More information about the jboss-user
mailing list