I've not had much soap experience so I've tried to replicate what is already working correctly, but presently I'm not sure where to look, or go about resolving the issue...
This is what I've got (just a note, Client code is C#, Server code is C++)
Client
Expand|Select|Wrap|Line Numbers
- depot d = rfc.getQuickestDepot(s); //throws SoapHeaderException saying method not implemented.
Expand|Select|Wrap|Line Numbers
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="urn:routefinda", ResponseNamespace="urn:routefinda", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- [return: System.Xml.Serialization.XmlElementAttribute("Result")]
- public depot getQuickestDepot(xyCoords startnode) {
- object[] results = this.Invoke("getQuickestDepot", new object[] {
- startnode});
- return ((depot)(results[0]));
- }
Expand|Select|Wrap|Line Numbers
- int ns__getQuickestDepot(struct soap *soap, struct ns__xyCoords a, struct ns__getQuickestDepotResponse *r)
- {
- ...
- }
Expand|Select|Wrap|Line Numbers
- struct ns__getQuickestDepotResponse {struct ns__depot Result;};
- int ns__getQuickestDepot( struct ns__xyCoords startnode,
- struct ns__getQuickestDepotResponse *r);
I'm not sure if this is enough to go on, I don't quite understand soap enough to know exactly what is defined where but can post more code if neccessary. Any help would be appreciated.
Thanks.