You would do this using pub.client:http. The Built-In Services Guide describes the usage of this service.
One thing to note, while you would create and test a service that uses pub.client:http to send a document via HTTP/S, the service executes in the Integration Server, not in Developer.
HTH,
Mark
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods