Skip to content

idavistro/hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

hello-world

Te first approach to GitHub este es una primera version del archivo readme

Hola uno dos tres probando Thë dînîng Þhîlø§øÞhë®§ §tå®vë üntîl Ðønåld €. Knüth hå§ ßëën §ë®vëd.

Introduction

This demo was created to review some general features of JBoss Fuse 6.1.1
It was created to help new fuse developers to understand how to create web services using different approaches. This services will execute basic mathematical operations (sum, add, multiply). We will create an additional web service that will standardize request to the other services and act as a proxy too.

ENJOY!!!!

Web Services Detail

We will create four web services which are:

  • Sum Web Service: It will be created using Code first approach. SOAP request will receive two numbers and return a sum operation. The wsdl definition will be available at http://localhost:{CustomPort}/sum/?wsdl.
    This is a SOAP Request and SOAP Response example:
    SOAP Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wss="http://wssuma.ws.demos.fuse.redhat.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <wss:sum>
         <arg0>
            <oper1>5</oper1>
            <oper2>1</oper2>
         </arg0>
      </wss:sum>
   </soapenv:Body>
</soapenv:Envelope>

SOAP Response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wss="http://wssuma.ws.demos.fuse.redhat.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <wss:sumResponse>
         <return>
            <result>6</result>
         </return>
      </wss:sumResponse>
   </soapenv:Body>
</soapenv:Envelope>
  • Add Web Service: It will be created using Code first approach. SOAP request will receive two numbers and return an add operation. The wsdl definition will be available at http://localhost:{CustomPort}/add/?wsdl.

About

Te first approach to GitHub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors