Skip to content

kylape/cxf-client-bus-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#JBossWS/CXF Client Tests

This example demonstrates how JBossWS/CXF clients behave and how to configure them to behave according to your needs.

##Code There are tons of Java files in this project since the purpose is to create a very large WSDL which takes up a lot of memory within a Bus object. To view the pertinent classes that show how to properly utilize JBossWS and JAX-WS APIs and synchronize client creation and invocation, look here.

##Deploying

mvn jboss-as:deploy

##Running the test and Options test.sh will use curl to invoke a client servlet, which will then invoke a SOAP endpoint. The script will concurrently invoke the servlet 30 times, causing 30 threads to be spawned by JBossWeb to handle all the requests. There are two options that can be added to the URL passed to curl:

  • ?shared: Clients will share one Service object, but each thread will create its own proxy/port.
  • ?useTcclStrategy: This will cause any Service object created duing this particular invocation to be created with the UseTCCLBusFeature, as described here.

WARNING: If you do not use either of the above options, expect your JBoss server to run out of memory.

About

CXF Cilent Bus Test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages