Custom java action webservice call only works when running from eclipse

Calling an external webservice from a custom java action. The wsdl/xsd is fairly ugly and and difficult to use mapping. For some reason the web service call doesn't appear to work when running from the Modeler but does work when running from eclipse. Any idea why? Thanks
1 answers

Is emulate cloud security still on? I am not sure if eclipse also uses this function but my guess it not, then that might be the reason for the different outcomes.

On the other hand i would expect the modeller to give a security warning if your java action tries to run a piece of code that is not allowed by cloud security.

As Benny pointed out this is not the case.