0 Replies Latest reply on Jan 27, 2005 4:43 AM by Giordano Vicoli

    Question about WS consuming

    Giordano Vicoli Newbie

      Hello,

      I have only the following WSDL file:

      <?xml version="1.0" encoding="utf-8" ?>
      - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IBatValuesservice" targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
      -



      -


      -
      -




      -
      <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
      -
      <soap:operation soapAction="urn:BatValuesIntf-IBatValues#GetValoriBat" style="rpc" />
      -
      <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BatValuesIntf-IBatValues" />

      -
      <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:BatValuesIntf-IBatValues" />



      -
      -
      <soap:address location="http://erg8074.casaccia.enea.it/cgi-bin/getbat.exe/soap/IBatValues" />




      I would like to know how I can consume this WS from within an EJB. I know I can do a DII call but I would like to know I can consume the WS using the <service-ref> in the DD starting from a WSDL file.
      Thank you for the help.