Charging and Control Applications (MOSC)

MOSC Banner

Is OCSG threadsafe / Weblogic web service thread safe

edited Sep 17, 2009 3:03PM in Charging and Control Applications (MOSC) 3 commentsAnswered
hi,
can advice if OCSG threadsafe / Weblogic web service thread safe?
We had implemented the following communication service where ReplaceContentService_Service is the weblogic web service client object.. Was wondering if it is thread safe as we had tried similar implementation in axis, it is not.

private static ReplaceContentService_Service arService = null;

private ContentInformation getContentWS( GetContentRequest getContentRequest, String appInstId ) throws Exception

{

                  if (arService == null)

                  {

                        arService = new ReplaceContentService_Service_Impl();

                  }

                  arPortType = arService.getReplaceContentServiceSoapPort( username.getBytes(), password.getBytes() );

                  credProviders.add( new ClientUNTCredentialProvider( username.getBytes(), password.getBytes() ) );

                  theStub = (Stub)arPortType;

                  theStub._setProperty( "weblogic.wsee.transport.connection.timeout", Integer.parseInt( timeout ) );

                  theStub._setProperty( Stub.ENDPOINT_ADDRESS_PROPERTY, endpoint );

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center