Consuming XI WebService in EJB
Hi,
I want to consume a XI webService , for that I have created the client proxy from the WSDL file. I have created the EJB project to consume the XI webService but when I right click on the EJB project the "Add client web Service API Library"
option in the context menu is not enabled which i have to use. I am not getting why it is happening?
It will be great if anyone can guide me regarding this.
Thanks,
Samir
Hi,
You have to create your WS proxy of type "Deployable Proxy" to use this functionality.
Regrads,
daniel
Similar Messages
-
Error while calling PI webservice from EJB
Hi Experts,
We are getting exception while calling PI webservice from EJB which is deployed in CE 7.2. Earlier we used to call the same webservice but from different PI system at that it worked fine. Now we have changed the consumer proxies required in CE and tried to call from CE and it is throwing error. We have checked usernames and passwords that we are using to call the service and that is working fine. PI team tested from their side and li is also fine. We have also restarted the CE system but invain. Can somebody help on this. The below is the trace that we got.
Location: com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding
Text: Connection IO Exception. Check nested exception for details. (Connection reset).
[EXCEPTION]
com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection reset).
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.outputSOAPMessage(SOAPTransportBinding.java:419)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1364)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:990)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:944)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
at $Proxy780.mioaRDMDataDistribution(Unknown Source)
at com.MDMEventListener.callToPIWS(MDMEventListener.java:100)
at com.MDMEventListener.ListenerMethod(MDMEventListener.java:173)
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:597)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_WS.invoke(Interceptors_WS.java:31)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:39)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:23)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:203)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:730)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:682)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:324)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:199)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:65)
at com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:404)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:204)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:440)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:429)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:82)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:268)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:54)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:447)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:264)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:950)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:414)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getResponseCode(HTTPSocket.java:319)
at com.sap.engine.services.webservices.espbase.client.bindings.ClientHTTPTransport.getResponseCode(ClientHTTPTransport.java:209)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.outputSOAPMessage(SOAPTransportBinding.java:385)
... 78 more
Regards,
PradeepHi Pradeep,
this looks like if the server is not reachable. Have you checked if both server are able to communicate? Maybe firewall rules block the request.
Regards,
Tobias -
Consume Web Service in EJB Application
Hi Experts,
I have EJB Application with some Java Classes.My Requirement is to Consume Web Service in EJB Application.
I am new to EJB Application.Please share if have any ideas regarding the same.
Thanks & Regards,
SatheshKumar RHi Vijay,
Thanks for the Reply.
Please provide the JAR Files i need to add.
I had tried to consume the web service by using the java class in Java Project ie EJB.
After creating the Project i will import the WSDL file in that Project and create the Client Application.
The Request and Response java class is created by importing the WSDL file.
The Client Java Class is created to access the Request and Response objects.
After this Main class is created and I have run the application to execute the Client Java Class. During this time its shows some error.
The Error Message are:
Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/interfaces/sca/logtrace/CallEntry$TraceLevel
at com.sap.engine.services.webservices.espbase.client.bindings.ConfigurationUtil.getTransportBinding(ConfigurationUtil.java:249)
at com.sap.engine.services.webservices.espbase.client.bindings.ConfigurationUtil.createClientConfiguration(ConfigurationUtil.java:109)
at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.createClientConfigurationContext(InterfaceMetadata.java:178)
at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.getProxy(InterfaceMetadata.java:70)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.getPort(SAPServiceDelegate.java:258)
at javax.xml.ws.Service.getPort(Service.java:92)
at com.sap.tutorial.testwebser1ejb.TestAddService.getTestAddPort(TestAddService.java:38)
at com.sap.tutorial.testwebser1ejb.TestAddClient.testAdd(TestAddClient.java:12)
at com.sap.tutorial.testwebser1ejb.MainClass.main(MainClass.java:12)
Caused by: java.lang.ClassNotFoundException: com.sap.engine.interfaces.sca.logtrace.CallEntry$TraceLevel
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 9 more
Thanks & Regards,
SatheshKumar R -
Consuming a webservice in ABAP ECC 6.0 without using XI/ PI
Hi Experts,
I wanted to consume an external webservice without using XI / PI.After doing my homework and search on sdn I came to know that we can consume webservices in ABAP using proxies using SE80(Enterprise Services).
I am trying to create a client proxy with the URL of webservice.It asks me the option to choose between URL or HTTP.
I am selecting URL and in the second screen it asks about the package details and after that it finishes.Later I get an error message stating "NO VENDOR SPECIFIED".Its not allowing me to create a proxy.
So, here are my questions.
Does anyone faced the same kind of problem?
Can we really consume a webservice without using XI / PI or any other middleware?
Is it possible to consume the webservice only with URL or WSDL file ?
Please let me know the exact process.
Thanks in Advance.
Shanker Pandey.Hi Martin,
Please check these following links. Though you have reported already, these may help
Proxy Object generation error using Wizard for Web Service Consumption
Also, please have a look @ /people/thomas.jung/blog/2006/03/13/develop-a-web-service-that-sends-an-email--in-abap-netweaver-04s
Hope this helps,
Karthik -
Getting error while consuming google webservice in jspDynpage
Hi All,
I am consuming google webservices in my JspDyn page
i am getting following error
An exception occurred while processing a request for :
iView : GoogleSer.google
Component Name : GoogleSer.google
Could not find portal application <b>com.company.global.enterprise.portal.wsdl.webservices.service.</b>
Please help me to resolve this issue
code ::
MyGoogle googleService =
(MyGoogle) PortalRuntime.getRuntimeResources().getService("com.company.global.enterprise.portal.wsdl.webservices.service.MyGoogle");
GoogleSearchResult result = googleService.doGoogleSearch("google", "SAP", 0, 10, false, "", false, "", "", "");
Thanks & Regards
RudraHi,
I am still having the same problem, however the scenario in which I am getting varies.
I am getting this exception:
"com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: IOError while working with the message."
Some users when trying to login into the portal are getting blank screen and for some the portal launcher page is loading fine and could go to the Home Page.
When I view the logs I am seeing the Nested Soap Exception.
Any Ideas??? Starting the J2EE engine also did'nt help.
Thanks in advance.
Madhavi -
Error While Consuming the webservice in ABAP
Hi,
I am trying to consume a webservice in ECC. I have imported the WSDL and generated the proxy. Did the configuration in the SOAMANAGER. While calling the webservice from the program I am getting the following error message. "SRT: Unsupported xstream found: ("HTTP Code 400 : Bad Request")"
Any help is appreciated.
Thanks
Raghavendra KuamrHi,
Check ST11 to find detailed log of issue, most likely you are passing "WS-A" message id along with request (check settings in SOAMANAGER Logical Port).
Try calling service after suppressing "Message Id transfer". See SAP Note: 1361688 and related notes in 0001292171
Regards,
Gourav
PS: please search forum before posting questions. -
While Consuming a WebService in JSP Dyn Page - There is an Error
Hi Friends,
I have a web service created in ASP.NET web Service.
And I have Consumed the Web Service using WSDL URL.
I need to write a code to refer that class in the JSP DynPage
I have created like this in DoIntialization
MyServiceName obj=(MyServiceName) PortalRuntime.getRuntimeResources().getService(MyServiceName.KEY);
int a = 10;
int b = 20;
obj.Add1(a,b);
but it shows an error
"The method Add1 Method(Add1 Method) is the type. MySErviceName is not Applicable for the arguements(int,int)"
Please Help me in this regard.
Thanks in Advance
Thanks & Regards,
PalaniHi Andy,
I will let u know the sequence which i followed to consume the Webservice.
NWDS --> File --> New --> Project --> Portal Application --> Create New Portal App Project.
The Project is created.....
After that i want to consume the Webservice for the same project...
for that...
NWDS --> File --> New --> Other --> Portal Application --> Create New Portal Application Object --> Selecting My Project?(intended prjct) --> Portal Webservice --> Portal Service from WSDL file - Client Side --> My WSDL URL --> Selecting the methods which i need to expose from the Webservice --> I gave unique name for my 1) Service 2) Alias 3) Package....and that was done....(other way is to add from portalapp.xml ??)
After that i created a new JSPDyn page for my application in DoInitialization() method i tried to access the method from that webservice using the following code...
MyServiceName obj=(MyServiceName) PortalRuntime.getRuntimeResources().getService(MyServiceName.KEY);
I am successfully able to access the method from the webservice using the object which i have created but i am not able to pass arguments to that method...???
I tried consuming same webservice created in .NET in .NET itself and i am able to pass arguments successfully.
I tried to consume webservice created in ABAP in .NET and able to implement successfully...
but the same ABAP webservice when i tried to consume its not working with this NWDS.
Is there any thing else i need to follow while consuming a webservice in the EP Perspectice of NWDS ???
Deployable Proxy is required for that ?? if required how to create and use that ??
Thanks in Advance,
Palani -
What settings are reqd. for consuming a webservice in 6.2 - Other questions
Hi,
I have been following the below mentioned blog to create a program to consume a webservice.I am currently on Enterprise version(4.7), release 6.2.
I get a communication_failure(sy-subrc = 1) when using "METHOD http_client->receive".Please let me know if you have any solutions.(The code of the program is in the blog..link mentioned below)
Could the group provide solutions to the following in relation to blog mentioned below:
Webservice consuming using ABAP in 6.2
/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
- What Proxy settings are required to be performed,
where can we perform the same
- What is the information required to fill the user id
and passwords for ? - Are the credentials for the
webservice we are calling or for the proxy
(correct me if i am wrong)
- How can we fill the fields Proxy and port, how do they
play a role.
Thank youHi,
As reply to his blog DuraiRaj Athavan Raja has provided the following information.Thank you Raja.
http_client->receive - Communication failure obtained
2006-07-18 22:29:04 Durairaj Athavan Raja [Reply]
do you connect to internet via proxy? if yes you have to either code proxy authentication or simply maintain it in transaction SICF.
go to
SICF->client->proxy settings
go to http_log tab
host name: proxyhost.domain.com
port: <portno>
user - > proxy user id
pwd -> proxy pwd and save it .
and this setting is per client , so you have to do that for all clients.
Regards
Raja
I am working on getting the proxy settings completed and will update the post when i am through with all the findings. -
Need to consume Beehive webservices but can't figure out the best way
Hi
I'm completely new to the Beehive scene and I've been commissioned to write a sample application that consumes Beehive Webservices, just add a File to a certain workspace and be able to authenticate users via SSO and basic Authentication to a local DB. Initially I was told that Beehive had only support for REST webservices, so I thought it might be just easier to just go with REST, do a simple POST/GET request and get results, however I'm having a hard time running the sample code as a class is missing.
However I just found that Beehive also has support for SOAP webservices (I somehow like them more as I'm more used to them) but same problem, I don't know how would I authenticate, I found were the WDSL are stored and everything but I just don't understand how would I make a user authenticate with SSO or any other method
Finalyl there's this BPEL workflow for jDeveloper and JCR API.
I just don't know where or how to start, tutorials are oracle.com assume too many things, I was thinking in creating proxy classes using the Beehive WSDL's and consume the services this way, however I still don't understand how to authenticate.
Can anyone give me directions on this? How to use Beehive's SSO and Basic Authentication? thanks in advanceHi,
Regarding the basic http authentication, an answer was provided in your other post:
Authentication with SOAP API
And regarding the missing class in the Rest sample code. I'm currently taking a look at it and, hopefully, I will get you an update on this in the following post:
Failure Class not bundled with BDK Samples
Regards,
Ward -
Consume a WebService that exists in SAP ECC 6.0
Hello evrybody,
I have a requirement that I've never done before, I have a webservice in transaction WSADMIN in a SAP ECC 6.0, and I need to consume it from PI but I don't know how, I've worked before with BAPI's and ABAP Proxies but never with WebServcies like this, do you know any documentation or maybe a blog on how to do this?, thanks in advance.
Regards,
KarlaThanks for your answers, I've used ABAP Proxies before, but in the way of generating an ABAP Proxy of a Inbound or Outbound interface from the IR, now I need to consume a WebService already created in SAP ECC 6.0, and I've never donde this before, I'm trying to understand that using SOAP Adapter I should get the WSDL File of the webservice and upload as an External Definition in the IR, but where could I get the URL to consume the webservice that exists in SAP ECC 6.0, thanks.
-
Consuming external webservice in webdynpro
Hi colleagues
I am trying to consume a webservice "BORM_API_A1S_GET_UPD_SW_VECTOR" in webdynpro, it is an external webservice
i have followed the below steps and ended up with an error
Steps:
1) created a Adaptive web service model
2) got the WSDL source from "Remotelocation/fileSystem"
3) given the WSDL URL Acess as "e:///C:\Documents and Settings\Desktop\BORM_API_A1S_GET_UPD_SW_VECTOR.wsdl"
4) created a service group
5) then i have done the " model to controller" binding and "controller to view" binding
6) in the INIT method of controller i have creted the instance of the model and binded it to the context element
7) set some some values in the init methiod(for input parameters)
8) designed a view to get the values that are set into the input parameters
9) Configured the service group
i am getting an error saying
"*java.io.IOException: Cannot connect to https://service.sap.com:443/sap/bc/bsp/spn/swdc/slm/accessctrl.do, used user to connect: S0004119795, message : Unable to connect to service.sap.com:443 - service.sap.com*"
I think i am doing wrong service confuguration
steps i have followed to Configure the service group are given below
1) logged into http://ldcidwd.wdf.sap.corp:50000/nwa
2) SOA management-->technical information --> system connections
here i have selected the provider systems tab, and created a new provider system of system type "Java"
Here i need to provide someother information which i am not sure about what to provide, Could any one let me know what to be provided for the other fields
u2022 System Type: Java
u2022 System Name: <System ID> ?( what is this)
u2022 Host: <Host>?
u2022 System Description: My Web Service System
u2022 Username: <Administrator>?
u2022 Password: <Password for Administrator>?
u2022 Profile Name: SAP_DEFAULT_PROFILE
u2022 Mode: Multiple Services
u2022 Services Source: WSIL
u2022 WSIL URL: ?(what should be provided here
u2022 Socket Timeout: 60.000
Please let me know what shall i fill in this fields
Thanks & Regards
SwethaHi Gayathri,
i have opened the WSDL file and i found there are two URLS
1) "<soap:operation
soapAction="http://www.sap.com/BORM_API_A1S_GET_UPD_SW_VECTOR" />"
2)<soap:address
location="http://pwdf4431.wdf.sap.corp:1080/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/bosf_swdc_slm/accessctrl.do" />
i have tried pasting the address URL ina n other IE and i was asked for Authentication
Thanks & Regards
Swetha -
Consuming external webservice in an automated activity
hi,
i am consuming a bapi based webservice in an automated activity. i have checked this in wsnavigator using WSDL, it is working fine. when i consume this in my process dc , it asks me to create aService group. i have created one and now deployed dc to server. it doesn't work and in log error it shows that thsi service group is not assigned to any physical system.
now i tried to create a business scenario communication, for this i created provider systems (it was created and pinged sucessfully, showed all the web services lying in its service registry). when i was creating business scenario, under first step credentials of service group and provider systems are provided. unser second step when i tried to add the services it didn't showed the services which it showed me while i pinged.
please tell me how to sucessfully consume an external web service (bapi based).This is lying on SR but when i tried to access it through single service administration, it was not there. please guide me how can i sucessfully consume this webservice (using service group or logical destination).
Thanks In Advance.Hi Rohit,
try with Application Communication Configuration instead of Business Scenario (should be easier for single service). Make sure you have entered the correct credentials for the backend system (both for metadata retrieval and for runtime invocation).
Instead of Service Registry you can also try with WSIL when creating the provider system. The WSIL URL for the ABAP system should look like this: http://host:port/sap/bc/srt/wsil.
Please also check the SOA config guide by Alexander Zubev:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40dabb46-dd66-2b10-1a9a-81aa620098b3
Hope this helps,
Christian
Edited by: Christian Loos on Dec 29, 2009 10:28 AM -
Consuming XI webservice in Dot net application.
I have created a Xi webservice and hosted it on a server.Now I want to consume this webservice in a dot net application. But while consuming it I get a binding error from the webservice.Does anyone has a solution fron this. Do I have to do some XI settings while creating web service.
have you used the WSDL created in XI - u can find it from http://<server>:<port>/wsnavigator/enterwsdl.html
Also use the link in soap:address location for your test purposes.
If proxy is involved in your network you will have to consider tht too and finally u sud use a XI user id to connect. -
Consuming external webservice in SAP
Hi All,
Wjile Consuming external webservice that is .NET webservice in SAP I am getting the error "Proxy generation terminated: WSDL
(<extension> not supported)". Please can anyoone tell me what would be the issue and how should I resolve it.
Thanks in Advance,
Meenu.The SAP version that we are using is ECC 5.0. And the URL that they have given me to consume has some .svc extension.
http://ctnhgesappdev.corp.timken.com/GES_EDISService/EDISService.svc?wsdl
So when I am trying to consume this in SAP I am getting the error "Proxy generation Terminated : WSDL error : (<extension> not supported)". -
Getting error in consuming google webservices from JspDynPage
Hi All,
Getting following error while consuming google webservices from JspDynPage
An exception occurred while processing a request for :
iView : GoogleSer.google
Component Name : GoogleSer.google
Could not find portal application com.company.global.enterprise.portal.wsdl.webservices.service.
Code :
MyGoogle googleService =
(MyGoogle) PortalRuntime.getRuntimeResources().getService("com.company.global.enterprise.portal.wsdl.webservices.service.MyGoogle");
GoogleSearchResult result = googleService.doGoogleSearch("google", "SAP", 0, 10, false, "", false, "", "", "");
ResultElement[] results = result.getResultElements();
if(results != null) {
response.write("<br> Search Result Size " +results.length );
for (int i = 0; i < results.length; i++) {
response.write((i + 1) + ": " + results);
Thanks
RudraHi,
I am still having the same problem, however the scenario in which I am getting varies.
I am getting this exception:
"com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: IOError while working with the message."
Some users when trying to login into the portal are getting blank screen and for some the portal launcher page is loading fine and could go to the Home Page.
When I view the logs I am seeing the Nested Soap Exception.
Any Ideas??? Starting the J2EE engine also did'nt help.
Thanks in advance.
Madhavi
Maybe you are looking for
-
Cannot sort photos in slideshow
When creating a slideshow it seem not to work as expected: 1) I cannot sort the photos as I want. When I drag and move a photo it reorders everything in a for me rabdom way and nothing is in the place I expected it to be. 2) I cannot edit text in the
-
In-Place Migration for a Two Node Cluster
Hi Just after some advice. I am working with a 2 node failover cluster with shared storage (SAN) and have several VM's running. Currently running on the nodes is Server 2008 R2 and they need to be upgraded to Server 2012 so I can take advantage of Hy
-
Mail - how do I prevent group expansion
Hello, it appears that the current version of Mail (Mavericks) always expands groups of recipients, even if the "When sending to a group, show all member addresses" checkbox is UNchecked in the Preferences. This option worked fine in my previous vers
-
Passing User enterd Data across Modules
Hi please suggest me some design pattern for the req..... Its a graphics application where user action like moseClick , mouseDragged events are captured and One Bean Class MouseData is populated. Now differnt totally differnt components wants to use
-
Can I upload images that are not photos?
Alright, so to start off I am new to macs. I want to make a website for a project I am currently working on and I want to include on a few of my pages some .jpg/.gif files that are not photos. I have tried looking through everywhere to figure out how