Here is a simplification of my web service.
There is no method in my code that publishes the web service.
@Stateless
@WebService(
portName = "HedgingPort",
serviceName = "HedgingService",
targetNamespace = "http://tradertools.com/wsdl",
endpointInterface = "com.tradertools.ejb.HedgingWS")
@ConcurrencyManagement(ConcurrencyManagementType.CONTAINER)
@AccessTimeout(value=120000)
public class HedgingImpl implements HedgingWS, HedgingRemote,
HedgingLocal {
public HedgingImpl()
{
logger.info("entering hedgingimpl");
}
@Override
@Lock(LockType.READ)
public String getInstrumentsXML() {
logger.info("enter getInstrumentsXML");
try {
return
OrderAPIConnector.getOrderAPIConnector().getInstrumentsXML();
} catch (Throwable ex) {
logger.log(Level.SEVERE, "Caught unexpected exception
XML", ex);
return "";
}
}
}
-----Original Message-----
From: Romain Manni-Bucau [mailto:[email protected]]
Sent: Tuesday, February 07, 2012 8:58 PM
To: [email protected]
Subject: Re: ReflectionServiceFactoryBean constantly creating services
Hi,
i pretty sure it is in your application (maybe a loop a method
publishing
the WS through cxf API?) because OpenEJB doesn't deploy the webservice
with
this kind of addresses.
- Romain
2012/2/7 Gil Teitelbaum <[email protected]>
> Hi Everyone,
>
>
>
> I have an OpenEJB 3.1.4 embedded server that seems to be creating a
web
> service every two seconds.
>
>
>
> 18:42:32:895 07.02 INFO [-pool-2-thread-1]
ReflectionServiceFactoryBean
> Creating Service {http://tradertools.com/}Orders from WSDL:
> http://vint3app/STPlatform/API/Orders.asmx?wsdl
>
> 18:42:34:942 07.02 INFO [-pool-2-thread-1]
ReflectionServiceFactoryBean
> Creating Service {http://tradertools.com/}Orders from WSDL:
> http://vint3app/STPlatform/API/Orders.asmx?wsdl
>
> 18:42:36:989 07.02 INFO [-pool-2-thread-1]
ReflectionServiceFactoryBean
> Creating Service {http://tradertools.com/}Orders from WSDL:
> http://vint3app/STPlatform/API/Orders.asmx?wsdl
>
> 18:42:39:036 07.02 INFO [-pool-2-thread-1]
ReflectionServiceFactoryBean
> Creating Service {http://tradertools.com/}Orders from WSDL:
> http://vint3app/STPlatform/API/Orders.asmx?wsdl
>
> 18:42:41:083 07.02 INFO [-pool-2-thread-1]
ReflectionServiceFactoryBean
> Creating Service {http://tradertools.com/}Orders from WSDL:
> http://vint3app/STPlatform/API/Orders.asmx?wsdl
>
>
>
> Does anyone have any idea why this would be happening and what I could
> do to change this.
>
>
>
> Thanks
>
>
>
> Gil
>
>