J
JamesG
Hi,
I'm new to C-Sharp (as of today) and i'm struggling to implement a
SOAP client to a PHP5 web service. I have added the Web Reference (do
I also need to use wsdl.exe and compile the .dll, and reference that
as well?) to the wsdl document.
Behind my form, I have the following (snippeted) code:
/* our service reference */
private localhost.ConsignmentService setWayp;
int waypID = setWayp.setWaypointByID(this.tbCID.Text,
wLon[this.cbWarehouse.SelectedIndex],
wLat[this.cbWarehouse.SelectedIndex],
System.DateTime.Now.ToShortDateString,
System.DateTime.Now.ToShortTimeString, selStatus);
The relevant web reference proxy code is:
public partial class setWaypointByIDRequest {
private string idField;
private decimal longitudeField;
private decimal latitudeField;
private System.DateTime dateField;
private System.DateTime timeField;
private statusType statusField;
private bool statusFieldSpecified;
....
}
The precise error is: No overload for method 'setWaypointByID' takes
'6' arguments
I've been searching for hours and am stumped!
Any help appreciated
I'm new to C-Sharp (as of today) and i'm struggling to implement a
SOAP client to a PHP5 web service. I have added the Web Reference (do
I also need to use wsdl.exe and compile the .dll, and reference that
as well?) to the wsdl document.
Behind my form, I have the following (snippeted) code:
/* our service reference */
private localhost.ConsignmentService setWayp;
int waypID = setWayp.setWaypointByID(this.tbCID.Text,
wLon[this.cbWarehouse.SelectedIndex],
wLat[this.cbWarehouse.SelectedIndex],
System.DateTime.Now.ToShortDateString,
System.DateTime.Now.ToShortTimeString, selStatus);
The relevant web reference proxy code is:
public partial class setWaypointByIDRequest {
private string idField;
private decimal longitudeField;
private decimal latitudeField;
private System.DateTime dateField;
private System.DateTime timeField;
private statusType statusField;
private bool statusFieldSpecified;
....
}
The precise error is: No overload for method 'setWaypointByID' takes
'6' arguments
I've been searching for hours and am stumped!
Any help appreciated