Adding authentication in header while consuming external webservice
Hi,
I am using oracle soa suite 11g, while consuming an external webservice i have to add authentication in header before sending request.
I want my header in request to look like this:
<soapenv:Header>
<urn:Authentication>
<urn:username>user1</urn:username>
<urn:password>pass1</urn:password>
</urn:Authentication>
</soapenv:Header>
if anyone has any idea then please share.
Regards
please look at this and see whether that helps you..
Re: Creating a partnerlink from a secure webservice
Similar Messages
-
Error while consuming external webservice URL in SAP
Hello every one,
I am getting below error in sap while consuming external web service URL .
HTTP error (return code 405, message "Method Not Allowed")
Can any one help me on this.
Thank You.
VijayHi Vijay,
Did you check if you are using full correct UURL. That happens with incorrect URL.
Thanks,
Ravi -
Problem while consuming external webservice
Hi,
I tried consuming webservice through se80->Enterprise Service->Service consumer.
For SAP webservices i am able to consume it. It is creating proper proxies.
But I tries it using with external WSDL url. It is saying error as
'Incorrect value: Unknown namespace http://www.w3.org/2001/XMLSchema'
Please help
Regards,
DhanaHi,
I have given this URL 'http://ws.cdyne.com/WeatherWS/Weather.asmx?WSDL'.
Now it is showing the following error
Exception occured in library handler.Not implemented.
Exception of class CX_SIDL_INTERNAL_ERROR
Please have a look into it
Regards,
Dhana -
No data retrieved while consuming external webservice in visual composer
Hi all,
I wrote a webservice, which returns some car data from a database.
The returned data looks like:
<?xml version="1.0" encoding="utf-8" ?>
- <ArrayOfCar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://IBM-W2003-EAI/GetCarList">
- <Car>
<CarID>B-276</CarID>
<CarBrand>BMW</CarBrand>
<CarModel>320i</CarModel>
<Kw>125</Kw>
<Ps>178</Ps>
<Km>12000</Km>
<Year>2001</Year>
<Price>23000,0000</Price>
<Url />
<Status>Available</Status>
</Car>
- <Car>
<CarID>B-984</CarID>
<CarBrand>BMW</CarBrand>
<CarModel>330d</CarModel>
<Kw>125</Kw>
<Ps>178</Ps>
<Km>121000</Km>
<Year>1997</Year>
<Price>13520,0000</Price>
<Url />
<Status>Available</Status>
</Car>
Unfortunately the data is not received, or displayed at all.
Are there any suggestions, how to solve this problem?
Thank you for your help.
Kind regards, Patrick.i found this link on SDN. If you have see this, then ignore my post..
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4094345f-341f-2b10-86a0-86a6309f1a0b -
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 -
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)". -
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 -
XML Parse problem consuming external webservice
Hi all,
I'm testing consuming an external webservice from a WAS 6.40 client. I generated an ABAP proxy for it .
I managed to get the correct soap request out and receiving the response, but while parsing the SOAP XML response back into the output parameter, I'm running into a parse error :
- <CX_XMS_SYSTEM_ERROR>
<ID>PARSE_APPLICATION_DATA</ID>
<P1>Response Message</P1>
<P2>CX_ST_MATCH_TYPE</P2>
<P3>/1SAI/TXS00000000000000000003</P3>
<P4>XML Bytepos.: 354 XML Path: root(1)ns1:checkValidSerialNumbersResponse(1)checkValidSerialNumbersReturn(1) Error Text: System expected a value for the type g</P4>
<INFO />
<CATEGORY>XIProxy</CATEGORY>
<AREA>ABAP</AREA>
<RETRY>M</RETRY>
</CX_XMS_SYSTEM_ERROR>
- <CX_XMS_SYSERR_PROXY>
<CO_AREA_ABAP>ABAP</CO_AREA_ABAP>
</CX_XMS_SYSERR_PROXY>
</cls:CX_XMS_SYSERR_PROXY>
- <cls:CX_ST_MATCH_TYPE id="o163">
The response parameter is defined as xsd:string ( and string in the generated ABAP structure ).
IF the byteposition is correct there would be a problem
with the '?' characeter being in the response.
What does the datatype 'g' mean ?
see also in the error message :
<ACTUAL_NAMESPACE />
<ACTUAL_VALUE />
</CX_ST_MATCH>
- <CX_ST_MATCH_TYPE>
<EXPECTED_TYPE>g</EXPECTED_TYPE>
</CX_ST_MATCH_TYPE>
Any ideas ? Using 2 other soap clients give no issue what soever...:(<wsdl:definitions targetNamespace="http://shareTax.DataExchange.NonLiveSchema.Web.Service/">
u2212
<wsdl:types>
u2212
<s:schema elementFormDefault="qualified" targetNamespace="http://shareTax.DataExchange.NonLiveSchema.Web.Service/">
u2212
<s:element name="processInputXML">
u2212
<s:complexType>
u2212
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="InputXML" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
u2212
<s:element name="processInputXMLResponse">
u2212
<s:complexType>
u2212
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="processInputXMLResult" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
u2212
<wsdl:message name="processInputXMLSoapIn">
<wsdl:part name="parameters" element="tns:processInputXML"/>
</wsdl:message>
u2212
<wsdl:message name="processInputXMLSoapOut">
<wsdl:part name="parameters" element="tns:processInputXMLResponse"/>
</wsdl:message>
u2212
<wsdl:portType name="NonLiveSchemaSoap">
u2212
<wsdl:operation name="processInputXML">
<wsdl:input message="tns:processInputXMLSoapIn"/>
<wsdl:output message="tns:processInputXMLSoapOut"/>
</wsdl:operation>
</wsdl:portType>
u2212
<wsdl:binding name="NonLiveSchemaSoap" type="tns:NonLiveSchemaSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
u2212
<wsdl:operation name="processInputXML">
<soap:operation soapAction="http://shareTax.DataExchange.NonLiveSchema.Web.Service/processInputXML" style="document"/>
u2212
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
u2212
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
u2212
<wsdl:binding name="NonLiveSchemaSoap12" type="tns:NonLiveSchemaSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
u2212
<wsdl:operation name="processInputXML">
<soap12:operation soapAction="http://shareTax.DataExchange.NonLiveSchema.Web.Service/processInputXML" style="document"/>
u2212
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
u2212
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
u2212
<wsdl:service name="NonLiveSchema">
u2212
<wsdl:port name="NonLiveSchemaSoap" binding="tns:NonLiveSchemaSoap">
<soap:address location="http://89.234.8.200:8085/shareTaxDataExchangeWebService/NonLiveSchema.asmx"/>
</wsdl:port>
u2212
<wsdl:port name="NonLiveSchemaSoap12" binding="tns:NonLiveSchemaSoap12">
<soap12:address location="http://89.234.8.200:8085/shareTaxDataExchangeWebService/NonLiveSchema.asmx"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
I am facing same problem.
This is WSDL. Could you please tell if anything is wrong in WSDL?
I am not aware of WSDL files. -
Getting exception while accessing External WebServices from Portal Componen
Hi,
We are using one external Temperature WebService and calling it from the proxy which is called by a Portal Component. My proxy name is TempService and portal component name is TempComponent.While calling the web service from portal component we are getting the exception. When I checked with log file, I got that invokeMethod() is failing and following exception is occuring :
Caused by: com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: IOError while working with the message. Check the nested Exception.
at com.sapportals.portal.prt.service.soap.SOAPService.call(SOAPService.java:197)
at com.sapportals.portal.prt.service.soap.PRTSOAPCall.invokeMethod(PRTSOAPCall.java:209)
at com.sap.portal.tutorial.translation.TempService.getTemp(TempService.java:158)
at com.sap.portal.tutorial.TempComponent.TempComponent.doContent(TempComponent.java:18)
Can some one help us to resolve it.
Thanks in advance,
ajayAs far as I know, webservices are working pretty well from SP2 Patch4. On patch3 hf2 I've had problems creating the proxy classes (especially for consuming .net webservices) and also gotten some runtime exception (cannot remember what they were).
Suggest you open an OSS against SAP with your specific problem. -
Error while consuming a webservice in nwds
Dear Users,
I m facing an error while consuming a wsdl webservice in webdynpro java error................
Error Mon Apr 20 16:53:29 IST 2009 Apr 20, 2009 4:53:29 PM com.sap.ide.webdynpro.ui.service.ServicesUI [Thread[ModalContext,5,main]] Error: Internal error
Plugin name: Web Dynpro Model Editor Services
Plugin ID : com.sap.ide.webdynpro.service.modeleditor
Class : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9
Method : doImportWebServiceModel
Message : Web Service model import failed
Exception : com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:416)
at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
-- caused by --
com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.generateInterfaces(InternalHelperFunctions.java:370)
at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:372)
at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Server redirected too many times (20) -> java.net.ProtocolException: Server redirected too many times (20)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
... 8 more
Caused by: java.net.ProtocolException: Server redirected too many times (20)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:823)
at java.net.URL.openStream(URL.java:913)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1025)
... 10 more
Please help me in solving his issue.
regards,
SathyaI have the same issue attempting to connect my application to this WSDL:
http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl
I can load the WSDL fine as an XML file. I can also load the WSDL fine if I connect via Firefox or a browser. I can open it fine in SoapUI. I just can't access it from my Java application.
2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext] Loading of definition failed for [http://uid:password-erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl]; java.net.ProtocolException: Server redirected too many times (20)
2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.SoapUI] An error occured [Server redirected too many times (20)], see error log for details
2009-10-26 18:11:45,943 ERROR [soapui.errorlog] java.net.ProtocolException: Server redirected too many times (20)
java.net.ProtocolException: Server redirected too many times (20)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
at java.lang.Thread.run(Unknown Source)
2009-10-26 18:11:45,943 ERROR [STDERR] java.net.ProtocolException: Server redirected too many times (20)
2009-10-26 18:11:45,943 ERROR [STDERR] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
2009-10-26 18:11:45,943 ERROR [STDERR] at java.net.URL.openStream(Unknown Source)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
2009-10-26 18:11:45,943 ERROR [STDERR] at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
2009-10-26 18:11:45,943 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
Any ideas?
Edited by: tburke on Oct 27, 2009 2:26 AM -
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. -
BPEL or OSB consume external webservices
Hello all ,
After I look over documentation and - Getting Started With Oracle SOA Suite 11g R1: A Hands-On Tutorial: Fast-Track Your SOA Adoption: Build a Service-Oriented Composite Application in Just Hours - still is not clear how can I consume a web-service hosted on other system - for example Websphere or SharePoint .
I had a example one web service register
<service name="DonateBeanService">
<port binding="tns:DonateBeanPortBinding" name="DonateBeanPort">
<soap:address location="http://localhost:8888/TestTopDown/services/DonateBeanPort"/>
</port>
</service>
on my WAS CEE server .
When I tried to made a business service in OSB - I imported the wsdl - create a new business service -add monitor capabilities but the call is not made to the service endpoint .
Also inside BPEL how can I invoke a external webservice .
Can anyone help me please with some points or advices ? What is wrong in the approach ? In the end OSB capabilities should allow me to integrate with other systems very easy .
Many thanks in advance for all .
And a HAPPY NEW YEAR .
Best regards,
Stefanhow can invoke from inside a BPEL the same service ? or in the BPEL is better to have only local web-services BPEL can also invoke the same service. To know more about BPEL, please refer -
http://www.oracle.com/technetwork/middleware/bpel/overview/index-088867.html
Post BPEL related questions in BPEL forum -
BPEL
And the last one - if I need to read information from a file and send parameters to this webservice - how I will do it on the OSB ?Create a messaging type/Any XML proxy service in OSB with FILE/FTP transport (as per your requirement). In message flow of proxy service you may use XQuery/XSLT/MFL to transform the content of the pulled file into the XML required for calling web-service. Use communication actions to call business service from proxy service message flow. You may like to refer -
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/toc.htm
Regards,
Anuj -
Consume external WebService inside BW
Hi,
does anybody know how to consume an external webservice inside BW ?
Thanks,
MaxYou have two options:
1. Make use of XI.
2. Use the XML interface in BW.
refer:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/21d8aa90-0201-0010-5e83-a3798b9a5ee0
this document shows u to transfer XML data to BW.
If you are on BI7 then create a RDA XML datasource and integrate your web service to that:
/people/kamaljeet.kharbanda/blog/2006/11/13/real-time-data-acquisition-bi2004s
Maybe you are looking for
-
Firefox prints only every other page on a bulk print run, why?
I use Firefox to bulk print Ebay invoices. It's been just fine for years. But 2 days ago it started printing just every other page in full. Intervening pages had only the top 20% printed (headers and footers are set to blank), and it prints one extra
-
How to pass dat to BAPI_ACC_DOCUMENT_POST
hi, i'm working with BAPI_ACC_DOCUMENT_POST.in my program i need to adjust the account document ...so i pass the document number in the document header of import parameters...and i need to pass the credit and debit data in the accountgl table..here
-
Iam unable to restore backup after updating ios
Hello friends iam unable to restore backup after updating ios to 6.1.3.plz help me how to restore backup iphone 4
-
기존 ELEMENT에 INPUT VALUE를 추가하는 방법
제품 : HR_PER 작성날짜 : 2005-11-23 기존 ELEMENT에 INPUT VALUE를 추가하는 방법 ================================ Explanation 기존 Element에 Input Value를 하나 더 생성해서 DB Item으로 값을 읽고 싶은데 Input Value추가가 안되네요. 어떻게 추가하는 방법이 없을까요? ### Steps to Reproduce ### HRMS Manager > 보상합계
-
HP HDX 16 graphics card upgrade?
Hi, I was wondering if it is possible to upgrade or replace my laptop's graphics card. I know that most laptops have their GPU integrated into their motherboard, but I since this is supposed to be a high performance/customized laptop I thought that