Step1:- Create an application
Step2 :- Give the desired application name accordingly
Step3 :- Enter the project name and click on "Ok"
Step4 :- Follow below steps for creating webservice proxy.
4.1 Select the project, right click and choose "New"
4.2 Select Web Services option from Business Tier and choose Web Service Proxy as shown below, then click on "OK".
4.3 Enter the WSDL url and click on "Next" till you reach Step5
4.4 Enter the package path for Webservice proxy and Generated Types and click "Next"
Ex:- Package name - oracle.apps.xxcxl.demo.webservicedemo.proxy
Root package for generated Types:- oracle.apps.xxcxl.demo.webservicedemo.proxy.types
4.5 Click "Next" till you reach "Finish" button.
The resultant packaging structure will be as shown below.
Several java files will be generated which can be seen in structure pane as shown below.
All the methods used in WSDL can be seen in InboundMsgReprocessingProcess_ptClient.java file. You can edit the methods or use it in your project Controller (CO) accordingly.
Note :- All the shaded regions used in this post are to be changed as per requirement.
Replace host-name with IP address in stub.java file(Highlighted in above figure).
Step2 :- Give the desired application name accordingly
Step3 :- Enter the project name and click on "Ok"
Step4 :- Follow below steps for creating webservice proxy.
4.1 Select the project, right click and choose "New"
4.2 Select Web Services option from Business Tier and choose Web Service Proxy as shown below, then click on "OK".
4.3 Enter the WSDL url and click on "Next" till you reach Step5
4.4 Enter the package path for Webservice proxy and Generated Types and click "Next"
Ex:- Package name - oracle.apps.xxcxl.demo.webservicedemo.proxy
Root package for generated Types:- oracle.apps.xxcxl.demo.webservicedemo.proxy.types
4.5 Click "Next" till you reach "Finish" button.
The resultant packaging structure will be as shown below.
Several java files will be generated which can be seen in structure pane as shown below.
All the methods used in WSDL can be seen in InboundMsgReprocessingProcess_ptClient.java file. You can edit the methods or use it in your project Controller (CO) accordingly.
Note :- All the shaded regions used in this post are to be changed as per requirement.
Replace host-name with IP address in stub.java file(Highlighted in above figure).
Muchas gracias... Me sirvio de mucho esta info saludos desde Mexico
ReplyDeleteSigue leyendo y dar sus valiosos comentarios. gracias
DeleteHi, Thanks for the excellent article. What are needed jar files needed to make it working from application? It works smoothly from JDEV but I would like to make call from java concurrent program. Please suggest names of jar files.
ReplyDeleteRegards
Shashikant
Regards