Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - #include "AddressValidationServiceSoapBinding.nsmap"
 - #include "soapH.h"
 - struct ns2__AddressValidationReply validate_address(struct soap *soap, char *base_url, struct ns2__AddressValidationRequest *ptr_AddressValidationRequest)
 - {
 - struct ns2__AddressValidationReply AddressValidationReply;
 - char soap_endpoint[36] = "/web-services/addressvalidation";
 - char soap_url[100] = "";
 - strcat(soap_url, base_url);
 - strcat(soap_url, soap_endpoint);
 - if (
 - soap_call___ns2__addressValidation(soap, soap_url,
 - NULL,
 - ptr_AddressValidationRequest,
 - &AddressValidationReply) == SOAP_OK)
 - {
 - }
 - else
 - {
 - soap_print_fault(soap, stderr);
 - struct ns2__AddressValidationReply empty = {0};
 - return empty;
 - }
 - return AddressValidationReply;
 - }
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment