on 11-10-2009 6:48 AM
Hi all,
is it possible to have a service interface with more than one operation?
I have found this blog:
But this sentence:
ABAP proxy (inbound/ outbound) cannot be developed out of a Service Interface having Operations with different type of messages included. If an ABAP proxy is to be developed then all the messages included should be of one type i.e. either the included messages should be Message Type, External Message, IDOC or RFC Message. This behavior can be observed when a Service Interface is created and then subjected for a check
regards
HI,
Its possible to have service interface with more than one operation..
provided it is not of pattern stateless (XI 3.0 -Compatible)...
in this case proxy generated will have only one method...
if it is of interface pattern (stateless) then methods generated in proxy will be equivalent to no of operations defined..
i think all message types should be of same type(external,idoc,rfc,...)
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thanks.
In the proxy interface my two methods are generated.
If I test the proxy and I choose the methods manually everything works fine.
But if I try to call the service via the service registry for example an error occurs.
I can see in the monitoring only the interface name but not the method which should be called.
regards
Hi,
the error in the log is the following:
No implementing class registered for the interface (ABAP interface, request message MI_OSRBG_BC_SOA_EXCEL_SYNC_IN, request message, namespace http://osram-os.com/rbg/bc/soa/excel/xi118)
But I have created the proxy classes and they are activated!!!!!
Any ideas?
regards
What are the message types that you have included for the Service Interface on which you have developed the proxy?
I can see in the monitoring only the interface name but not the method which should be called.
Did you see the screenshot that I have inlcuded in the last of the SXMB_MONI....method name is not displayed...only interface name is displayed!
Regards,
Abhishek.
Hi,
I have created data types and then created "normal" message types.
Now the test with an external tool:
XIServer:CO_TXT_OUTBINDING_ERROR:No standard agreement found for , BS_OS_NON_XX, , BS_OS_OSD_XXX, http://<namespace>, MI_OSRBG_BC_SOA_EXCEL_SYNC_OUT
But there is a receiver agreement available with this settings.
regards
Hi,
now the interface is running but I get another error in .NET.
"The header 'Diagnostic' from the namespace 'http://sap.com/xi/XI/Message/30' was not understood by the recipient of this message, causing the message to not be processed. This error typically indicates that the sender of this message has enabled a communication protocol that the receiver cannot process. Please ensure that the configuration of the client's binding is consistent with the service's binding. "
Any ideas?
regards
User | Count |
---|---|
84 | |
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.