I"m not positive, but I believe you are hitting a security wall in XPiNC. XPiNC does not allow for any "network" calls outside of calls back to the application.
I had this same problem calling agents and web services from XPiNC. If you have access to an 8.5.3 runtime try it there as I believe they relaxed the security constrains a bit starting with that version.