[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

--------------------------------------------------------------
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&containerType=14&container=2044]

-------------- 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