cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming an Enterprise Service

Former Member
0 Kudos

Hallo@all,

first thank you for reading my thread.

The problem.: I want ton consume an Enterprise service but VIA PI. So i have done a Integration scenario between The Third party Apps and the ECC. In ECC i have made a service definition for the Inbound service that with SOAMANAGER i created an EndPoint. After Publishig in SR i could test it with WSnavigator and with SAP gui. But the Probelm i coudn´t see it in SXMB_MONI.

So i i make a Service Consumer "Proxy client " with logical port. I have only the URL of the ECC and the Prefix. How could I include PI in this scneario in order to see that the Msg succefully processed From 3rd Party app (Java based) to ECC.?

Thank you very much?

The Processing Mode is Synchronous.!

Thank you very much

Kind Regards

A.Labrache

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Hi ,

Do the following.

Create one Outbound Message Interface(Service Interface) with same structure as the inbound (Use the same wsdl) interface.

In the integration repositry, create a SOAP to SOAP scenario.

Then from the menu options, you can generate a WSDL out of Integration directory .

You can send messages from SOAP GUI using this URL that is generated. Then you can see the messages in SXMB_MONI

Regards,

Ravi

Former Member
0 Kudos

Thank you for the responce.

my Scenario is SOAP to SOAP. The sender Component ist a Third party App (based on Java). The Receiver is IS-U.

i generate also the WSDL through the Integration Directory. it has be processed Successfuly but without seeing it on SXMB_MONI. But in IS-U i can see the confirmation.

Thank you again

Regards

former_member181962
Active Contributor
0 Kudos

Hi Abdel,

OK. Can you check if you have done the settings in SXMB_ADM as described in this blog:

http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID1187761750DB10564584940197224725End...

Former Member
0 Kudos

Hallo Ravi,

All the specific Parameter for the the Integration Server are Ok. Should i maintain them also for the Local Integration Engine on ECC. I Think we don´t need that.

Thank.

Abdel

former_member181962
Active Contributor
0 Kudos

Hi Abdel,

Is your SOAP URL in this pattern when you are testing from SOAP UI tool?

http://<hostname of PI >:<port of PI>/ XISOAPAdapter/MessageServlet? channel=

<party>:<service>:<channel>

Regards,

Ravi

Answers (4)

Answers (4)

former_member183908
Active Contributor
0 Kudos

Hi Labrache,

--> You are consuming the web service using the PI.......so in ECC you created your enterprise service and published in your Service Registry(SR).

-->Where you are creating the Proxy object?

-->As per your scenario ECC is the service provider and you want to consume the service with some third party application.

-->we create the logical port and will be maintained in the client Proxy object to consume the service.

-->Please give some more inputs on this issue i will try to resolve this.

Thanks

Former Member
0 Kudos

Hallo kumar

I created the Consumer Proxy on IS-U related to the Server Proxy for the Enterprise Service. I created an Logical Port using SOA Mgt.

So In the NWDS i used only the EndPoint URL to get access to the End Point (on the ECC). It the same like SOAPGui.

I can give more Details if you want.

Thanks

Regards

former_member183908
Active Contributor
0 Kudos

Hi Labrache,

-->What i understood as per your scenarios is..............

-->See your source is an Java based application which is used to consume the web service using PI in between the java based application and the ECC system.

-->So you no need to create any logical port and the cliient proxy in the ECC system.If you are using the POINTTO POINT webservice we need to create the logical port and etc......

-->But as per your scenario configure the SOAP adapters on both sides and generate the WSDL file based on the source interface and in the receiver SOAP Adapter maintain the Target url and SOAP Action.These target url and action points to the ECC system.

-->lets discuss it until you resolve the issue.

Thanks

Former Member
0 Kudos

Hallo Pavan,

So i have to generate the WSDL in the Integartion Directory and i make my implementation in Java with this generated URL?

Thanks

Abdel

former_member183908
Active Contributor
0 Kudos

Hi Labrache,

-->Yes you are write import the WSDL file in to your project from local file system.

thanks

prasannakrishna_mynam
Contributor
0 Kudos

Hello Labrache,

My understanding from the previous posts you are implementing SOAP to SOAP scenario and you have created WSDL from OB interface of PI and using Java application as client. If it so follow these steps in order to consume the service with Java.

1. In your NWDS create a Web Service project File->New->Project->Web service

2. Then select Deployble Proxy Object

3.Select the name of the project and then New-> Client Proxy Definition, here it will ask you about the service and WSDL location details.

Here you have three options select the one you need, according to your requirement (eg:- from local system)

4. once you have gone through these steps buld and deploy the proxy (By bulding the EAR, when EAR is genarated you can deploy it)

Once you have deployed that you need to implement the client EJB Bean project with option Add Web Service Client API Library.

For further information search on SDN with key word "Providing and Consuming WebServices" in Article section. The document deals with your requirement. All the Best

Regards,

Prasanna

Former Member
0 Kudos

Hallo Pavan,

I did it, but when i have test it. I become this error now.

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context>XIAdapter</context>

<code>ADAPTER.JAVA_EXCEPTION</code>

<text>com.sap.aii.af.lib.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name, MessageServlet(Version $Id: //tc/xpi.adapters/NW711_00_REL/src/_soap_application_web_module/webm/api/com/sap/aii/adapter/soap/web/MessageServlet.java#3 $)

at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:458)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)

at com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:124)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:291)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)

at com.sap.engine.services.httpserver.chain.AbstractChai.....

Thank you for Help

Abdel

Former Member
0 Kudos

if you want to consume the webservice through PI you have to use receiver SOAP Adapter.

Former Member
0 Kudos

Hi Labrache,

go through this

http://www.sdn.sap.com/irj/scn/events?rid=/library/uuid/e03dde13-29dc-2b10-e5a4-9a52caea06af&overrid...

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

Edited by: Kubra fatima on Oct 16, 2009 11:40 AM

Former Member
0 Kudos

Hallo Kubra,

Thanks for your Responce. I have configured already the ECC as a Local Integration Engine and i made also the RFC destination. That not the Problem.

I want to add some thing.

With SOAPGui i can send the Request successfully to ECC but i can´t see it in SXMB_MONI.

Thanks again.

Regards

Former Member
0 Kudos

Hallo All,

is there please any help?

thank you?