[jboss-user] [JBoss Web Services] - Webservice with dynamic WSDL

Urs Marti do-not-reply at jboss.com
Tue Feb 15 17:58:55 EST 2011

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


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;

@WebServiceProvider(portName = "DynamoPortName", serviceName = "DynamoServiceName", targetNamespace = "dynamo")
public class Dynamo implements Provider {

    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?

-U. Marti

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110215/1fe86d82/attachment-0001.html 

More information about the jboss-user mailing list