Confirming method to secure web services through oracle web service manager

Hi All,
I am just wondering about the method to secure web service through oracle web service manager.
I have a unsecure web service "helloworld" which is deployed on JWSDP1.6 toolkit.I want to secure it through oracle web service manager.
Inorder to secure this unsecure web service,I use gateway(web service manager for securing web service using message level security through certificate).
So when client want to access the helloworld service,it contacts the gateway securely and gateway intern connect to original web service after decrypting and verification of the signature.When gateway gets response from the web service,it signs the response message and then encrypt and passs on to the client.
So my question is,is it the right way to secure web service?
As I am getting the following fault exception :
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode "http://schemas.oblix.com/ws/2003/08/Faults">c</faultcode>
<faultstring>Step execution failed with an exception
</faultstring>
<detail></detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I checked the log at :
C:\coresv_install_home\external\oc4j-10.1.2.0.0\j2ee\home\log\http-web-access
but there is no helpful information available.Thanks for any help.
Kash

Hi Rajesh,
Thanks for your reply.I am using the following policy steps:
1)for Request (Decrypt and Verify signature).
2)for Response(Sign Message and Encrypt).
The configuration for Request is shown below:
Pipeline "Request"
Pipeline Steps:
Start Pipeline
Log
Decrypt and Verify Signature
Basic Properties Type Default Value
Enabled (*) boolean true true
XML Decryption Properties Type Default Value
Decryptor''s keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-keystore.jks
Decrypt Keystore Type (*) string jks jks
Decryptor''s keystore password string *******
Decryptor''s private-key alias (*) string s1as
Decryptor''s private-key password string *******
Enforce Encryption (*) boolean true true
XML Signature Verification Properties Type Default Value
Verifying Keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-truststore.jks
Verifying Keystore type (*) string jks jks
Verifying Keystore password string *******
Signer''s public-key alias (*) string xws-security-client
Enforce Signing (*) boolean true true
End Pipeline
And the configuration for Response is shown below:
Pipeline "Response"
Pipeline Steps:
Start Pipeline
Log
Sign Message and Encrypt
Basic Properties Type Default Value
Enabled (*) boolean true true
Signing Properties Type Default Value
Signing Keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-keystore.jks
Signing Keystore Type (*) string jks jks
Signing Keystore password string *******
Signer''s private-key alias (*) string s1as
Signer''s private-key password string *******
Signed Content (*) string BODY BODY
Sign XPATH Expression string
Sign XML Namespace string[]
Encryption Properties Type Default Value
Encryption Keystore location (*) string C:\Sun\jwsdp-2.0\xws-security\etc\server-truststore.jks
Encrypt Keystore Type (*) string jks jks
Encryption Keystore password string *******
Decryptor''s public-key alias (*) string xws-security-client
Encrypted Content (*) string BODY BODY
Encrypt XPATH Expression string
Encrypt XML Namespace string[]
End Pipeline
I checked the log again but nothing useful there,it is just giving the following values:
2006-08-14 16:32:50,372 INFO [Thread-21] mstore.OLiteMStore - SELECT MEASUREMENT_STR FROM MEASUREMENT_PERSISTED_STORE WHERE ID=? FOR UPDATE
2006-08-14 16:34:50,364 INFO [Thread-16] mstore.OLiteMStore - INSERT INTO MEASUREMENT_PERSISTED_STORE (ID,DEF_ID,CONTEXT_ID,PARENT_CONTEXT_ID,TIME,STORETIME,KEY0,KEY1,KEY2,KEY3,KEY4,KEY5,KEY6,KEY7,KEY8,KEY9,KEY10,KEY11,KEY12,KEY13,KEY14,KEY15,KEY16,KEY17,KEY18,KEY19,KEY20,KEY21,KEY22,KEY23,KEY24,KEY25,KEY26,KEY27,KEY28,KEY29,KEY30,KEY31,KEY32,KEY33,KEY34,KEY35,KEY36,KEY37,KEY38,KEY39,DBM0,MEASUREMENT_STR) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,'R',empty_clob())
2006-08-14 16:34:50,364 INFO [Thread-16] mstore.OLiteMStore - SELECT MEASUREMENT_STR FROM MEASUREMENT_PERSISTED_STORE WHERE ID=? FOR UPDATE
Any help would be appreciated.Thanks.
Kash

Similar Messages

  • Calling Enterprise Services through xMII Web Service action block

    Hi All,
    I'm calling some Enterprise Service through xMII Web Service action block.
    After providing URL and user credentials, I'm getting error "SOAP Service could not be loaded: The element type 'p' must be terminated by the matching end-tag '</p>'."
    Can anyone point out what might be the reason ?
    Thanks,
    Sumit

    If you haven't already, try using the browser from the xMII server machine rather than your own (client).
    The error that you recieve usually means that instead of a WSDL an HTML is being returned when you use the WebService action block.
    Possible reasons - as Jeremy pointed out - improper credentials or some error with the webservice itself.
    Another thing you can possibly try out - use some web service analyser to access the webservice . There's one that goes by the name StrikeIron which is a freeware.Pretty neat tool.

  • How to istall oracle forms service and oracle reports service and testing

    How to istall oracle forms service and oracle reports service ?
    and we can make test?

    How to istall oracle forms service and oracle reports service ?http://download.oracle.com/docs/cd/B19375_07/doc/frs/docs.htm
    and we can make test?Once installed, there is a test program both for Forms and Reports... or you mean something else ? if so, please clarify.

  • Invoke Web services through Oracle Workflow

    Dear Gurus,
    Is there anyone experience invoke Web services through Business Event ( Oracle Workflow ).
    When I try to invoke business event from developer studio, error occur in my worklist
    oracle.apps.fnd.wf.bes.InvokerException: No value available for one or more Input message parts [body, header]
    Please help,
    Eldin

    Pl post details of OS, database and EBS versions. Are you wanting to launch a EBS workflow from an external system, or wanting to connect to an external system using EBS Web service ? Pl see if these MOS Docs can help
    Integrated SOA Gateway (ISG) Invoking an External Web Service using the Service Invocation Framework (SIF) From a Workflow Process (Doc ID 1073001.1)
    How Can I Expose E-Business Suite Integration Interfaces as Web Services?          (Doc ID 782455.1)
    HTH
    Srini

  • Error in  HelloWorld service using oracle web services manager(Test Engine)

    Hi All,
    I deployed simple hello world web services on jwsdp2.0 and it is running at the following end point address :
    http://localhost:8080/jaxrpc-HelloWorld/hello
    When I use the Test engine provided by oracle web services manager to test this web service,Then I got the following response:
    <Result><ServiceResult name="sayHelloBack"><Data>Could not send: JAXRPCSERVLET28: Missing port information</Data></ServiceResult></Result>
    I am just wondering what is the cause of this behavior?Is it because of compatibility problem between oracle and jwsdp2.0 based web services?As I mentioned earlier that HelloWorld Service is running under jwsdp2.0 & tomcat50-jwsdp and it works fine from jwsdp2.0 based client.I would appreciate your reply.Thanks.
    Kashif

    I had the same problem, but adding the ant/lib directory to classpath helped.

  • Securing MIME WS with Oracle Web Services Manager

    I try to secure a simple WS with receives and returns MIME attachment(picture).
    WSDL:
    <definitions
    name="MIMEWS"
    targetNamespace="http://MIMEWS"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://MIMEWS"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:types="http://MIMEWS/types"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <message name="getPhotoRequest">
    <part name="photo" type="xsd:hexBinary"/>
    </message>
    <message name="getPhotoResponse">
    <part name="photoResponse" type="xsd:hexBinary"/>
    </message>
    <portType name="Photo">
    <operation name="getPhoto">
    <input message="tns:getPhotoRequest"/>
    <output message="tns:getPhotoResponse"/>
    </operation>
    </portType>
    <binding name="PhotoBinding" type="tns:Photo">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getPhoto">
    <input>
    <mime:multipartRelated>
    <mime:part>
    <soap:body use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="photo" type="image/jpeg"/>
    </mime:part>
    </mime:multipartRelated>
    </input>
    <output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="photoResponse" type="image/jpeg"/>
    </mime:part>
    </mime:multipartRelated>
    </output>
    </operation>
    </binding>
    <service name="PhotoService">
    <port name="PhotoPort" binding="tns:PhotoBinding">
    <soap:address location="http://localhost:8888/ws_security-AttachmentWS-context-root/PhotoPort"/>
    </port>
    </service>
    </definitions>
    The WS works fine, but if i register it with Gateway, i cant invoke it anymore.
    I always get the following error:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode xmlns:p="http://schemas.oblix.com/ws/2003/08/Faults">p:Client.GenericFault</faultcode>
    <faultstring>Cannot Replace the To Soap Header</faultstring>
    <detail/>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Can anyone help please?

    Hi
    I guess no one responded to this.
    I now have this problem, but it is only recent..... It appears to be tied up with Enterprise Manager security (?).
    Did you ever get a response ?

  • Error while calling web service through Internet Transaction Service.

    Hi,
    I am trying to execute transaction through web service. This service is attached to Internet Transaction Server (ITS). In Transaction SICF, in ITS when I test service, getting Error Message : New session rejected due to Memory bottleneck.
    Thanks,
    Anup

    Hi,
    you need to provide a better description of what you did (implementation) and what you want (use case). All I can see from your question is that you have a class cast issue.
    Frank

  • Configuring Oracle Net Services for Oracle Heterogeneous Services

    In the Oracle 9i Net Services Administrators Guide, it states that 3 parameters need to be included in the listener.ora in order to enable Heterogenous services. Can someone clarify what the Program Name should be set to? I'm not quite sure what is meant by agent executable. I'm trying to create a database link to and MS Access mdb DSn if that makes a difference.
    Cheers

    Richard,
    The program is hsodbc. The listener entry should be something like this:
    (sid_desc =
    (sid_name = gc4excel)
    (Oracle_home= c:\oracle\ora92)
    (program = hsodbc)
    The tnsnames entry should be
    GC4excel =
    (description =
    (address = (protocol = tcp) (host = localhost) (port = 1521))
    (connect_data = ( sid = gc4excel))
    (hs=ok)
    For more information on setting up Generic Connectivity please refer to the Heterogeneous Connectivity Administrator's Guide.
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96544/gencon.htm#1656

  • Error trying to secure Web Service through OWSM and OAM

    Hi all.
    We are trying to secure a web service using Oracle Web Service Manager and Oracle Access Manager. We have deployed it into two HTTP Servers. The intended business flow should be:
    1. The WSC make a SOAP request signed with a X.509 v1 client certificate.
    2. The OWSM Gateway intercepts this request and apply the defined policy:
    a. Verify Signature.
    b. Extract of credentials
    c. OAM Authenticate Authorize.
    3. Then OAM apply the defined rule:
    a. Credential validation and extraction of security tokens
    b. Authentication against OID security attributes
    We have protected with OAM the end-point web service URL for authentication and authorization. But we are getting an error when we invoke this web service:
    /The Web Service call failed. The service returned a SOAP fault with the
    message: Authentication Fault: Invalid User Session Token/
    It seems that OWSM Gateway are processing policies defined well, but th error became accesing to OAM authentication and authorize. We have tried to enable OAM debug system, but if we configure it, OAM are unable to start. So we are not able to obtain a more detailed error.
    T.I.A.

    Try re-configuring the AccessServerSDK AccessGate using the configureAccessGate command in the tools directory. It may be possible that the key pairing is corrupted.

  • What is oracle Web self service ?

    What is oracle Web self service?
    what is the diffrence between Orcle Web portal and oracle Web self service?
    what are the funcationalities of oracle Web self service?
    What are the pre requisites of oracle Web self service?

    No body know about it? or dono wanna reply. ........
    Can anybody explain please.

  • Regarding Oracle Business Process Manager and WS-Security

    Hi All,
    Actually I like to invoke couple of secure services running on seperate
    server runnnig JWSDP.These services are using WS-security,so I am just
    wondering if it possible to call these webservices through Oracle
    Business Process Manager.
    As our secure services are using JWSDP so thats the reason we prefer to
    use the BPEL engine which deployed on top of JWSDP so that We dont
    have to confront with compatable issues among different toolkits.
    So I am just wondering do you think that Oracle business process manager
    ws-secuirity implementation can use the JWSDP implementation i.e
    xws-security implementation,in otherwords is it possible to use JWSDP
    with Oracle business process manager for using the ws-security?Thanks.
    I would appreciate your help.
    Kashif

    yes we do native in Oracle BPEL PM (username token) - as explained here
    http://www.oracle.com/technology/products/ias/bpel/documents/bpel_admin_10.1.3.1.0.pdf page 30
    for more sophisticated ws sec stuff, pls use Oracle Webservice Manager

  • Capture a photo or video through my web cam

    Greeting for the day to every one !!
    I am trying to provide a facility in my project that any one capture his photo or video through web cam in their own computer. Is it possible in oracle /d2k ?? if yes please help me regarding this. How can i invoke my web cam through oracle/d2k and capture the photo.
    Any one help me ..
    Avinash Pandey

    You will have to free some space up on your iPhone. Buying more iCloud storage will not increase the capacity of your iPhone. For the most part iCloud storage is for your iOS backups, documents such as iWork files and iCloud email. Aside from iTunes Match and PhotoStreams which do not count towards iCloud storage you can not store media files on iCloud. PhotoStream is not a photo backup service nor does it support video yet, it's intended use is for sharing and transferring photos to other devices.
    Not sure of your setup but chances are you have a lot of video and photos on your iPhone taking up your storage space. These should be copied over to a computer where they can be properly backed up and organize. Once organized you can transfer them back to the iPhone through iTunes. You can sync a smaller number to free space. Or since you have a copy on the computer it is now possible to delete the photos from your iPhone when have the need to make a new video. Settings/General/Usage/Photos & Camera then swipe sideways to reveal the delete button is a quick way to delete photos in the library when you need more space. Ensure you still have a backup on a PC and an external drive.

  • Someone else is logging into my icloud through the web browser.

    I have already changed the password 3 times and included phone verification but it is still happening, how is this possible?
    I only have one device on find my iphone, my only phone, which I have with me at all times. I keep getting emails notifying me of an icloud web login through a web browser at times that I know it was not me. I have done everything I can think of, how can I see what device or who is logging in?

    Hi bcalimano,
    To increase security on your iCloud account, I would suggest using two-step verification. See this article for more information -
    Frequently asked questions about two-step verification for Apple ID
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Call a service through other service

    Hi all,
    In some moment I pretend to call a service through my new service. The point is that the service is missing some parameters and I'm with some doubts about that...
    Example:
    <tr>
         <td>MY_NEW_SERVICE</td>
         <td>DocService
              0
              null
              null
              null<br>
              null</td>
         <td>3:doService:GET_ASSOCIATED_DISCUSSION_FILE::null</td>
    </tr>
    In this case I want to call the GET_ASSOCIATED_DISCUSSION_FILE to create a discussion but the CS is giving me an error about missing the dID parameter. However, in my template, I give the dID. How can I pass correctly that parameter?
    Thanks in advance,

    Hi, thanks for the reply.
    No, it's not a subservice.
    stack trace:
    !csUserEventMessage,sysadmin,gfisdemo!$!csServiceDataException,SEND_ENCAMINHAMENTO,QdocInfo!$!csSystemError,\!syParameterNotFound\,dID!syParameterNotFound,dID
    intradoc.common.ServiceException: !csServiceDataException,SEND_ENCAMINHAMENTO,QdocInfo!$!csSystemError,\!syParameterNotFound\,dID
         at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:1739)
         at intradoc.server.Service.buildServiceException(Service.java:1999)
         at intradoc.server.Service.createServiceExceptionEx(Service.java:1993)
         at intradoc.server.Service.createServiceException(Service.java:1988)
         at intradoc.server.ServiceRequestImplementor.handleActionException(ServiceRequestImplementor.java:1450)
         at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1417)
         at intradoc.server.Service.doAction(Service.java:450)
         at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191)
         at intradoc.server.Service.doActions(Service.java:445)
         at collections.HelperHandler.executeCommand(HelperHandler.java:619)
         at collections.HelperHandler.executeCommand(HelperHandler.java:557)
         at collections.HelperHandler.doService(HelperHandler.java:762)
         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:585)
         at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461)
         at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:142)
         at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:75)
         at intradoc.server.Service.doCodeEx(Service.java:488)
         at intradoc.server.Service.doCode(Service.java:470)
         at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1350)
         at intradoc.server.Service.doAction(Service.java:450)
         at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191)
         at intradoc.server.Service.doActions(Service.java:445)
         at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1111)
         at intradoc.server.Service.executeActions(Service.java:431)
         at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:632)
         at intradoc.server.Service.doRequest(Service.java:1709)
         at intradoc.server.ServiceManager.processCommand(ServiceManager.java:357)
         at intradoc.server.IdcServerThread.run(IdcServerThread.java:195)
    Caused by: intradoc.data.DataException: !syParameterNotFound,dID
         at intradoc.jdbc.JdbcQueryUtils.getParameterValue(JdbcQueryUtils.java:223)
         at intradoc.jdbc.JdbcQueryUtils.buildQuery(JdbcQueryUtils.java:106)
         at intradoc.jdbc.JdbcWorkspace.buildQuery(JdbcWorkspace.java:761)
         at intradoc.jdbc.JdbcWorkspace.createResultSet(JdbcWorkspace.java:699)
         at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1358)
         ... 25 more
    Ps: SEND_ENCAMINHAMENTO is the MY_NEW_SERVICE.

  • How to make Service call document web enabled

    A technician would be accessing Service call form through the web browser over the internet. He would be mentioning the CALLID and will be entering the user defined fields that are dispatch date, technician out date and time to name a few from the web browser through a web page, which should get populated into SAP Business One database.  We are going for SAP Business One 2007B version with SQL server 2005 database. I went through the web tools web services and I could not find a web service related to service module. Can you please advise me how to go about with this scenario?

    Hello,
    Look at the thread on page two with the name: Join a service call and one serial number?
    Hopefully this will help you further
    Tim

Maybe you are looking for