Webservice security

To disable webservice security in KFS project,

  1. Search for kim.soapExposedService.jaxws.security in build.properties
  2. Replace value to flase
  3. Execute ant target dist-local & followed by make-source.

Here is sample…

WSDL url: http://localhost:8080/kfs-dev/remoting/kimIdentityServiceSOAP?wsdl

Request

<soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:kim=”http://rice.kuali.org/wsdl/kim”>
<soapenv:Header/>
<soapenv:Body>
<kim:getPrincipal>
<principalId>admin</principalId>
</kim:getPrincipal>
</soapenv:Body>
</soapenv:Envelope>

Response

<soap:Envelope xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/”>
<soap:Body>
<ns2:getPrincipalResponse xmlns:ns2=”http://rice.kuali.org/wsdl/kim”>
<return>
<active>true</active>
<entityId>1100</entityId>
<principalId>admin</principalId>
<principalName>admin</principalName>
</return>
</ns2:getPrincipalResponse>
</soap:Body>
</soap:Envelope>

To disable webservice security in KFS project, Search for kim.soapExposedService.jaxws.security in build.properties Replace value to flase Execute ant target dist-local & followed by make-source. Here is sample… WSDL url: http://localhost:8080/kfs-dev/remoting/kimIdentityServiceSOAP?wsdl Request <soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:kim=”http://rice.kuali.org/wsdl/kim”> <soapenv:Header/> <soapenv:Body> <kim:getPrincipal> <principalId>admin</principalId> </kim:getPrincipal> </soapenv:Body> </soapenv:Envelope> Response <soap:Envelope xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/”> <soap:Body> <ns2:getPrincipalResponse xmlns:ns2=”http://rice.kuali.org/wsdl/kim”> <return> <active>true</active> <entityId>1100</entityId> <principalId>admin</principalId> <principalName>admin</principalName> </return> </ns2:getPrincipalResponse> </soap:Body>…

Leave a Reply

Your email address will not be published. Required fields are marked *