on 02-15-2015 6:40 PM
Hello wisemen!
I created web-service client (consumer proxy) at DC1 (EJB) and http servlet at DC2 (Web). DC1 and DC2 are under NWDI control at some SWC.
For DC1 also I create job definition to check proxy call from scheduler.
Everithig fine, proxy is calling by scheduler and XI gets messages.
DC1 has public part like vendor~dc1~proxy and DC2 is dependent from dc1/proxy.
What the way to call consumer proxy from DC2? As it is says http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4b/5067ab2b5c2827e10000000a42189c/content.htm
there is simple @WebServiceRef annotation and HelloService object instance, but I got compilation errors when trying to build using NWDI:
[javac] ERROR: C:\sap\workspace.jdi\0\DCs\vendor\support\temp\_comp\source\HelloServlet.java:13: cannot find symbol
[javac] ERROR: symbol : class HelloOutService
[javac] ERROR: location: class HelloServlet
[javac] ERROR: HelloService service;
[javac] ERROR: ^
[javac] 1 error
If I made public part for DC1 like HelloService.class or HelloService.java, the SCA is built OK but deploy DC2 is failed, because no WSDL can be found, because WSDL located at DC1.
So the the question -- do I need make some another EJB to call consumer proxy in different DC or there is some configuration fix available?
Thank you in advance.
P.S. I can mix consumer proxy and http servlet in one DC, and it works fine, but cannot use scheduler proxy MDB in the same DC.
Hi Lliya,
Plesae have a look of the below link, which may help you.
6.2.  Create a client in a managed component in a EE container.
Thanks,
Hamendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.