URGENT!!! How to call Webservice which uses JKS from BusinessService
Hi
One of our webservice require a client certificate (.JKS) to stablish the connection
How/where to add the the following details to call business service?
org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.crypto.merlin.keystore.type=JKS
org.apache.ws.security.crypto.merlin.keystore.password=password
org.apache.ws.security.crypto.merlin.file=product-services-client.jks
Thank you
Edited by: user11310683 on 21/09/2011 17:18
Hi Anju
Thanks for your reply.
I have to use outbound security. My BussinesService --> product.jks -->ThirdPartyWebService. ThirdParty has provided product.jks to connect their webservice and its one way security.
In the following post you have mentioned to use Ploicy. Could you please let me know how to use product.jks in the Policy file?
OSB - outbound message level security (digital signature + security token)
No need of Service Key provider for using policy in Business Service. Only proxy services can use Service Key provider. Policies written to be used with Business Service has the certificate embedded in it.
How add product.jks to policy file?
I have to sign the message with providers public key (the certificate I am using is the self-signed certificate).
This is only for one-way(outbound) communication.
Any good sample project to play around on the security_
Thank you
Edited by: user11310683 on 25/09/2011 16:56
Edited by: user11310683 on 28/09/2011 17:59
Similar Messages
-
How to call webservice application using Browser
Hi Everybody,
Synchronous Scenario: Calling XI Server using WebServices( Sending the Customer no through Soap and from there the receiver adapter RFC is picking that no and it will send it to R/3 using BAPI and getting the Customer Details from R/3.
I followed the below two blogs and I created the complete scenario. And I deployed the ear file in WebAs in xi server.
Now the question is how to run this program using the browser. That is how to call.
Message Interface Name: CDWS_MI
Service Name : Soap_Service
Namespace : urn:xiwebservicesusingwebdynpro.com
Can you tell me how to call through the browser?
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3592---- [original link is broken] [original link is broken] [original link is broken] [original link is broken]
>1
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3593---- [original link is broken] [original link is broken] [original link is broken] [original link is broken]
>2
Advance thanks,
Abdullah Shaik.Hi,
It's not clear to me what you did. Have you exposed an XI Message Interface through a Web Service? Or have you developed a Web Service in the other way? What is the "ear" that you said? Is an webdynpro app? If it is, I think your question would be properly answered at WebDynpro forum
cheers!
roberti -
I have call the Webservice in flex2 successfully however
after I deploy EAR / WAR, an error occur:
MessageError message='Unknown destination 'Default HTTP'
Anyone can help?Following is how I call the webservice in mxml:
<mx:WebService id="wsBlogAggr" wsdl="
http://ip_address?WSDL"
useProxy="true" showBusyCursor="true">
<mx:operation name="getAllAccounts"
result="getAllAccountsInStringResult(event)"/>
<mx:operation name="removeAccount"
result="removeAccountResult(event)"/>
</mx:WebService>
private function UIComplete():void
wsBlogAggr.getAllAccountsInString.send();
private function
getAllAccountsInStringResult(ev:ResultEvent):void
// do sth
I think my code is right. As I can call the webservice in
flex2 server successfully, however, when i just open the generated
swf file, it already show me the error about
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend" faultDetail="Unable to load
WSDL. If currently online, please verify the URI and/or format of
the WSDL (
http://ip_address?WSDL)"
I verified that I can access to the wsdl url.
So, after I deploy the EAR / WAR, also display that error to
me. -
How to call webservices in business objects from java
hi everyone, i am having a scenerio were a program which is written in java, this java program will instantiate when i get the data into my database. the java program need to fire and pass the parameters to the webservices in the business objects to create a file depending upon the parameters which r passed by the java to webservices. how i need to cinfigure in business objects webservicess,to get what i am looking or what r the things i need
we r using xi 3.1 sp3, web application server tomcat.Hi,
case 1: for WDP, you can create the web service model via "Import Adaptive Web Service" or "Import Web Service Model (deprecated)" by supplying wsdl URL.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2bweb%2bservice
case 2: In ABAP, create a proxy object at trx code SE80.
http://help.sap.com/saphelp_nw04s/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/frameset.htm
Both cases are wizard-based. It's pretty intuitive.
- julius -
How to call webservices publish on PI from SAP BI ?
All,
We have few webservices published on SAP PI system. Please let me know the approach to call these webservices from SAP BI system
Regards,
ReddyHi,
Why do you require here Webservice,,,, If you want to communicate with XI From BI means
Just check these, no need to Expose XI Interfaces as Webservice
BI integration Using XI
XI-BI Integration
How tou2026Push Data into BW from XI
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/18dfe590-0201-0010-6b8b-d21dfa9929c9
How To u2026Push data from BI to XI (including receiver examples)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e698aa90-0201-0010-7982-b498e02af76b
http://****************/Tutorials/XI/BI/page1.htm
REgards
Seshagiri -
How to call html which holds JApplet from Jframe class
Any one got idea please go ahead...its very urgent for the project..Thanks in advance
Tulasi 1243 wrote:
Thanks It's working.
But, at the time of changing the first record only it working. how can we give for different records ?What do you mean by different records? is it different rows?
Then how are you going to handle the multiple rows data into one apex page item??
It seems like you have something like a manual tabular form?? why don't you use apex API's for that
The best way is to create a manual tabular form using apex api's and then process the data.
because in pl/sql am using cursor to display multiple data.What makes the column unique for each row in your case? for example APEX assigns a unique ID attribute for each input element -
How to call webservice using jdev9i
Hi gurus and experts,
i need to consume a webservice using oaf. with great effort finally i created stub using axis s/w.
now i dont know how to use the stub in jdev.where to write the code and what to write.iam strucked :-( .
since there were no sample tutorial about how to call webservice from jdev9i, iam struggling to make.iam jus a starter.
and while googling i came to know that stubs can be created using jdev9i .but when i see new-->webservices--web service stub it is greyed out.
i have 2 questions now:
1)if stub created using axis can it be used in jdev9i? if yes ,please tell me how? any tutorial links also helps me.
2)if the stubs should be created only by jdev9i so that webservices can be called using jdev,then please guide me how to make it.
i need some helping hands from u guys.
Thanks a lot
Edited by: 881533 on Oct 25, 2011 2:34 AM
Edited by: 881533 on Oct 25, 2011 2:37 AMHello sir,
i got following reply:
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Error_request</returnResult>
</returnRecordResponse>
but correct response is
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Success</returnResult>
</returnRecordResponse>
can you tell me correction in the code which i have put on the forum?or tell me other way to call webservice? -
How to call webservice using flex?
Hello,
i want to call webservice in flex.i tryied following code.but it is not giving correct response.what is wrong with this code?
can anybody tell me ,how to call webservice in flex?
Code:
<mx:Script>
<![CDATA[
public function button1_clickHandler(event):void
ws.returnRecord(para1,para2);//i am sending two parameter to returnRecord service here
public function remotingCFCHandler(event:ResultEvent):void
trace(event.result);
]]>
</mx:Script>
<mx:WebService
id="ws"
wsdl="http://localhost:8500/flexapp/returnusers.cfc?wsdl">
<mx:operation name="returnRecords" resultFormat="object"
fault="mx.controls.Alert.show(event.fault.faultString)"
result="remotingCFCHandler(event)"/>
<mx:Button label="Go" fontWeight="bold" click="button1_clickHandler(event)"/>Hello sir,
i got following reply:
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Error_request</returnResult>
</returnRecordResponse>
but correct response is
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Success</returnResult>
</returnRecordResponse>
can you tell me correction in the code which i have put on the forum?or tell me other way to call webservice? -
Hello,
i am trying to call webservice.i tryed following code for calling webservices via actionscript.it is givind the response.but it is not giving correct response.
is this correct way to call webservice?is there other way to call webservice?can anybody tell me,how to call webservice?
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”vertical” width=”420″ height=”380″ xmlns:net=”flash.net.*”>
<mx:Script><![CDATA[
import mx.rpc.soap.LoadEvent;
import mx.rpc.AbstractOperation;
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.soap.Operation;
import mx.rpc.soap.WebService;
private var serviceURL:String = "http://localhost:7080/icon-ws/services";
private var wsdlURL:String = "http://localhost:7080/icon-ws/bulkUpload.wsdl";
private function callWS():void {
var service:WebService = new WebService(serviceURL, serviceURL);
service.wsdl = wsdlURL;
service.loadWSDL();
var oper:Operation = service.getOperation("BulkUpload") as Operation;
oper.addEventListener("result", resultHandler);
oper.addEventListener("fault", faultHandler);
oper.send();
public function resultHandler(event:ResultEvent):void {
Alert.show("Result returned"+ event.result.toString());
public function faultHandler(event:FaultEvent):void {
Alert.show("fault: "+ event.toString());
]]></mx:Script>
<mx:Button id=”selectBut” label=”CALL webservice” click=”callWS()”/>
</mx:Application>sorry for my english. I expect you understand me...
I do that extended sp
Code Block
use atdb_main_test
Declare @Object as Int;
Declare @ResponseText as Varchar(8000);
DECLARE @login VARCHAR(50);
DECLARE @user_passwd VARCHAR(50)
Exec master..sp_OACreate 'MSXML2.XMLHTTP', @Object OUT;
Exec master..sp_OAMethod @Object, 'open', NULL, 'get', 'http://172.xx.xx.xx:wwww/account.asmx?op=CreateEquipementMacAddress', 'false'
EXEC master..sp_OASetProperty @Object, 'user_login', @login
EXEC master..sp_OASetProperty @Object, 'user_passwd', @user_passwd
EXEC master..sp_OASetProperty @Object, 'p_nb_poste', 1
EXEC master..sp_OASetProperty @Object, 'p_id_site', 91400
EXEC master..sp_OASetProperty @Object, 'p_id_type_poste', 83
EXEC master..sp_OASetProperty @Object, 'p_adresse_mac', null
EXEC master..sp_OASetProperty @Object, 'p_num_serie', null
EXEC master..sp_OASetProperty @Object, 'login', null
EXEC master..sp_OASetProperty @Object, 'passwd', null
EXEC master..sp_OASetProperty @Object, 'default_gateway', null
EXEC master..sp_OASetProperty @Object, 'ip', null
EXEC master..sp_OASetProperty @Object, 'bCreateIPPhone', 'false'
EXEC master..sp_OASetProperty @Object, 'vlanId', 0
Exec master..sp_OAMethod @Object, 'send'
Exec master..sp_OAMethod @Object, 'responseText', @ResponseText OUTPUT
Select @ResponseText as ResponseText
Exec master..sp_OADestroy @Object
I use a SQL server 2000 and don't do anything else.
But it doesn't work
I don't know what to do ...
the message is (1 row affected) but no tupple is written in my db...
can you help me please ? -
How to call webservices in visuval composure CE 7.1 server
Hi ,
How to call webservices in visuval composure CE 7.1 server (WSDL) , please send step by step process
Thanks & Regards,
SureshI have exactly the same problem.
Here is what I found out:
In the browser based VC you have to use the Destination Template Managemet from NWA. The destinations are found during design time and can be called during runtime.
The NWDS version seems to work differently. You cannot see the destinations you created in NWA. Instead there is a preferences setting (Destination configuration). Here you can define the destination using WSDLs.
This works during design time.
But during runtime the call throws an error like 'Destination not found'. To me, it seems like a bug.
Does anybody have an idea how to solve this?
Thanks,
Michael -
How to generate Webservices.xml using tool in Sun One App Server?
How to generate Webservices.xml using tool in Sun One App Server?
Hi,
The build.xml file should be in a directory from where
you are running the asant command.
To resolve the common.xml file not found error,
open your build.xml and check from which location the common.xml file is incuded.
In the sample application it is four directories above
the directory where build.xml is located.
You can copy the common.xml in the current directory and then change the following in your build.xml
<!ENTITY include SYSTEM "../../../../common.xml">
to <!ENTITY include SYSTEM "common.xml">
Hope this helps.
Get back in case you have more issues -
How to call web-service using only java code
Hello, how to call web-service using only java code. I can call it from BPM process or Web Dynpro Java Application, but if I need to call it from ejb component?
I'm found answer:
Java and SAP Portal blog: How to call web service from java code example -
Related documents or links on how to call webservices from WDJ
Hi all
i need documents & links on how to call webservices from Webdynpro for Java.
if anybody send the documents on sample scenarios on the same then it is the great help to me...
Thanks
SunilHi Sunil,
May these links help you.
http://help.sap.com/saphelp_nw04/helpdata/en/f7/f289c67c759a41b570890c62a03519/frameset.htm
http://help.sap.com/saphelp_nwce10/helpdata/en/64/0e0ffd314e44a593ec8b885a753d30/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/d2/0357425e060d53e10000000a155106/frameset.htm
and the below thread to call weservices in java.
Re: How to call a web service from Java
Regards,
Supraja -
How to call webservices in as3 (flash) and get its response
Hello
I need to know how to call webservices in flash cs5 as3 and how to track its response. any example ?
Thanks
Avneethttp://www.thetechlabs.com/tech-tutorials/xml/creating-a-as3-web-service-package-base-serv ice-class-and-simple-twitter-api/
-
How to call java method using jsp
how to call java method using jsp.....
anyone can help me.....i having problem here...coz i very new in java and jsp.....
thanks.....keep an eye on this person's thread...they have code there and everything.
http://forum.java.sun.com/thread.jspa?threadID=777263&tstart=0
Maybe you are looking for
-
Having updated firefox, it does not work. After an hour or so to try and open firefox, it says firefox has crashed and gives option to restart or quit. Same with internet explorer and chrome - no response. After about an hour, excel finally opened bu
-
Something is wrong with Parallel Gateways
Hello Oracle BPM Comunity, I am modeling and implementing bpmn process using Oracle BPM Suite 11.1.1.5. I have a process that, after the start event, splits the flow using a parallel gateway. The process splits in three ways, each one doing diferent
-
my ipad automatically shut down and now i lost al savings and in-app purchases the battery was on 50% what happened and can i get my purchases back
-
Can u add 3G to an iPad with only wi-fi?
I have an iPad with only wi-fi and was wondering if I can add cellular 3G to it ?
-
I have an iphone 3G (model MA712LL) i'd like to upgrade to a 4S. When i try and sync my 3 to itunes the phone shows up the main screen just shows white with the word "iPhone" in the center- no other options. The only choice i have is to eject. I'm ru