Mail Archive Home | dragon-commits List | June 2010 Index
| <-- Date Index --> | <-- Thread Index --> |
update
--- trunk/tools/wsclient/pom.xml 2010-06-02 11:17:35 UTC (rev 986)
+++ trunk/tools/wsclient/pom.xml 2010-06-02 15:10:29 UTC (rev 987)
@@ -130,7 +130,7 @@
<version>2.2.1</version>
<executions>
<execution>
- <id>generate-sources</id>
+ <id>generate-sources-services</id>
<phase>generate-sources</phase>
<configuration>
<sourceRoot>
@@ -155,6 +155,36 @@
</plugin>
<plugin>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-codegen-plugin</artifactId>
+ <version>2.2.1</version>
+ <executions>
+ <execution>
+ <id>generate-sources-endpoints</id>
+ <phase>generate-sources</phase>
+ <configuration>
+ <sourceRoot>
+ ${basedir}/target/generated-sources/
+ </sourceRoot>
+ <wsdlOptions>
+ <wsdlOption>
+ <wsdl>
+ ${basedir}/src/main/resources/EndpointManagerService.wsdl
+ </wsdl>
+ <extraargs>
+ <extraarg>-client</extraarg>
+ </extraargs>
+ </wsdlOption>
+ </wsdlOptions>
+ </configuration>
+ <goals>
+ <goal>wsdl2java</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
--- trunk/tools/wsclient/src/main/java/org/ow2/dragon/client/api/DragonClient.java 2010-06-02 11:17:35 UTC (rev 986)
+++ trunk/tools/wsclient/src/main/java/org/ow2/dragon/client/api/DragonClient.java 2010-06-02 15:10:29 UTC (rev 987)
@@ -5,10 +5,14 @@
import javax.jws.WebParam;
import org.ow2.dragon.service.deployment.DragonFault;
+import org.ow2.dragon.service.deployment.EndpointTO;
import org.ow2.dragon.service.deployment.RequestOptionsTO;
import org.ow2.dragon.service.deployment.TechnicalServiceTO;
public interface DragonClient {
List<TechnicalServiceTO> getAllServices(RequestOptionsTO requestOptions) throws DragonFault;
+
+ List<EndpointTO> getAllEndpointsByService(TechnicalServiceTO service, RequestOptionsTO requestOptions) throws DragonFault;
+
}
--- trunk/tools/wsclient/src/main/java/org/ow2/dragon/client/impl/DragonClientImpl.java 2010-06-02 11:17:35 UTC (rev 986)
+++ trunk/tools/wsclient/src/main/java/org/ow2/dragon/client/impl/DragonClientImpl.java 2010-06-02 15:10:29 UTC (rev 987)
@@ -4,9 +4,13 @@
import java.util.List;
import javax.xml.namespace.QName;
+import javax.xml.ws.soap.SOAPBinding;
import org.ow2.dragon.client.api.DragonClient;
import org.ow2.dragon.service.deployment.DragonFault;
+import org.ow2.dragon.service.deployment.EndpointManagerService;
+import org.ow2.dragon.service.deployment.EndpointManagerServiceImplService;
+import org.ow2.dragon.service.deployment.EndpointTO;
import org.ow2.dragon.service.deployment.RequestOptionsTO;
import org.ow2.dragon.service.deployment.ServiceManagerService;
import org.ow2.dragon.service.deployment.ServiceManagerServiceImplService;
@@ -14,23 +18,40 @@
public class DragonClientImpl implements DragonClient {
- private static final QName SERVICE_NAME = new QName("http://deployment.service.dragon.ow2.org/", "ServiceManagerServiceImplService");
- private ServiceManagerService port = null;
-
+ private ServiceManagerService servicePort = null;
+ private EndpointManagerService endpointPort = null;
+
public DragonClientImpl(String dragonHttpAddress) {
- URL wsdlURL = ServiceManagerServiceImplService.WSDL_LOCATION;
+ URL wsdlServiceURL = ServiceManagerServiceImplService.WSDL_LOCATION;
+ System.out.println(wsdlServiceURL);
+
+ String serviceManagerAddress = dragonHttpAddress + "/ws/ServiceManagerService";
+ ServiceManagerServiceImplService servSs = new ServiceManagerServiceImplService();
+ servSs.addPort(new QName("http://deployment.service.dragon.ow2.org/", "ServiceManagerServiceImplPort"), SOAPBinding.SOAP11HTTP_BINDING, serviceManagerAddress);
+ servicePort = servSs.getPort(new QName("http://deployment.service.dragon.ow2.org/", "ServiceManagerServiceImplPort"), ServiceManagerService.class); //servSs.getServiceManagerServiceImplPort();
- System.out.println(wsdlURL);
- ServiceManagerServiceImplService ss = new ServiceManagerServiceImplService(wsdlURL, SERVICE_NAME);
- port = ss.getServiceManagerServiceImplPort();
+ String endpointManagerAddress = dragonHttpAddress + "/ws/EndpointManagerService";
+ URL wsdlEndpointURL = EndpointManagerServiceImplService.WSDL_LOCATION;
+ EndpointManagerServiceImplService epSs = new EndpointManagerServiceImplService();
+ epSs.addPort(new QName("http://deployment.service.dragon.ow2.org/", "EndpointManagerServiceImplPort"), SOAPBinding.SOAP11HTTP_BINDING, serviceManagerAddress);
+ endpointPort = epSs.getPort(new QName("http://deployment.service.dragon.ow2.org/", "EndpointManagerServiceImplPort"), EndpointManagerService.class); //epSs.getEndpointManagerServiceImplPort();
+
+
}
@Override
public List<TechnicalServiceTO> getAllServices(
RequestOptionsTO requestOptions) throws DragonFault {
- return port.getAllServices(requestOptions);
+ return servicePort.getAllServices(requestOptions);
}
+ @Override
+ public List<EndpointTO> getAllEndpointsByService(
+ TechnicalServiceTO service, RequestOptionsTO requestOptions)
+ throws DragonFault {
+ return this.endpointPort.getEndpointsByService(service.getId(), requestOptions);
+ }
+
}
--- trunk/tools/wsclient/src/main/resources/EndpointManagerService.wsdl (rev 0)
+++ trunk/tools/wsclient/src/main/resources/EndpointManagerService.wsdl 2010-06-02 15:10:29 UTC (rev 987)
@@ -0,0 +1,537 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="EndpointManagerServiceImplService" targetNamespace="http://deployment.service.dragon.ow2.org/" xmlns:ns1="http://dragon.ow2.org" xmlns:ns2="http://cxf.apache.org/bindings/xformat" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://deployment.service.dragon.ow2.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:types>
+<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://deployment.service.dragon.ow2.org/" xmlns:tns="http://deployment.service.dragon.ow2.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+<xs:element name="addCategory" type="tns:addCategory"/>
+<xs:element name="addCategoryResponse" type="tns:addCategoryResponse"/>
+<xs:element name="addSpecifiedCategory" type="tns:addSpecifiedCategory"/>
+<xs:element name="addSpecifiedCategoryResponse" type="tns:addSpecifiedCategoryResponse"/>
+<xs:element name="getAllEndpoints" type="tns:getAllEndpoints"/>
+<xs:element name="getAllEndpointsResponse" type="tns:getAllEndpointsResponse"/>
+<xs:element name="getCategoriesForEndpoint" type="tns:getCategoriesForEndpoint"/>
+<xs:element name="getCategoriesForEndpointResponse" type="tns:getCategoriesForEndpointResponse"/>
+<xs:element name="getEndpoint" type="tns:getEndpoint"/>
+<xs:element name="getEndpointResponse" type="tns:getEndpointResponse"/>
+<xs:element name="getEndpointsByService" type="tns:getEndpointsByService"/>
+<xs:element name="getEndpointsByServiceResponse" type="tns:getEndpointsByServiceResponse"/>
+<xs:element name="removeCategories" type="tns:removeCategories"/>
+<xs:element name="removeCategoriesResponse" type="tns:removeCategoriesResponse"/>
+<xs:element name="removeEndpoint" type="tns:removeEndpoint"/>
+<xs:element name="removeEndpointResponse" type="tns:removeEndpointResponse"/>
+<xs:element name="updateEndpoint" type="tns:updateEndpoint"/>
+<xs:element name="updateEndpointResponse" type="tns:updateEndpointResponse"/>
+<xs:complexType name="getAllEndpoints">
+<xs:sequence>
+<xs:element minOccurs="0" name="requestOptions" type="tns:requestOptionsTO"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="requestOptionsTO">
+<xs:sequence>
+<xs:element name="caseSensitive" type="xs:boolean"/>
+<xs:element name="firstResult" type="xs:int"/>
+<xs:element name="nbOfResults" type="xs:int"/>
+<xs:element name="sortAscendingly" type="xs:boolean"/>
+<xs:element minOccurs="0" name="sortCriteria" type="tns:sortCriteria"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="getAllEndpointsResponse">
+<xs:sequence>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:endpointTO"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="endpointTO">
+<xs:sequence>
+<xs:element minOccurs="0" name="binding" type="tns:bindingTO"/>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="categories" nillable="true" type="tns:keyedRefTO"/>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="comments" nillable="true" type="tns:commentTO"/>
+<xs:element name="globalRating" type="xs:float"/>
+<xs:element minOccurs="0" name="hostExecEnvId" type="xs:string"/>
+<xs:element minOccurs="0" name="hostProcessorId" type="xs:string"/>
+<xs:element minOccurs="0" name="id" type="xs:string"/>
+<xs:element minOccurs="0" name="name" type="xs:string"/>
+<xs:element minOccurs="0" name="networkAddress" type="xs:string"/>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="protocols" nillable="true" type="tns:protocolTO"/>
+<xs:element minOccurs="0" name="ratingTO" type="tns:ratingTO"/>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="tags" nillable="true" type="xs:string"/>
+<xs:element minOccurs="0" name="techService" type="tns:technicalServiceTO"/>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="transports" nillable="true" type="tns:transportTO"/>
+<xs:element minOccurs="0" name="wsdlFile" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="bindingTO">
+<xs:sequence>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="bindingOps" nillable="true" type="tns:bindingOperationTO"/>
+<xs:element minOccurs="0" name="id" type="xs:string"/>
+<xs:element minOccurs="0" name="name" type="xs:string"/>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="protocols" nillable="true" type="tns:protocolTO"/>
+<xs:element minOccurs="0" name="serviceInterface" type="tns:serviceInterfaceTO"/>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="transports" nillable="true" type="tns:transportTO"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="bindingOperationTO">
+<xs:sequence>
+<xs:element minOccurs="0" name="binding" type="tns:bindingTO"/>
+<xs:element minOccurs="0" name="id" type="xs:string"/>
+<xs:element minOccurs="0" name="pattern" type="xs:string"/>
+<xs:element minOccurs="0" name="signature" type="xs:string"/>
+<xs:element minOccurs="0" name="style" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="protocolTO">
+<xs:complexContent>
+<xs:extension base="tns:standardTO">
+<xs:sequence/>
+</xs:extension>
+</xs:complexContent>
+</xs:complexType>
+<xs:complexType name="standardTO">
+<xs:sequence>
+<xs:element minOccurs="0" name="category" type="xs:string"/>
+<xs:element minOccurs="0" name="id" type="xs:string"/>
+<xs:element minOccurs="0" name="location" type="xs:string"/>
+<xs:element minOccurs="0" name="name" type="xs:string"/>
+<xs:element minOccurs="0" name="notes" type="xs:string"/>
+<xs:element minOccurs="0" name="originating" type="xs:string"/>
+<xs:element minOccurs="0" name="releaseNr" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="serviceInterfaceTO">
+<xs:sequence>
+<xs:element minOccurs="0" name="id" type="xs:string"/>
+<xs:element minOccurs="0" name="name" type="xs:string"/>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="specifiedOps" nillable="true" type="tns:specifiedOperationTO"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="specifiedOperationTO">
+<xs:sequence>
+<xs:element minOccurs="0" name="id" type="xs:string"/>
+<xs:element name="isAtomicTransaction" type="xs:boolean"/>
+<xs:element name="isCanParticipateInTransaction" type="xs:boolean"/>
+<xs:element name="isNoneUpdating" type="xs:boolean"/>
+<xs:element name="isTransactionCoordNeeded" type="xs:boolean"/>
+<xs:element minOccurs="0" name="name" type="xs:string"/>
+<xs:element minOccurs="0" name="purpose" type="xs:string"/>
+<xs:element minOccurs="0" name="style" type="xs:string"/>
+<xs:element minOccurs="0" name="transactionCoordIsBy" type="xs:string"/>
+<xs:element minOccurs="0" name="transmission" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="transportTO">
+<xs:complexContent>
+<xs:extension base="tns:standardTO">
+<xs:sequence/>
+</xs:extension>
+</xs:complexContent>
+</xs:complexType>
+<xs:complexType name="keyedRefTO">
+<xs:sequence>
+<xs:element minOccurs="0" name="kefRefId" type="xs:string"/>
+<xs:element minOccurs="0" name="name" type="xs:string"/>
+<xs:element minOccurs="0" name="value" type="xs:string"/>
+<xs:element minOccurs="0" name="tModelName" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="commentTO">
+<xs:sequence>
+<xs:element minOccurs="0" name="content" type="xs:string"/>
+<xs:element minOccurs="0" name="date" type="xs:dateTime"/>
+<xs:element minOccurs="0" name="id" type="xs:string"/>
+<xs:element minOccurs="0" name="userName" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="ratingTO">
+<xs:sequence>
+<xs:element name="myRating" type="xs:int"/>
+<xs:element minOccurs="0" name="userName" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="technicalServiceTO">
+<xs:sequence>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="categories" nillable="true" type="tns:keyedRefTO"/>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="comments" nillable="true" type="tns:commentTO"/>
+<xs:element name="globalRating" type="xs:float"/>
+<xs:element minOccurs="0" name="id" type="xs:string"/>
+<xs:element minOccurs="0" name="name" type="xs:string"/>
+<xs:element minOccurs="0" name="purpose" type="xs:string"/>
+<xs:element minOccurs="0" name="ratingTO" type="tns:ratingTO"/>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="tags" nillable="true" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="dragonFaultDetail">
+<xs:sequence>
+<xs:element minOccurs="0" name="faultStack" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="removeEndpoint">
+<xs:sequence>
+<xs:element minOccurs="0" name="endpointId" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="removeEndpointResponse">
+<xs:sequence/>
+</xs:complexType>
+<xs:complexType name="addCategory">
+<xs:sequence>
+<xs:element minOccurs="0" name="endpointId" type="xs:string"/>
+<xs:element minOccurs="0" name="categoryId" type="xs:string"/>
+<xs:element minOccurs="0" name="categoryValue" type="xs:string"/>
+<xs:element minOccurs="0" name="categoryDesc" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="addCategoryResponse">
+<xs:sequence/>
+</xs:complexType>
+<xs:complexType name="getEndpointsByService">
+<xs:sequence>
+<xs:element minOccurs="0" name="serviceId" type="xs:string"/>
+<xs:element minOccurs="0" name="requestOptions" type="tns:requestOptionsTO"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="getEndpointsByServiceResponse">
+<xs:sequence>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:endpointTO"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="addSpecifiedCategory">
+<xs:sequence>
+<xs:element minOccurs="0" name="endpointId" type="xs:string"/>
+<xs:element minOccurs="0" name="categoryId" type="xs:string"/>
+<xs:element minOccurs="0" name="categoryValueId" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="addSpecifiedCategoryResponse">
+<xs:sequence/>
+</xs:complexType>
+<xs:complexType name="getEndpoint">
+<xs:sequence>
+<xs:element minOccurs="0" name="endpointId" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="getEndpointResponse">
+<xs:sequence>
+<xs:element minOccurs="0" name="return" type="tns:endpointTO"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="removeCategories">
+<xs:sequence>
+<xs:element minOccurs="0" name="endpointId" type="xs:string"/>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="categoryIds" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="removeCategoriesResponse">
+<xs:sequence/>
+</xs:complexType>
+<xs:complexType name="updateEndpoint">
+<xs:sequence>
+<xs:element minOccurs="0" name="endpoint" type="tns:endpointTO"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="updateEndpointResponse">
+<xs:sequence>
+<xs:element minOccurs="0" name="return" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="getCategoriesForEndpoint">
+<xs:sequence>
+<xs:element minOccurs="0" name="endpointId" type="xs:string"/>
+</xs:sequence>
+</xs:complexType>
+<xs:complexType name="getCategoriesForEndpointResponse">
+<xs:sequence>
+<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:keyedRefTO"/>
+</xs:sequence>
+</xs:complexType>
+<xs:simpleType name="sortCriteria">
+<xs:restriction base="xs:string">
+<xs:enumeration value="PARTY_NAME"/>
+<xs:enumeration value="PERSON_LASTNAME"/>
+<xs:enumeration value="SERVICE_NAME"/>
+<xs:enumeration value="ENDPOINT_NAME"/>
+<xs:enumeration value="PERSON_NAME"/>
+<xs:enumeration value="EXEC_ENV_MAN_NAME"/>
+<xs:enumeration value="PROCESSOR_NAME"/>
+<xs:enumeration value="EXEC_ENV_NAME"/>
+<xs:enumeration value="FED_NAME"/>
+<xs:enumeration value="POST_NAME"/>
+<xs:enumeration value="LINK_TYPE"/>
+<xs:enumeration value="AGREEMENT_NAME"/>
+</xs:restriction>
+</xs:simpleType>
+</xs:schema>
+<xsd:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://dragon.ow2.org" xmlns:ns0="http://deployment.service.dragon.ow2.org/" xmlns:tns="http://dragon.ow2.org" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<xsd:element name="DragonFault" type="tns:DragonFault"/>
+<xsd:complexType name="DragonFault">
+<xsd:sequence>
+<xsd:element name="faultDetail" nillable="true" type="ns0:dragonFaultDetail"/>
+<xsd:element name="message" nillable="true" type="xsd:string"/>
+</xsd:sequence>
+</xsd:complexType>
+</xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="getCategoriesForEndpoint">
+ <wsdl:part element="tns:getCategoriesForEndpoint" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getEndpointsByService">
+ <wsdl:part element="tns:getEndpointsByService" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="addCategory">
+ <wsdl:part element="tns:addCategory" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="removeEndpointResponse">
+ <wsdl:part element="tns:removeEndpointResponse" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="removeCategoriesResponse">
+ <wsdl:part element="tns:removeCategoriesResponse" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="removeEndpoint">
+ <wsdl:part element="tns:removeEndpoint" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="updateEndpoint">
+ <wsdl:part element="tns:updateEndpoint" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="addSpecifiedCategory">
+ <wsdl:part element="tns:addSpecifiedCategory" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="addSpecifiedCategoryResponse">
+ <wsdl:part element="tns:addSpecifiedCategoryResponse" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getCategoriesForEndpointResponse">
+ <wsdl:part element="tns:getCategoriesForEndpointResponse" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getAllEndpoints">
+ <wsdl:part element="tns:getAllEndpoints" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="removeCategories">
+ <wsdl:part element="tns:removeCategories" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getAllEndpointsResponse">
+ <wsdl:part element="tns:getAllEndpointsResponse" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="updateEndpointResponse">
+ <wsdl:part element="tns:updateEndpointResponse" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="DragonFault">
+ <wsdl:part element="ns1:DragonFault" name="DragonFault">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getEndpointResponse">
+ <wsdl:part element="tns:getEndpointResponse" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="addCategoryResponse">
+ <wsdl:part element="tns:addCategoryResponse" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getEndpointsByServiceResponse">
+ <wsdl:part element="tns:getEndpointsByServiceResponse" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getEndpoint">
+ <wsdl:part element="tns:getEndpoint" name="parameters">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="EndpointManagerService">
+ <wsdl:operation name="getAllEndpoints">
+ <wsdl:input message="tns:getAllEndpoints" name="getAllEndpoints">
+ </wsdl:input>
+ <wsdl:output message="tns:getAllEndpointsResponse" name="getAllEndpointsResponse">
+ </wsdl:output>
+ <wsdl:fault message="tns:DragonFault" name="DragonFault">
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="removeEndpoint">
+ <wsdl:input message="tns:removeEndpoint" name="removeEndpoint">
+ </wsdl:input>
+ <wsdl:output message="tns:removeEndpointResponse" name="removeEndpointResponse">
+ </wsdl:output>
+ <wsdl:fault message="tns:DragonFault" name="DragonFault">
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="addCategory">
+ <wsdl:input message="tns:addCategory" name="addCategory">
+ </wsdl:input>
+ <wsdl:output message="tns:addCategoryResponse" name="addCategoryResponse">
+ </wsdl:output>
+ <wsdl:fault message="tns:DragonFault" name="DragonFault">
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getEndpointsByService">
+ <wsdl:input message="tns:getEndpointsByService" name="getEndpointsByService">
+ </wsdl:input>
+ <wsdl:output message="tns:getEndpointsByServiceResponse" name="getEndpointsByServiceResponse">
+ </wsdl:output>
+ <wsdl:fault message="tns:DragonFault" name="DragonFault">
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="addSpecifiedCategory">
+ <wsdl:input message="tns:addSpecifiedCategory" name="addSpecifiedCategory">
+ </wsdl:input>
+ <wsdl:output message="tns:addSpecifiedCategoryResponse" name="addSpecifiedCategoryResponse">
+ </wsdl:output>
+ <wsdl:fault message="tns:DragonFault" name="DragonFault">
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getEndpoint">
+ <wsdl:input message="tns:getEndpoint" name="getEndpoint">
+ </wsdl:input>
+ <wsdl:output message="tns:getEndpointResponse" name="getEndpointResponse">
+ </wsdl:output>
+ <wsdl:fault message="tns:DragonFault" name="DragonFault">
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="removeCategories">
+ <wsdl:input message="tns:removeCategories" name="removeCategories">
+ </wsdl:input>
+ <wsdl:output message="tns:removeCategoriesResponse" name="removeCategoriesResponse">
+ </wsdl:output>
+ <wsdl:fault message="tns:DragonFault" name="DragonFault">
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="updateEndpoint">
+ <wsdl:input message="tns:updateEndpoint" name="updateEndpoint">
+ </wsdl:input>
+ <wsdl:output message="tns:updateEndpointResponse" name="updateEndpointResponse">
+ </wsdl:output>
+ <wsdl:fault message="tns:DragonFault" name="DragonFault">
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getCategoriesForEndpoint">
+ <wsdl:input message="tns:getCategoriesForEndpoint" name="getCategoriesForEndpoint">
+ </wsdl:input>
+ <wsdl:output message="tns:getCategoriesForEndpointResponse" name="getCategoriesForEndpointResponse">
+ </wsdl:output>
+ <wsdl:fault message="tns:DragonFault" name="DragonFault">
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="EndpointManagerServiceImplServiceSoapBinding" type="tns:EndpointManagerService">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="getAllEndpoints">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="getAllEndpoints">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getAllEndpointsResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="DragonFault">
+ <soap:fault name="DragonFault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="addCategory">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="addCategory">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="addCategoryResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="DragonFault">
+ <soap:fault name="DragonFault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="removeEndpoint">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="removeEndpoint">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="removeEndpointResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="DragonFault">
+ <soap:fault name="DragonFault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getEndpointsByService">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="getEndpointsByService">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getEndpointsByServiceResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="DragonFault">
+ <soap:fault name="DragonFault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="addSpecifiedCategory">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="addSpecifiedCategory">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="addSpecifiedCategoryResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="DragonFault">
+ <soap:fault name="DragonFault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getEndpoint">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="getEndpoint">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getEndpointResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="DragonFault">
+ <soap:fault name="DragonFault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="removeCategories">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="removeCategories">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="removeCategoriesResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="DragonFault">
+ <soap:fault name="DragonFault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getCategoriesForEndpoint">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="getCategoriesForEndpoint">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getCategoriesForEndpointResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="DragonFault">
+ <soap:fault name="DragonFault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="updateEndpoint">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="updateEndpoint">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="updateEndpointResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="DragonFault">
+ <soap:fault name="DragonFault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="EndpointManagerServiceImplService">
+ <wsdl:port binding="tns:EndpointManagerServiceImplServiceSoapBinding" name="EndpointManagerServiceImplPort">
+ <soap:address location="http://localhost:8080/petals-master-1.0/ws/EndpointManagerService"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file
--- trunk/tools/wsclient/src/main/resources/ServiceManagerService.xml 2010-06-02 11:17:35 UTC (rev 986)
+++ trunk/tools/wsclient/src/main/resources/ServiceManagerService.xml 2010-06-02 15:10:29 UTC (rev 987)
@@ -1,602 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions name="ServiceManagerServiceImplService" targetNamespace="http://deployment.service.dragon.ow2.org/" xmlns:ns1="http://dragon.ow2.org" xmlns:ns2="http://cxf.apache.org/bindings/xformat" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://deployment.service.dragon.ow2.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
-<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://deployment.service.dragon.ow2.org/" xmlns:tns="http://deployment.service.dragon.ow2.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
-<xs:element name="addCategory" type="tns:addCategory"/>
-<xs:element name="addCategoryResponse" type="tns:addCategoryResponse"/>
-<xs:element name="addRelatedDoc" type="tns:addRelatedDoc"/>
-<xs:element name="addRelatedDocResponse" type="tns:addRelatedDocResponse"/>
-<xs:element name="addSpecifiedCategory" type="tns:addSpecifiedCategory"/>
-<xs:element name="addSpecifiedCategoryResponse" type="tns:addSpecifiedCategoryResponse"/>
-<xs:element name="getAllServices" type="tns:getAllServices"/>
-<xs:element name="getAllServicesResponse" type="tns:getAllServicesResponse"/>
-<xs:element name="getCategoriesForServ" type="tns:getCategoriesForServ"/>
-<xs:element name="getCategoriesForServResponse" type="tns:getCategoriesForServResponse"/>
-<xs:element name="getRelatedDocContent" type="tns:getRelatedDocContent"/>
-<xs:element name="getRelatedDocContentResponse" type="tns:getRelatedDocContentResponse"/>
-<xs:element name="getRelatedDocsForServ" type="tns:getRelatedDocsForServ"/>
-<xs:element name="getRelatedDocsForServResponse" type="tns:getRelatedDocsForServResponse"/>
-<xs:element name="getService" type="tns:getService"/>
-<xs:element name="getServiceResponse" type="tns:getServiceResponse"/>
-<xs:element name="removeCategories" type="tns:removeCategories"/>
-<xs:element name="removeCategoriesResponse" type="tns:removeCategoriesResponse"/>
-<xs:element name="removeService" type="tns:removeService"/>
-<xs:element name="removeServiceResponse" type="tns:removeServiceResponse"/>
-<xs:element name="searchService" type="tns:searchService"/>
-<xs:element name="searchServiceResponse" type="tns:searchServiceResponse"/>
-<xs:element name="updateService" type="tns:updateService"/>
-<xs:element name="updateServiceResponse" type="tns:updateServiceResponse"/>
-<xs:complexType name="getAllServices">
-<xs:sequence>
-<xs:element minOccurs="0" name="requestOptions" type="tns:requestOptionsTO"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="requestOptionsTO">
-<xs:sequence>
-<xs:element name="caseSensitive" type="xs:boolean"/>
-<xs:element name="firstResult" type="xs:int"/>
-<xs:element name="nbOfResults" type="xs:int"/>
-<xs:element name="sortAscendingly" type="xs:boolean"/>
-<xs:element minOccurs="0" name="sortCriteria" type="tns:sortCriteria"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="getAllServicesResponse">
-<xs:sequence>
-<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:technicalServiceTO"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="technicalServiceTO">
-<xs:sequence>
-<xs:element maxOccurs="unbounded" minOccurs="0" name="categories" nillable="true" type="tns:keyedRefTO"/>
-<xs:element maxOccurs="unbounded" minOccurs="0" name="comments" nillable="true" type="tns:commentTO"/>
-<xs:element name="globalRating" type="xs:float"/>
-<xs:element minOccurs="0" name="id" type="xs:string"/>
-<xs:element minOccurs="0" name="name" type="xs:string"/>
-<xs:element minOccurs="0" name="purpose" type="xs:string"/>
-<xs:element minOccurs="0" name="ratingTO" type="tns:ratingTO"/>
-<xs:element maxOccurs="unbounded" minOccurs="0" name="tags" nillable="true" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="keyedRefTO">
-<xs:sequence>
-<xs:element minOccurs="0" name="kefRefId" type="xs:string"/>
-<xs:element minOccurs="0" name="name" type="xs:string"/>
-<xs:element minOccurs="0" name="value" type="xs:string"/>
-<xs:element minOccurs="0" name="tModelName" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="commentTO">
-<xs:sequence>
-<xs:element minOccurs="0" name="content" type="xs:string"/>
-<xs:element minOccurs="0" name="date" type="xs:dateTime"/>
-<xs:element minOccurs="0" name="id" type="xs:string"/>
-<xs:element minOccurs="0" name="userName" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="ratingTO">
-<xs:sequence>
-<xs:element name="myRating" type="xs:int"/>
-<xs:element minOccurs="0" name="userName" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="dragonFaultDetail">
-<xs:sequence>
-<xs:element minOccurs="0" name="faultStack" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="addCategory">
-<xs:sequence>
-<xs:element minOccurs="0" name="serviceId" type="xs:string"/>
-<xs:element minOccurs="0" name="categoryId" type="xs:string"/>
-<xs:element minOccurs="0" name="categoryValue" type="xs:string"/>
-<xs:element minOccurs="0" name="categoryDesc" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="addCategoryResponse">
-<xs:sequence/>
-</xs:complexType>
-<xs:complexType name="updateService">
-<xs:sequence>
-<xs:element minOccurs="0" name="service" type="tns:technicalServiceTO"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="updateServiceResponse">
-<xs:sequence>
-<xs:element minOccurs="0" name="return" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="removeService">
-<xs:sequence>
-<xs:element minOccurs="0" name="serviceId" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="removeServiceResponse">
-<xs:sequence/>
-</xs:complexType>
-<xs:complexType name="getRelatedDocsForServ">
-<xs:sequence>
-<xs:element minOccurs="0" name="serviceId" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="getRelatedDocsForServResponse">
-<xs:sequence>
-<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:simpleFileTO"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="simpleFileTO">
-<xs:sequence>
-<xs:element minOccurs="0" name="author" type="xs:string"/>
-<xs:element minOccurs="0" name="fileName" type="xs:string"/>
-<xs:element minOccurs="0" name="fileType" type="xs:string"/>
-<xs:element minOccurs="0" name="id" type="xs:string"/>
-<xs:element minOccurs="0" name="title" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="getRelatedDocContent">
-<xs:sequence>
-<xs:element minOccurs="0" name="relatedDocId" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="getRelatedDocContentResponse">
-<xs:sequence>
-<xs:element minOccurs="0" name="return" type="tns:attachedDocument"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="attachedDocument">
-<xs:sequence>
-<xs:element minOccurs="0" name="document" ns1:expectedContentTypes="application/octet-stream" type="xs:base64Binary" xmlns:ns1="http://www.w3.org/2005/05/xmlmime"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="addSpecifiedCategory">
-<xs:sequence>
-<xs:element minOccurs="0" name="serviceId" type="xs:string"/>
-<xs:element minOccurs="0" name="categoryId" type="xs:string"/>
-<xs:element minOccurs="0" name="categoryValueId" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="addSpecifiedCategoryResponse">
-<xs:sequence/>
-</xs:complexType>
-<xs:complexType name="removeCategories">
-<xs:sequence>
-<xs:element minOccurs="0" name="serviceId" type="xs:string"/>
-<xs:element maxOccurs="unbounded" minOccurs="0" name="categoryIds" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="removeCategoriesResponse">
-<xs:sequence/>
-</xs:complexType>
-<xs:complexType name="getCategoriesForServ">
-<xs:sequence>
-<xs:element minOccurs="0" name="serviceId" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="getCategoriesForServResponse">
-<xs:sequence>
-<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:keyedRefTO"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="getService">
-<xs:sequence>
-<xs:element minOccurs="0" name="serviceId" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="getServiceResponse">
-<xs:sequence>
-<xs:element minOccurs="0" name="return" type="tns:technicalServiceTO"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="addRelatedDoc">
-<xs:sequence>
-<xs:element minOccurs="0" name="serviceId" type="xs:string"/>
-<xs:element minOccurs="0" name="mimetype" type="xs:string"/>
-<xs:element minOccurs="0" name="attachedDocument" type="tns:attachedDocument"/>
-<xs:element minOccurs="0" name="fileName" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="addRelatedDocResponse">
-<xs:sequence>
-<xs:element minOccurs="0" name="return" type="xs:string"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="searchService">
-<xs:sequence>
-<xs:element minOccurs="0" name="searchCriteria" type="xs:string"/>
-<xs:element maxOccurs="unbounded" minOccurs="0" name="searchedProperties" type="tns:serviceSearchProperties"/>
-<xs:element minOccurs="0" name="requestOptions" type="tns:requestOptionsTO"/>
-</xs:sequence>
-</xs:complexType>
-<xs:complexType name="searchServiceResponse">
-<xs:sequence>
-<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:technicalServiceTO"/>
-</xs:sequence>
-</xs:complexType>
-<xs:simpleType name="sortCriteria">
-<xs:restriction base="xs:string">
-<xs:enumeration value="PARTY_NAME"/>
-<xs:enumeration value="PERSON_LASTNAME"/>
-<xs:enumeration value="SERVICE_NAME"/>
-<xs:enumeration value="ENDPOINT_NAME"/>
-<xs:enumeration value="PERSON_NAME"/>
-<xs:enumeration value="EXEC_ENV_MAN_NAME"/>
-<xs:enumeration value="PROCESSOR_NAME"/>
-<xs:enumeration value="EXEC_ENV_NAME"/>
-<xs:enumeration value="FED_NAME"/>
-<xs:enumeration value="POST_NAME"/>
-<xs:enumeration value="LINK_TYPE"/>
-<xs:enumeration value="AGREEMENT_NAME"/>
-</xs:restriction>
-</xs:simpleType>
-<xs:simpleType name="serviceSearchProperties">
-<xs:restriction base="xs:string">
-<xs:enumeration value="NAME"/>
-<xs:enumeration value="CATEGORY"/>
-<xs:enumeration value="PURPOSE"/>
-<xs:enumeration value="OPERATIONS"/>
-<xs:enumeration value="PROTOCOL"/>
-<xs:enumeration value="ORGANIZATION"/>
-<xs:enumeration value="RELATED_DOCS"/>
-</xs:restriction>
-</xs:simpleType>
-</xs:schema>
-<xsd:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://dragon.ow2.org" xmlns:ns0="http://deployment.service.dragon.ow2.org/" xmlns:tns="http://dragon.ow2.org" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-<xsd:element name="DragonFault" type="tns:DragonFault"/>
-<xsd:complexType name="DragonFault">
-<xsd:sequence>
-<xsd:element name="faultDetail" nillable="true" type="ns0:dragonFaultDetail"/>
-<xsd:element name="message" nillable="true" type="xsd:string"/>
-</xsd:sequence>
-</xsd:complexType>
-</xsd:schema>
- </wsdl:types>
- <wsdl:message name="updateService">
- <wsdl:part element="tns:updateService" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getRelatedDocsForServResponse">
- <wsdl:part element="tns:getRelatedDocsForServResponse" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="addCategory">
- <wsdl:part element="tns:addCategory" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getCategoriesForServResponse">
- <wsdl:part element="tns:getCategoriesForServResponse" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="removeCategoriesResponse">
- <wsdl:part element="tns:removeCategoriesResponse" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="removeService">
- <wsdl:part element="tns:removeService" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getAllServicesResponse">
- <wsdl:part element="tns:getAllServicesResponse" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getRelatedDocsForServ">
- <wsdl:part element="tns:getRelatedDocsForServ" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getCategoriesForServ">
- <wsdl:part element="tns:getCategoriesForServ" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="addSpecifiedCategoryResponse">
- <wsdl:part element="tns:addSpecifiedCategoryResponse" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="searchService">
- <wsdl:part element="tns:searchService" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="searchServiceResponse">
- <wsdl:part element="tns:searchServiceResponse" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="DragonFault">
- <wsdl:part element="ns1:DragonFault" name="DragonFault">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getRelatedDocContentResponse">
- <wsdl:part element="tns:getRelatedDocContentResponse" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="removeServiceResponse">
- <wsdl:part element="tns:removeServiceResponse" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getRelatedDocContent">
- <wsdl:part element="tns:getRelatedDocContent" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getService">
- <wsdl:part element="tns:getService" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="addRelatedDocResponse">
- <wsdl:part element="tns:addRelatedDocResponse" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="addRelatedDoc">
- <wsdl:part element="tns:addRelatedDoc" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="addSpecifiedCategory">
- <wsdl:part element="tns:addSpecifiedCategory" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getServiceResponse">
- <wsdl:part element="tns:getServiceResponse" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="removeCategories">
- <wsdl:part element="tns:removeCategories" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="getAllServices">
- <wsdl:part element="tns:getAllServices" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="updateServiceResponse">
- <wsdl:part element="tns:updateServiceResponse" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:message name="addCategoryResponse">
- <wsdl:part element="tns:addCategoryResponse" name="parameters">
- </wsdl:part>
- </wsdl:message>
- <wsdl:portType name="ServiceManagerService">
- <wsdl:operation name="getAllServices">
- <wsdl:input message="tns:getAllServices" name="getAllServices">
- </wsdl:input>
- <wsdl:output message="tns:getAllServicesResponse" name="getAllServicesResponse">
- </wsdl:output>
- <wsdl:fault message="tns:DragonFault" name="DragonFault">
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="addCategory">
- <wsdl:input message="tns:addCategory" name="addCategory">
- </wsdl:input>
- <wsdl:output message="tns:addCategoryResponse" name="addCategoryResponse">
- </wsdl:output>
- <wsdl:fault message="tns:DragonFault" name="DragonFault">
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="updateService">
- <wsdl:input message="tns:updateService" name="updateService">
- </wsdl:input>
- <wsdl:output message="tns:updateServiceResponse" name="updateServiceResponse">
- </wsdl:output>
- <wsdl:fault message="tns:DragonFault" name="DragonFault">
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="removeService">
- <wsdl:input message="tns:removeService" name="removeService">
- </wsdl:input>
- <wsdl:output message="tns:removeServiceResponse" name="removeServiceResponse">
- </wsdl:output>
- <wsdl:fault message="tns:DragonFault" name="DragonFault">
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="getRelatedDocsForServ">
- <wsdl:input message="tns:getRelatedDocsForServ" name="getRelatedDocsForServ">
- </wsdl:input>
- <wsdl:output message="tns:getRelatedDocsForServResponse" name="getRelatedDocsForServResponse">
- </wsdl:output>
- <wsdl:fault message="tns:DragonFault" name="DragonFault">
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="getRelatedDocContent">
- <wsdl:input message="tns:getRelatedDocContent" name="getRelatedDocContent">
- </wsdl:input>
- <wsdl:output message="tns:getRelatedDocContentResponse" name="getRelatedDocContentResponse">
- </wsdl:output>
- <wsdl:fault message="tns:DragonFault" name="DragonFault">
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="addSpecifiedCategory">
- <wsdl:input message="tns:addSpecifiedCategory" name="addSpecifiedCategory">
- </wsdl:input>
- <wsdl:output message="tns:addSpecifiedCategoryResponse" name="addSpecifiedCategoryResponse">
- </wsdl:output>
- <wsdl:fault message="tns:DragonFault" name="DragonFault">
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="removeCategories">
- <wsdl:input message="tns:removeCategories" name="removeCategories">
- </wsdl:input>
- <wsdl:output message="tns:removeCategoriesResponse" name="removeCategoriesResponse">
- </wsdl:output>
- <wsdl:fault message="tns:DragonFault" name="DragonFault">
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="getCategoriesForServ">
- <wsdl:input message="tns:getCategoriesForServ" name="getCategoriesForServ">
- </wsdl:input>
- <wsdl:output message="tns:getCategoriesForServResponse" name="getCategoriesForServResponse">
- </wsdl:output>
- <wsdl:fault message="tns:DragonFault" name="DragonFault">
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="getService">
- <wsdl:input message="tns:getService" name="getService">
- </wsdl:input>
- <wsdl:output message="tns:getServiceResponse" name="getServiceResponse">
- </wsdl:output>
- <wsdl:fault message="tns:DragonFault" name="DragonFault">
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="addRelatedDoc">
- <wsdl:input message="tns:addRelatedDoc" name="addRelatedDoc">
- </wsdl:input>
- <wsdl:output message="tns:addRelatedDocResponse" name="addRelatedDocResponse">
- </wsdl:output>
- <wsdl:fault message="tns:DragonFault" name="DragonFault">
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="searchService">
- <wsdl:input message="tns:searchService" name="searchService">
- </wsdl:input>
- <wsdl:output message="tns:searchServiceResponse" name="searchServiceResponse">
- </wsdl:output>
- <wsdl:fault message="tns:DragonFault" name="DragonFault">
- </wsdl:fault>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="ServiceManagerServiceImplServiceSoapBinding" type="tns:ServiceManagerService">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="getAllServices">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="getAllServices">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getAllServicesResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DragonFault">
- <soap:fault name="DragonFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="addCategory">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="addCategory">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="addCategoryResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DragonFault">
- <soap:fault name="DragonFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="updateService">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="updateService">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="updateServiceResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DragonFault">
- <soap:fault name="DragonFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="getRelatedDocsForServ">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="getRelatedDocsForServ">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getRelatedDocsForServResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DragonFault">
- <soap:fault name="DragonFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="removeService">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="removeService">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="removeServiceResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DragonFault">
- <soap:fault name="DragonFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="getRelatedDocContent">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="getRelatedDocContent">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getRelatedDocContentResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DragonFault">
- <soap:fault name="DragonFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="addSpecifiedCategory">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="addSpecifiedCategory">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="addSpecifiedCategoryResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DragonFault">
- <soap:fault name="DragonFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="getCategoriesForServ">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="getCategoriesForServ">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getCategoriesForServResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DragonFault">
- <soap:fault name="DragonFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="removeCategories">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="removeCategories">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="removeCategoriesResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DragonFault">
- <soap:fault name="DragonFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="getService">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="getService">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getServiceResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DragonFault">
- <soap:fault name="DragonFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="addRelatedDoc">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="addRelatedDoc">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="addRelatedDocResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DragonFault">
- <soap:fault name="DragonFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="searchService">
- <soap:operation soapAction="" style="document"/>
- <wsdl:input name="searchService">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="searchServiceResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="DragonFault">
- <soap:fault name="DragonFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="ServiceManagerServiceImplService">
- <wsdl:port binding="tns:ServiceManagerServiceImplServiceSoapBinding" name="ServiceManagerServiceImplPort">
- <soap:address location="http://localhost:8080/petals-master-1.0/ws/ServiceManagerService"/>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
\ No newline at end of file
--- trunk/tools/wsclient/src/test/java/org/ow2/dragon/client/test/TestDragonClient.java 2010-06-02 11:17:35 UTC (rev 986)
+++ trunk/tools/wsclient/src/test/java/org/ow2/dragon/client/test/TestDragonClient.java 2010-06-02 15:10:29 UTC (rev 987)
@@ -7,7 +7,10 @@
import org.apache.commons.pool.impl.StackObjectPool;
import org.ow2.dragon.client.api.DragonClient;
import org.ow2.dragon.client.impl.DragonClientImpl;
+import org.ow2.dragon.service.deployment.BindingOperationTO;
+import org.ow2.dragon.service.deployment.BindingTO;
import org.ow2.dragon.service.deployment.DragonFault;
+import org.ow2.dragon.service.deployment.EndpointTO;
import org.ow2.dragon.service.deployment.TechnicalServiceTO;
import junit.framework.TestCase;
@@ -28,6 +31,20 @@
for(TechnicalServiceTO serv: services) {
System.out.println("name of service: " + QName.valueOf(serv.getName()).getLocalPart());
+ List<EndpointTO> eps = client.getAllEndpointsByService(serv, null);
+ System.out.println("Number of endpoints: " + eps.size());
+ for(EndpointTO ep: eps) {
+ System.out.println("name of endpoiont: " + ep.getName());
+ BindingTO binding = ep.getBinding();
+ System.out.println("Number of operations: " + binding.getBindingOps().size());
+ for(BindingOperationTO op : binding.getBindingOps()) {
+ System.out.println("name of operation: " + op.getSignature());
+
+
+
+ }
+ }
+
}
}
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.