You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Samprathi, Subramani non Unisys" <Su...@unisys.com> on 2003/06/19 16:07:32 UTC

Setting SOAP Headers

Hi,
I need to add the following complex data type as a soap-header for a .NET
client.
Also how would the WSDL look for generating a proper proxy at .NET end.
Thanks
Sam

public class RequestHeader {
  private String processId;
  private String securityKey;
  private String stateId;
  private String userId;
  public RequestHeader() {
  }

  public String getProcessId() {
    return this.processId;
  }

  public void setProcessId(String pId) {
    this.processId = pId;
  }

  public String getSecurityKey() {
    return this.securityKey;
  }

  public void setSecurityKey(String theSecurityKey) {
    this.securityKey = theSecurityKey;
  }

  public String getStateId() {
    return this.stateId;
  }

  public void setStateId(String theStateId) {
    this.stateId = theStateId;
  }

  public String getUserId() {
    return this.userId;
  }

  public void setUserId(String theUserId) {
    this.userId = theUserId;
  }

}