Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "AddressValidationServiceSoapBinding.nsmap"
- #include "soapH.h"
- struct ns1__AddressValidationReply validate_address(struct ns1__AddressValidationRequest *ptr_AddressValidationRequest)
- {
- struct soap *soap = soap_new();
- struct ns1__AddressValidationReply AddressValidationReply;
- if (
- soap_call___ns1__addressValidation(soap, "https://wsbeta.fedex.com:443/web-services/addressvalidation",
- NULL,
- ptr_AddressValidationRequest,
- &AddressValidationReply) == SOAP_OK)
- {
- // TODO
- }
- else
- {
- soap_print_fault(soap, stderr);
- }
- //soap_destroy(soap);
- //soap_end(soap);
- //soap_free(soap); TODO: Enable if linux?
- return AddressValidationReply;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement