Page 1 of 1

About Question enthuware.ocejws.v6.2.325 :

Posted: Fri Jul 10, 2015 5:27 am
by fabiolino
The server side's WSIT configuration file is a way to decouple wsdl from the policy. It's right ?
Then if it 's build WSIT configuration file with Eclipse or you can only do with NetBeans?

Thanks in advance.

Re: About Question enthuware.ocejws.v6.2.325 :

Posted: Mon Jul 13, 2015 6:48 am
by fjwalraven
The server side's WSIT configuration file is a way to decouple wsdl from the policy. It's right ?
As far as I understood it they wanted WSIT to be configurable in both scenarios: Java-First and WSDL-first.

From the Metro guide:
14.2. WSIT Configuration and WS-Policy Assertions

Code: Select all

<wsp:Policy wsu:Id="AddNumbers_policy">
    <wsp:ExactlyOne>
        <wsp:All>
            <wsaw:UsingAddressing/>
            <wsrm:RMAssertion>
                <wsrm:InactivityTimeout Milliseconds="600000"/>
            </wsrm:RMAssertion>
        </wsp:All>
    </wsp:ExactlyOne>
</wsp:Policy>
This snippet is valid in either a WSIT configuration file (wsit-package.service.xml) or in a Web Services Description Language (WSDL) file. Java-first web services use the WSIT configuration file, while WSDL-first web services rely exclusively on the policy elements in the WSDL file. This particular snippet is from the WSIT configuration file in the example, wsit-enabled-fromjava/etc/wsit-fromjava.server.AddNumbersImpl.xml.
Then if it 's build WSIT configuration file with Eclipse or you can only do with NetBeans?
WSIT is not tight to Netbeans, you can also develop WSIT aware Webservices in Eclipse.