SOAP_FMAC5 int SOAP_FMAC6 soap_recv___wsdd__ResolveMatches(struct soap *soap, struct __wsdd__ResolveMatches *_param_7)
{
soap_default___wsdd__ResolveMatches(soap, _param_7);
soap_begin(soap);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
soap_get___wsdd__ResolveMatches(soap, _param_7, "-wsdd:ResolveMatches", NULL);
if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
soap->error = SOAP_OK;
if (soap->error
|| soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_send_SOAP_ENV__Fault_bak(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *faultcode, char *faultstring, char *faultactor, struct SOAP_ENV__Detail *detail, struct SOAP_ENV__Code *SOAP_ENV__Code, struct SOAP_ENV__Reason *SOAP_ENV__Reason, char *SOAP_ENV__Node, char *SOAP_ENV__Role, struct SOAP_ENV__Detail *SOAP_ENV__Detail)
{ struct SOAP_ENV__Fault_bak soap_tmp_SOAP_ENV__Fault_bak;
soap_begin(soap);
soap->encodingStyle = NULL;
soap_tmp_SOAP_ENV__Fault_bak.faultcode = faultcode;
soap_tmp_SOAP_ENV__Fault_bak.faultstring = faultstring;
soap_tmp_SOAP_ENV__Fault_bak.faultactor = faultactor;
soap_tmp_SOAP_ENV__Fault_bak.detail = detail;
soap_tmp_SOAP_ENV__Fault_bak.SOAP_ENV__Code = SOAP_ENV__Code;
soap_tmp_SOAP_ENV__Fault_bak.SOAP_ENV__Reason = SOAP_ENV__Reason;
soap_tmp_SOAP_ENV__Fault_bak.SOAP_ENV__Node = SOAP_ENV__Node;
soap_tmp_SOAP_ENV__Fault_bak.SOAP_ENV__Role = SOAP_ENV__Role;
soap_tmp_SOAP_ENV__Fault_bak.SOAP_ENV__Detail = SOAP_ENV__Detail;
soap_serializeheader(soap);
soap_serialize_SOAP_ENV__Fault_bak(soap, &soap_tmp_SOAP_ENV__Fault_bak);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_SOAP_ENV__Fault_bak(soap, &soap_tmp_SOAP_ENV__Fault_bak, "SOAP-ENV:Fault-bak", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_SOAP_ENV__Fault_bak(soap, &soap_tmp_SOAP_ENV__Fault_bak, "SOAP-ENV:Fault-bak", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
return SOAP_OK;
}
SOAP_FMAC5 int SOAP_FMAC6 soap_recv_SOAP_ENV__Fault_bak(struct soap *soap, struct SOAP_ENV__Fault_bak *_param_8)
{
soap_default_SOAP_ENV__Fault_bak(soap, _param_8);
soap_begin(soap);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
soap_get_SOAP_ENV__Fault_bak(soap, _param_8, "SOAP-ENV:Fault-bak", NULL);
if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
soap->error = SOAP_OK;
if (soap->error
|| soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}