Hi all,
I'm a VFPro rookie.
I need to call a WS (axis engine based), that has an array.
For calling the array it is used a Documentquerybean class.
If we generate a proxy for .net the class specification is there and the call is easy to do using the following code:
DocumentQueryBean d = new DocumentQueryBean();
d.columnList = new string[] {"external_id","label"}
object[] columns = new object[2];
d.data = new object[3][];
d.data[0] = new object[2];
d.data[0][0] = "121";
d.data[0][1] = "label121";
d.data[1] = new object[2];
d.data[1][0] = "122";
d.data[1][1] = "label122";
d.data[2] = new object[2];
d.data[2][0]= "123";
d.data[2][1]= "label123";
mapitem[] errors = es.insertOperatorQuery(user,pwd,d,"2","2008-02-21");
XmlDocument _doc = XmlSerializerHelper.SerializeToXml(errors);
Response _response = ResponseBuilder.BuildResponseFromXml(_doc);
But in FoxPro I can't generate this proxy! How can I do it?!?!?!?!?
The proxy has too much info but a part of it is DocumentQueryBean info:
"
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "
http://rpc.xml.coldfusion")]
public partial class DocumentQueryBean
{
private string[] columnListField;
private object[][] dataField;
///
[System.Xml.Serialization.XmlArrayAttribute(IsNullable = true)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", IsNullable = false)]
public string[] columnList
{
get
{
return this.columnListField;
}
set
{
this.columnListField = value;
}
}
///
[System.Xml.Serialization.XmlArrayAttribute(IsNullable = true)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", IsNullable = false)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", IsNullable = false, NestingLevel = 1)]
public object[][] data
{
get
{
return this.dataField;
}
set
{
this.dataField = value;
}
}
}
"
I would really apreciate some help from you.
Thanks in advance!
Bruno