Can any one has Idea on "Error: Could not find a match"

Hi All, I am facing the problem of "Error: Could not find a match" Error Problem
Anybody's help is much appreciated, details are as follows

I have a Header file

1) .File Name : SoapRequest.h
--------------------------
RWCString invoke_doesNameExist(const RWCString& string_in);


And the corresponding cxx file
2).File Name : SoapRequest.cxx
--------------------------------

RWCString
ABC::invoke_doesNameExist(const RWCString &string_in)
{
MyInfo::CallInfo callInfo;
callInfo.addRequestSoapHeader(MyInfo::XmlName("Security",
MyInfo::XmlNamespace("wsse",
"http://schemas.xmlsoap.org/ws/2002/07/secext")),
secInfo.getLogin().data());

return proxyNameExist.doesNameExist(callInfo, string_in);
}

The below proxy class has the method definition like below
3).Proxy Class which has definition for above call.( Autogenerated using WSDL )
--------------------------------------------------------------------------------
virtual bool doesNameExist(MyInfo::CallInfo& info, const stns2::DoesNameExistInput& doesNameExistInput_in);


I have all the "# include" statements & all the things are perfect but I am getting the below error while compiling the SoapRequest.cxx file to Object file.


"Error: Could not find a match for XXXXXXProxy::doesNameExist(MyInfo::CallInfo, const RWCString) needed in SoapRequest::invoke_doesNameExist(const RWCString&).
1 Error(s) detected
."

where RWCSting is a vendor thirdparty class which is equivalent to Strint class from the io library.

Can anyone help on this !! needed your help badly.

Thanks,
Srinivas
Last edited on
I'm going out on a limb here -

But is the function doesNameExist properly decalred and actually defined.


It is a class function - somewhere there should be the function definition:

1
2
3
4
5
class XXXXXXProxy
{
    //declaration
    virtual bool doesNameExist(MyInfo::CallInfo& info, const stns2::DoesNameExistInput& doesNameExistInput_in);
};



1
2
3
4
5
//definition
XXXXXXProxy::doesNameExist(MyInfo::CallInfo, const RWCString)
{
//code here
}
Last edited on
Hi Gulkan, The above function is generated by compiling wsdl file, its an autogenerated code and its defined in the proxy class as below

bool
XXXXXPortProxy::doesNameExist(MyInfo::CallInfo& callInfo, const stns2::DoesNameExistInput& doesNameExistInput_in)
{
return body().doesNameExist(callInfo, doesNameExistInput_in);
}

Thanks for looking into this.
Suggest me for more...
Last edited on
Topic archived. No new replies allowed.