Is there any good installation guide for Globus toolkit?
Globus installation guide
globus-toolkit
Related Solutions
The link to http://workspace.globus.org/vm/marketplace.html appears to be broken now. I think the new location is http://scienceclouds.org/marketplace/.
I guess you're looking for this
<complexType name='ArrayOfString'>
<sequence>
<element name='item' type='xsd:string' maxOccurs='unbounded'/>
</sequence>
</complexType>
Source: http://www.activebpel.org/samples/samples-2/BPEL_Samples/Resources/Docs/arrays.html
UPDATE:
I've done a test using NetBeans 7.0.1. The results were this:
Declare a method that receives a String[] parameter:
@WebMethod(operationName = "helloArray")
public String helloArray(@WebParam(name = "name") String[] name) {
StringBuilder sb = new StringBuilder("Hello ");
if (name != null) {
for(int i = 0; i < name.length; i++) {
sb.append(name[i]);
if (i < (name.length - 1)) {
sb.append(" and ");
}
}
}
sb.append('!');
return sb.toString();
}
The WSDL generated a complex type for my method with a String array element
<xs:complexType name="helloArray">
<xs:sequence>
<xs:element name="name" type="xs:string" nillable="true" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
In the client, the IDE generated a List<String>
to consume it:
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "helloArray", propOrder = {"name"})
public class HelloArray {
@XmlElement(nillable = true)
protected List<String> name;
public List<String> getName() {
if (name == null) {
name = new ArrayList<String>();
}
return this.name;
}
}
And a method to consume the service
private String helloArray(java.util.List<java.lang.String> name) {
edu.home.wsclient.HelloWorldWS port = service.getHelloWorldWSPort();
return port.helloArray(name);
}
I've uploaded both projects in this address
Best Solution
The http://www.globus.org/toolkit/docs/5.0/5.0.2/admin/quickstart
is good and fast.