Urs Marti [
http://community.jboss.org/people/umarti] created the discussion
"Webservice with dynamic WSDL"
To view the discussion, visit:
http://community.jboss.org/message/587594#587594
--------------------------------------------------------------
Hi,
I'd like to create a dynamic webservice. Dynamic means, database driven operations,
messages and types. To process the SOAP messages, I've found WebserviceProvider:
package dynamo;
import javax.ejb.Stateless;import javax.xml.soap.SOAPMessage;
import javax.xml.ws.Provider;
import javax.xml.ws.ServiceMode;
import javax.xml.ws.WebServiceProvider;
import javax.xml.ws.Service.Mode;
@Stateless
@WebServiceProvider(portName = "DynamoPortName", serviceName =
"DynamoServiceName", targetNamespace = "dynamo")
@ServiceMode(Mode.MESSAGE)
public class Dynamo implements Provider {
@Override
public SOAPMessage invoke(SOAPMessage message) {
System.out.println("Message arrived.");
return null;
}
}
The WebserviceProvider requests a deploy - time existing relative WSDL file, so it
doesn't fit my requirements.
How do I create a WSDL file and its service programmatically?
Sincerely,
-U. Marti
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/587594#587594]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]