Chhotisiaasha's Blog

Archive for December 2010

RAD Configuration settings for webservice

(assumed PXS and OAO webservice (or any other web service) files are existing.)

1>     Remove all files under com.xyz.aha.otherholdings.webservice.

2>     Replace following files under WEB-INF.

AccountertPortfolioServicexyz.wsdl

AccountPortfolioSchemaxyz.xsd

getHoldingDetailsxyz.xsd

getAccountInfoxyz.xsd

getMarketValuexyz.xsd

getBalancexyz.xsd

getDailyAssetChgInValxyz.xsd

getRealTimeCashBalancexyz.xsd

PXSCommonxyz.xsd

In all above files change ../PXSCommonxyz.xsd to PXSCommonxyz.xsd

this may include any other file provided by webservice provider.

3>     Right click AccountPortfolioServicexyz.wsdl > Web Services > GenerateClient

a>Check Service definiation has wsdl path

b>Client type: Java Proxy

c> Click on Configuration >web service runtime:IBM WebSphere JAX-WS

See that Web Serivce runtime:IBM Websphere JAX-WS is selected

See that required server is selected

d>Click Next

e>For PXS client Select Target package as com.xyz.aha.otherholdings.webservice

f>select Generate portable client check box

g>Click Finish.

This should generate required stubs.

Note: You can edit the WS url in the wsdls