2
0
Fork 0

wip made remote ejb working over http

This commit is contained in:
Willem Cazander 2012-11-21 20:45:08 +01:00
parent d4e537a2bf
commit 2a0d992642
393 changed files with 8916 additions and 3872 deletions

View file

@ -3,7 +3,7 @@
<parent>
<artifactId>vasc-frontend-cxf</artifactId>
<groupId>net.forwardfire.vasc</groupId>
<version>0.3.5-SNAPSHOT</version>
<version>0.4.1-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>vasc-frontend-cxf-client</artifactId>
@ -15,5 +15,10 @@
<artifactId>jsr181-api</artifactId>
<version>${jsr181-api.version}</version>
</dependency>
<dependency>
<groupId>net.forwardfire.vasc</groupId>
<artifactId>vasc-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>

View file

@ -0,0 +1,11 @@
package net.forwardfire.vasc.frontend.cxf.client;
import java.util.List;
import javax.jws.WebService;
@WebService
public interface VascControllerService {
List<String> getVascEntryIds();
}

View file

@ -2,9 +2,21 @@ package net.forwardfire.vasc.frontend.cxf.client;
import javax.jws.WebService;
import net.forwardfire.vasc.frontend.cxf.data.VascEntryExecuteRequest;
import net.forwardfire.vasc.frontend.cxf.data.VascEntryExecuteResponse;
@WebService
/*
@WSDLDocumentationCollection(
{
@WSDLDocumentation("My portType documentation")
}
)
*/
public interface VascEntryService {
public String testHi(String response);
VascEntryExecuteResponse execute(VascEntryExecuteRequest request);
String testHi(String response);
}

View file

@ -0,0 +1,43 @@
package net.forwardfire.vasc.frontend.cxf.data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "VascEntryExecuteRequest")
@XmlAccessorType(XmlAccessType.FIELD)
public class VascEntryExecuteRequest {
private String sortField = null;
private String page = null;
/**
* @return the sortField
*/
public String getSortField() {
return sortField;
}
/**
* @param sortField the sortField to set
*/
public void setSortField(String sortField) {
this.sortField = sortField;
}
/**
* @return the page
*/
public String getPage() {
return page;
}
/**
* @param page the page to set
*/
public void setPage(String page) {
this.page = page;
}
}

View file

@ -0,0 +1,74 @@
package net.forwardfire.vasc.frontend.cxf.data;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "VascEntryExecuteResponse")
@XmlAccessorType(XmlAccessType.FIELD)
public class VascEntryExecuteResponse {
private Integer page = null;
private Integer pageSize = null;
private Integer pageSizeTotal = null;
private List<VascEntryExecuteResponseData> data = null;
/**
* @return the page
*/
public Integer getPage() {
return page;
}
/**
* @param page the page to set
*/
public void setPage(Integer page) {
this.page = page;
}
/**
* @return the pageSize
*/
public Integer getPageSize() {
return pageSize;
}
/**
* @param pageSize the pageSize to set
*/
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
/**
* @return the pageSizeTotal
*/
public Integer getPageSizeTotal() {
return pageSizeTotal;
}
/**
* @param pageSizeTotal the pageSizeTotal to set
*/
public void setPageSizeTotal(Integer pageSizeTotal) {
this.pageSizeTotal = pageSizeTotal;
}
/**
* @return the data
*/
public List<VascEntryExecuteResponseData> getData() {
return data;
}
/**
* @param data the data to set
*/
public void setData(List<VascEntryExecuteResponseData> data) {
this.data = data;
}
}

View file

@ -0,0 +1,83 @@
package net.forwardfire.vasc.frontend.cxf.data;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlRootElement(name = "VascEntryExecuteResponseData")
@XmlAccessorType(XmlAccessType.FIELD)
public class VascEntryExecuteResponseData {
private Integer rowSize = null;
@XmlElement(nillable = false, name = "rowData")
private List<VascEntryExecuteResponseDataRow> rowData = null;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VascEntryExecuteResponseDataRow")
static class VascEntryExecuteResponseDataRow {
@XmlElement(required = true, nillable = false)
String key;
String value;
/**
* @return the key
*/
public String getKey() {
return key;
}
/**
* @param key the key to set
*/
public void setKey(String key) {
this.key = key;
}
/**
* @return the value
*/
public String getValue() {
return value;
}
/**
* @param value the value to set
*/
public void setValue(String value) {
this.value = value;
}
}
/**
* @return the rowSize
*/
public Integer getRowSize() {
return rowSize;
}
/**
* @param rowSize the rowSize to set
*/
public void setRowSize(Integer rowSize) {
this.rowSize = rowSize;
}
/**
* @return the rowData
*/
public List<VascEntryExecuteResponseDataRow> getRowData() {
return rowData;
}
/**
* @param rowData the rowData to set
*/
public void setRowData(List<VascEntryExecuteResponseDataRow> rowData) {
this.rowData = rowData;
}
}

View file

@ -0,0 +1,5 @@
package net.forwardfire.vasc.frontend.cxf.data.jaxb;
public class ResponseDataMapAdapter {
}