Skip to content

lucas-ep/poc-go-soap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POC Go SOAP

This project is a proof of concept to verify if the github.com/globusdigital/soap package works as expected. The soap package is a Go library for creating and consuming SOAP web services.

In this POC, a dummy endpoint was created that returns a hello message with the name passed in the request. The soap package is used to create the SOAP request and parse the response.

Usage

To run the project, you need to have Go installed on your machine. Clone the repository, then navigate to the project directory and run the command:

cd server
go run main.go

This will start the server and listen on port 8080. You can send a SOAP request to the endpoint at http://localhost:8080/sayHello using your preferred client.

Testing

To test the endpoint, you can use a tool like Postman. We have already tested the endpoint using Postman Postman SOAP test

the body is the following:

 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
        <Header xmlns="http://schemas.xmlsoap.org/soap/envelope/"></Header>
        <Body xmlns="http://schemas.xmlsoap.org/soap/envelope/">
                <fooRequest>
                        <Foo>Lucas</Foo>
                </fooRequest>
        </Body>
</Envelope> 

About

Testing github.com/globusdigital/soap package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages