[jboss-user] [JBoss Web Services] - How to export other classes to a .wsdl

Matthias Bruns do-not-reply at jboss.com
Mon Apr 4 04:20:39 EDT 2011


Matthias Bruns [http://community.jboss.org/people/traxdata] created the discussion

"How to export other classes to a .wsdl"

To view the discussion, visit: http://community.jboss.org/message/597462#597462

--------------------------------------------------------------
Hi,
I'm kinda new in JBoss-WS. 
Is there an annotation for adding classes to export?

Here's the problem:


@WebService(targetNamespace="http://export.company.de")
@XmlType(name = "SomeService", namespace = "http://export.company.de")
@SOAPBinding(style = Style.RPC, parameterStyle = ParameterStyle.BARE)
@ServiceMode(value = Mode.PAYLOAD)
public class Vertrag {
 
 
  @WebMethod(operationName = "getSomething")
  @WebResult(name = "getSomethingResult")
  public Result getSomething(
      @WebParam(name="someId") String someId,
      @WebParam(name="user") String user, 
      @WebParam(name="password") String password,
      @WebParam(name="subSystemTransactionId") String subSystemTransactionId) {
    ...
  }
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/597462#597462]

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/20110404/759625e6/attachment.html 


More information about the jboss-user mailing list