E1:BSSV How to Run a Consumer Web Service on the Server, but Run the BSFN and UBE Locally on a Webdev Client

(Doc ID 2342485.1)

Last updated on JANUARY 03, 2018

Applies to:

JD Edwards EnterpriseOne Tools - Version 9.1 and later
Information in this document applies to any platform.

Symptoms

Sometime may want to debug a business function or a UBE locally that makes a call to a web service. This is a Consumer scenario for web services. So login to the fat client in the DV environment and then launch the local web client from the fat client to try to run the custom consumer, or the JDE consumer sample. Get the following error in the local logs:
Error:
---------
11 Dec 2017 17:54:44,279[Line -1][Thread-49][SEVERE][METADATA]PackageLookUpService: Could not find attribute in table F96511 for host , port , pathcode .
11 Dec 2017 17:54:44,279[Line -1][Thread-49][SEVERE][JDBJ]For server , port , pathcode , failed to find the deployed package. Aborting the discovery process. com.jdedwards.database.services.packagelookup.PackageLookupServiceException: PackageLookUpService: Could not find attribute in table F96511 for host , port , pathcode .
11 Dec 2017 17:54:44,279[Line -1][Thread-49][DEBUG][JDBJ]Transaction 53 state changing from auto commit to closed.
11 Dec 2017 17:54:44,279[Line -1][Thread-49][SEVERE][INTEROP]Unable to get initialize UserSession java.lang.NullPointerException
11 Dec 2017 17:54:44,279[Line -1][Thread-49][SEVERE][INTEROP]com.jdedwards.system.connector.dynamic.ServerFailureException
11 Dec 2017 17:54:44,279[Line -1][Thread-49][SEVERE][INTEROP]Exception occurred while validating role and/or environment in Java Connector Login method:null com.jdedwards.system.connector.dynamic.ServerFailureException: Exception occurred while validating role and/or environment in Java Connector Login method:null
11 Dec 2017 17:54:44,279[Line -1][Thread-49][DEBUG][BSSVFRAMEWORK][Context ID: ] Login failed
  Exception occurred while validating role and/or environment in Java Connector Login method:null
11 Dec 2017 17:54:44,279[Line -1][Thread-49][SEVERE][BSSVFRAMEWORK]Authentication Failure for BSSV request. Could not get Principal.
11 Dec 2017 17:54:44,279[Line -1][Thread-49][DEBUG][BSSVFRAMEWORK]About to send response for msgID: 33
11 Dec 2017 17:54:46,951[Line -1][Thread-39-TransactionReaper][DEBUG][JAS]Removing old transactions
11 Dec 2017 17:54:51,497[Line -1][Transfer Principals][DEBUG][BSSVFRAMEWORK][Context ID: ] Start clearing Temp Cache....

Error on the screen if using the Consumer Sample in the P954001:
Call to Web Service failed, error: Failure to authenticate using the token provided in CallBusinessService message Warning
 
A form level error has occurred.
CAUSE: An error occurred when trying to call a web service.
 Error is Failure to authenticate using the token provided in CallBusinessService message .

RESOLUTION: Verify that web service end point is running and
 the payload is correct.

ER Details:
  Form P954001_W954001A
  Control Id 13
  Control Title getAddressBookInfo
  Event Button clicked
  Line No 1

BSFN Details:
  Source File D:\JDEdwards\E920\DV920\package\DV920FP\source\B953002.c
  Source Line 422
  Error ID 007FIS

Steps to Duplicate:
------------------------------
Run the P954001 from JDV910 and from DV910. The J environment works, and DV environment throws an error on the screen as shown above

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms