You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Deepa Priolkar <de...@TechMahindra.com> on 2010/10/18 15:44:41 UTC

Hosting Service as a Webservice

Hi All,

 

I have following service exposed as a Webservice,

 

    <service name="updateScanResult" export="true" auth="false"
engine="soap"

            location="http://localhost:8080/webtools/control/SOAPService
" invoke="updateScanResultTest">

        <description>add the scan details to the database</description>

        <attribute name="result" type="String" mode="IN"
optional="false"/>

       <attribute name=" response" type="String" mode="OUT"
optional="true"/>

    </service>

 

Is it possible to configure one of the Input parameter as some
userdefined Object, e.g 

 

    <service name="updateScanResult" export="true" auth="false"
engine="soap"

            location="http://localhost:8080/webtools/control/SOAPService
" invoke="updateScanResultTest">

        <description>add the scan details to the database</description>

        <attribute name="result" type="com.abc.bean.Teachers" mode="IN"
optional="false"/>

       <attribute name=" response" type="String" mode="OUT"
optional="true"/>

    </service>

 

Thanks & Regards,

Deepa


============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================