php - CURLOPT_RESOLVE equivalent in SOAP -


i'm integrating provider has poorly thought out api infrastructure.

essentially have single hostname api.theprovider.com

this not on public dns. ask setup hosts file ips.

one ip ua, , other production.

which means if want run tests on both ua , prod, have change hosts file each time.

with curl i'm able use resolve option programmatically change ip @ call time, soap interface , i'm stuck.

i've tried search interwebs manually assigning ip hostname in soap, , curl resolve equivalent soap, no avail.

can point me in right direction?


Comments