JBoss Community

How to export other classes to a .wsdl

created by Matthias Bruns in JBoss Web Services - View the full discussion

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

Start a new discussion in JBoss Web Services at Community