on 01-18-2005 3:57 PM
Hi,
I created a service that should expose a methode that will execute a BAPI.
Here is the interface:
public interface IMyBAPIService extends IService
{
public static final String KEY = "bapi1service";
public JCO.Function executeBAPI(IPortalComponentRequest request, String ministry) ;
}
When I try to create a Portal Web Service from Portal Service, I get an error :
"Cannot follow operations if a method contening IPortalComponentRequest is selected".
I thought I should pass the request object to the getJCOClientPoolEntry(sapSystem, request).
Any help will be great.
Thanks.
Hi David,
WS is based on serialization/unserialization of attributes. Object like IPortalComponentRequest are too "much" complex to be serialized. It could implies that you could have to serialiaze half of the Portal Runtime Objects.
Best Regards,
Frederic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Frederic,
So, if I want to create a methode that should execute a BAPI using
getJCOClientPoolEntry(sapSystem, request) to request a pool.
How can I do it in the service without passing the request object from the consumer service ?
NB : I code myself the JCo connection for the BAPI call since we do not have the se37 option to create a wsdl file for the BAPI.
Thanks
Message was edited by: David Fryda
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.