0 Replies Latest reply on Aug 6, 2014 5:01 AM by farhad.raja

    how to use IIS service with jboss esb

    farhad.raja

      I have a IIS (WCF) service that work fine with SOAPUI after enable  "add default wsa:To" ticke's

       

      are you know how can me work this task in jboss ESB ?

      how to enable  "add default wsa:To" in jboss ESB or ESB project configuration?


      or how to can change sent xml from jboss esb to soapui xml format


      in soupui sent xml is :


      POST /ESB/ESBHelloWorldService.Service1.svc HTTP/1.1

      Accept-Encoding: gzip,deflate

      Content-Type: application/soap+xml;charset=UTF-8;action="http://tempuri.org/IService1/GetData"

      Content-Length: 476

      Host: appserver.rndnet.com:90

      Connection: Keep-Alive

      User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

       

      <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/">

      <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://tempuri.org/IService1/GetData</wsa:Action><wsa:To>http://appserver.xxx.com:90/ESB/ESBHelloWorldService.Service1.svc</wsa:To></soap:Header>

      <soap:Body>

           <tem:GetData>

               <!--Optional:-->

              

            <tem:value>50</tem:value>

      </tem:GetData>

      </soap:Body>

        </soap:Envelope>


      but in jboss esb project that create in jboss developer studio is


      POST /ESB/ESBHelloWorldService.Service1.svc HTTP/1.1

      Content-Type: application/soap+xml;charset=UTF-8

      Connection: keep-alive

      SOAPAction: "GetData"

      User-Agent: Jakarta Commons-HttpClient/3.1

      Host: appserver.rndnet.com:90

      Content-Length: 228

       

      <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/">

         <soap:Header />

        <soap:Body>

      <tem:GetData>

               <!--Optional:-->

      <tem:value>5</tem:value>

              

           </tem:GetData>

      </soap:Body>

      </soap:Envelope>


      Thanks