How to Test/Debug BSSV in JDeveloper

bigoteetoe

Active Member
I am trying to debug a published business service (JP580002) in JDeveloper, but am not sure that I am doing it right.

So far, I can deploy web services to the local Integrated WebLogic Server and test the function using the web form inputs. But the web services does not work as intended, so I want to step through the .java to see where it's breaking down.

What I've tried but does not work:
1. Start the local Integrated Web Logic Server
2. In "Application Navigator", right-click on the web service and select "Test Web Service"

at that point, the console outputs the following (deployment never seems to complete).


<font class="small">Code:</font><hr /><pre>
[Running application DV900 on Server Instance IntegratedWebLogicServer...]
[11:11:38 AM] ---- Deployment started. ----
[11:11:38 AM] Target platform is (Weblogic 10.3).
[11:11:39 AM] Retrieving existing application information
[11:11:40 AM] Running dependency analysis...
[11:11:40 AM] Deploying 7 profiles...
[11:11:44 AM] Wrote Web Application Module to C:\Users\jsmith\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\DV900\JPR01000WebApp.war
[11:11:47 AM] Wrote Web Application Module to C:\Users\jsmith\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\DV900\JP050001WebApp.war
[11:11:50 AM] Wrote Web Application Module to C:\Users\jsmith\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\DV900\JP010030WebApp.war
[11:11:53 AM] Wrote Web Application Module to C:\Users\jsmith\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\DV900\JP010000WebApp.war
[11:11:53 AM] Wrote Web Application Module to C:\Users\jsmith\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\DV900\JP590001WebApp.war
[11:11:53 AM] Wrote Web Application Module to C:\Users\jsmith\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\DV900\JP580002WebApp.war
[11:11:53 AM] Wrote Enterprise Application Module to C:\Users\jsmith\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\DV900
[11:11:53 AM] Redeploying Application...
</pre><hr />

Any ideas what I am doing wrong? I've tried going through the documentation at http://docs.oracle.com/cd/E17984_01/doc.898/e14694/create_publishedbssv.htm, but it doesn't really say how to use the JDeveloper debugger. (I have never used JDeveloper before).

This is using JDeveloper 11.1.1.2.0 with E1 Tools 8.98.42
 
You'll need to test the published service with it running in JDeveloper, rather than your local E1 web server. That way you can turn on debugging and step through the code.

Follow the examples given in either of these two tutorials on the Oracle Fusion Middleware for Apps Best Practice Center:

http://www.oracle.com/technetwork/topics/jde-bssv-database-business-service-131800.pdf - Section 14.

http://www.oracle.com/technetwork/topics/jde-bssv-database-business-service-131800.pdf - Section 3

Except that instead of 'running' the test class, you'll need to select the 'debug' option.
 
Back
Top