on 10-10-2012 1:39 PM
Hi Experts,
I am doing an Web service(SOAP) -->PI-->ABAP proxy Interface.(Synchronous Communication)
Completed Designing ,configuration , generated abap proxy in ecc and created WSDL file from sender Agreement in PI.
Testing WSDL file from SOAPUI test tool by creating an project and copying the URL
(http://host:50000/dir/wsdl?p=1_ec75cd9c5e5f319f932fac8cc8df608f_portTypeBindingService) , and promoting for username and pwd.
and even I have given User pwd at left side of panel.
When I test the I am getting an below error at right side panel.
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
<text>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIProxy:INTERFACE_REGISTRATION_ERROR:
at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:955)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
Search lot of SDN blogs, no helpful solution.
Can anyone help me solving this problem.
Thanks in advance.
Hi,
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
This part of your error message is very strange. Usually interface_registration_error comes in context with proxies. Did you call a java proxy??
Can you send screenshot of both channels, sender and receiver channel?
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>Earlier it was XI3.0 and change it to XI2.0.
It should be XI 3.0
You message shows that no implementing class registered for the interface ... That means make sure that proxy is regenerated based on the latest your service inbound interface. Make sure your proxy and implemented logic matches.
Hi Baskar,
I tried with XI 3.0, and regenerated proxy with changing description, still getting same error :
Hi Ahmed,
Have you checked if configuration of the business system is correct? In SXMB_ADM->Integration Engine configurtion, the role of the business system should be Application System? Also check in SLD to see if everything looks good. You can also run SLDCHECK and ensure all the checks are good.
Hi Ahmed,
Please also try the following tests:
- Test the Abap Proxy on it's own using TCode SPROXY & the payload of your message.
- Test configuration from Integration Directory --> Sender Agreement & use payload
- Test it from Runtime Workbench using the payload.
Something is confusing me with your proxies that have been generated...I think the problem is with the way you have define your Service Interface in the ESR. you mentioned that it was a synchronous scenario but you have 2 proxies for request & response. You should only have one proxy with both the request & response structures in it. Maybe you can do a screen dump of your Inbound Service Interface?
EDIT: P.s. screen dump the outbound service interface too please.
Regards, Trevor
Hi Syed,
If you have changed anything in Data Type after generating proxy, you need to regenerate the proxy once again.
If after regenerating it doesn't work, try to recreate business system at R3 in SLD and test it.
Regards
Aashish Sinha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Completed Designing ,configuration , generated abap proxy in ecc and created WSDL file from sender Agreement in PI.
Sounds good.
Testing WSDL file from SOAPUI test tool by creating an project and copying the URL
(http://host:50000/dir/wsdl?p=1_ec75cd9c5e5f319f932fac8cc8df608f_portTypeBindingService) , and promoting for username and pwd.
What? I think you created a wrong url. It should be like:
http://<PI host>:<port>/XISOAPAdapter/MessageServlet?channel=:<sender business system>:<soap sender channel>
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi UDO,
I am using PI 7.1, as we have an option to create an WSDL file form sender agreement with out giving
http://<PI host>:<port>/XISOAPAdapter/MessageServlet?channel=:<sender business system>:<soap sender channel> the said URL.
In this way I have created WSDL : PI-->ID-->Tool-->Sender Agreement-->Display WSDl-->
I have copied the above URL and pasted in SOAPUI.
Thanks.
Hi UDO,
Thanks for your interest and quick reply,
Below 2 endpoint are displaying :
http://host:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=BS_xyz_Legacy&receiverPart...; When I run with this URL I am getting Error in SOAPUI as :
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
<text>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIProxy:INTERFACE_REGISTRATION_ERROR:
at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:955)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
https://host:443/XISOAPAdapter/MessageServlet?senderParty=&senderService=BS_Adventis_Legacy&receiver...; When I run with this URL I am getting
Thanks for your feedback.
The problem might be due to following reasons
PI side you might have completed the task. At ecc side make sure proxy is regenerated correctly and then the implementation coding logic for the proxy might have not finished yet. So you get interface registration error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Baskar,
Thanks for quick reply.
At ECC side Proxy are generated without any errors and Issue. All are in green color my interface's.
I check with abper and I am getting proper sample response when we test the proxy code from test tool of sproxy.
Steps are : ECC-->sproxy-->double click the service interface-->Test(f8)-->Execute-->F8.
Thanks
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
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.