cancel
Showing results for 
Search instead for 
Did you mean: 

Invoking XI web service within GP process

Former Member
0 Kudos

Hi,

I have tried to setup a guided procedures process which consists among other things of the invocation of a XI web serivce. (I'm using XI 3.0 and the GP Version which comes with SP8).

Since the request of a XI web services needs authentication, I have to define a logical destination for that web service, haven't I? Or is there another (easier) possibility?

Regards,

Marc

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

easier way to consume web service from GP with or without authentication or easier way that doesn't involve LP definition for web service in XI?

the web service consumption from GP to XI needs to provide authentication because of XI. when you configure the web service callable object in GP provide the xi wsdl and in the GP Administration tab provide username and password in the definition of the XI web service endpoint.

I'm not sure why you need to define a Logical Destination in XI for. XI is the service provider and my understanding is logical destination in abap stack is needed when you're the service consumer.

Answers (1)

Answers (1)

Austin
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Mark,

Since your web service requires authentication, you will have to set up a logical destination using the J2EE Visual Administrator. To do this, go to: Services->Web Services Security->Security Configuration->Web Service Clients->sap.com->DynamicWSProxies and then choose the "create" button. This logical destination will then show up in the GP Create web service callable object drop down for logical destinations.

Regards,

Austin.

Former Member
0 Kudos

Hi Andre,

Hi Austin,

thank you for your fast response. Since I had a training course the last days, my answer comes a bit late. I've tried to implement your suggestions, unfortunately without success so far.

@Andre: Since I need a logical destination for my web service, it doesn't help me to define an endpoint. Or can you select your defined endpoint in the logical destination input field?

@Austin: I have presumed that defining the LD with visual admin tool is the only way. Unfortunately I couldn't setup my LD with that tool. Where is the WSIL-file located? I thought it's on the application server where XI is running. Unfortunately I get an error like "can't find the requested ressource". And when I replace my XI-host with GP-host in the url I get the following error:

Original locale is invalid

com.sap.caf.eu.gp.base.exception.InvocationException: Original locale is invalid

at com.sap.caf.eu.gp.model.devobj.impl.DevelopmentObjectManager.getDevelopmentObjectList(DevelopmentObjectManager.java:1379)

at com.sap.caf.eu.gp.model.gpws.gpmng.impl.GPWSManager.getDevObjectWSDLURLs(GPWSManager.java:314)

at com.sap.caf.eu.gp.model.gpws.GPProcessDiscoveryWSIL.doGet(GPProcessDiscoveryWSIL.java:62)

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

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

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

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

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

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

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Do you have any ideas what I'm doing wrong?

Regards and thank you for help so far,

Marc

Former Member
0 Kudos

Hello Marc,

i am not sure if this will help you, but i had the same error message (original locale is invalid) when apply german as a default language for callable objects, actions... This is a know issue and can be solved by choosing english as language for your objects/actions...

There is also a patch, but unfortunately i have no idea where to find it.

regards,

Rene