WFS Geotools in private network

I am programimg in private network(No acces to the internet) and working with java. I need to do somethink there with wfs. I got wfs servers that working but I need to use him in java. I tried to use Geotools but it seem like it not working every time I am tring to get the data it's failed because I dont have accest to the online geoserver wfs schema.

If someone have example about have he use geotools in private netwrok I will be happey.