About Question enthuware.ocejws.v6.2.325 :

Moderators: Site Manager, fjwalraven

Post Reply
fabiolino
Posts: 25
Joined: Wed Jun 24, 2015 7:26 am
Contact:

About Question enthuware.ocejws.v6.2.325 :

Post 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.

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests