JSON in OSB

Dear All,
I am trying to implement OSB service where is accepts JSON input and provides the output in the same format. Any pointers to this would be helpful.
I tried converting JSON to xml using JSON lib but however failed to do so.
TIA.
Regards,
Mithun S.

Well thanks all for the inputs.
Tried doing things like JSON to xml formats and failed to get the output.
I have an API for Google geocode http://maps.googleapis.com/maps/api/geocode/json? which i am trying to hit via Biz service.
It's not any kind of Web-Service hence getting no results but errors.
Any suggestion, how can i use the above API to get an output in OSB.
Like adding the required address to the API gives me the desired output as in the link below
http://maps.googleapis.com/maps/api/geocode/json?address=Harrow%20HA2%200ET&sensor=false
TIA.

Similar Messages

  • How to make an OSB proxy to the server responding with application/json?

    Hi,
    My question is related to unfortunately unanswered question: Re: OSB and Oracle Maps
    Big picture: There is a Jetty server on local network with SpringMVC controllers which respond with JSON. The only way to communicate from frontend application to that server is through the OSB. So OSB should work as transparent proxy, passing headers and respond with original JSON message.
    I tried to build such proxy, following some blogs entries. Proxy worked for the REST services based on XML, but when I go to the JSON business service I get stuck.
    I think that business service to communicate with JSON server should be a Messaging Service, with Response Type: Text and Request Type: None.
    All headers should be passed (Outbound request) so the JSON server receives them in same state as frontend send.
    Business service should be invoked from 'Service Callout' because I don't need any asynchronous calls, or routing - just call the business service endpoint, which will call JSON server and pass the response.
    There are some problems in which I stepped into when tried this approach:
    1. When using Request Type: None the Service Callout give me an error of type:
    A callout cannot invoke a one-way operation
    When switching Request Type to Text I get it working, but some services on JSON server which operates only on GET method stop work (because switching to Text automatically require to use POST method, which is obvious but not necessary in my case).
    2. Even with above modification I cannot get the response from business service - I guess it's because the JSON response isn't wrapped into any XML elements. So in Service Callout any logger prints the message on Request side, but anything is written by Response logger inside the Service Callout. The browser which launch the Proxy Service also answers with:
    HTTP 500 (Internal Server Error)
    and I don't see any errors in logs, last message is from Request logger inside Service Callout.
    3. Business Service itself seems to work - here is an output from 'Run on Server':
    Business Service Testing - SampleJSON
    Request Document
    Response Document      
    {"models":[],"success":1}
    Response Metadata      
    <con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <http:Content-Length>696</http:Content-Length>
    <http:Content-Type>application/json;charset=ISO-8859-1</http:Content-Type>
    <http:Server>Jetty(7.4.2.v20110526)</http:Server>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    <tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">OK</tran:response-message>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">ISO-8859-1</tran:encoding>
    <http:http-response-code xmlns:http="http://www.bea.com/wli/sb/transports/http">200</http:http-response-code>
    </con:metadata>
    But when calling it from a service proxy I don't get any logger message on the JSON server, which appears normally when I runs business service tests. So it seems that the request doesn't even reach it.
    If anyone has a time to look at this problem I can share the configuration jar ready to import: http://dl.dropbox.com/u/21341604/sample-osb-json/sample-json.jar, to make it working you need change Endpoint URI in SampleJSON.biz.
    Thanks in advance for any kind of help or tips,
    Adrian

    If you are the admin, then use the following command in Terminal:
    sudo mkdir /.nameOfFolder
    Replace nameOfFolder with the name you want.  The sudo will prompt you for your admin password. 

  • Adding a JSON string to an outbound RESTful call in OSB 11.1.1.6

    Inside my Proxy Service Message Flow (OSB 11.1.1.6) I have generated a JSON string and stored it in a variable named $jsonReq.
    In my Routing action, I point to a Business Service whose Service Type is "Messaging Service" with both Request/Response Message Types as "Text".
    What is the proper way to assign the $jsonReq variable's contents to the outbound request body (I am doing a POST)?
    I have tried a number of configurations, but to no avail (though I see the JSON contents when I dump it out in a Log action), such as:
    Insert
    Expression: $jsonReq
    Location: as first child of
    XPath: .
    In Variable: outbound
    Please advise.
    Thank you,
    Michael

    Hello Prabu,
    Thank you for the suggestion. Assigning it to the body didn't work. I changed my configuration to this:
    Insert
    Expression: $jsonReq
    Location: as first child of
    XPath: .
    In Variable: outbound
    The net effect that I can see via the Test Console invocation tracing is that the change from:
    RouteToMyBusinessService -> Message Context Changes -> changed $body
    <soap:Body xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <!-- our original body from the proxy service inbound SOAP message -->
    </soap:Body>
    to
    RouteToMyBusinessService -> Message Context Changes -> changed $body
    <soap:Body xmlns:soap="http://www.w3.org/2003/05/soap-envelope"/>
    I know that the $jsonReq has data in it (per a log statement I made: <Jun 6, 2013 7:55:40 AM CDT> <Debug> <ALSB Logging> <BEA-000000> < [RouteToSCCreateBAMLabsProfileBusSvc, null, null, REQUEST] Inserted {"firstName":"string","lastName":"s","email":"stringstring","Login":"string","timeZone":"America/Montevideo","address":{"streetOne":"string","streetTwo":"string","city":"string","state":"st","zipCode":"string","country":"string"},"equipment":{"e":{"type":"Bed","code":"string","serial":"string","sku":"string","version":"string","dateOfPurchase":"2013-11-23T08:44:07"}}} into body> ).
    So why would the body be empty when I use the Insert action listed above?
    On a side note, is there only one 'body' variable in a proxy message flow? How do I distinguish between the body of the incoming request, the body of the [transformed] outgoing business service request, the body of the business service response and the body of the [transformed] proxy service response?
    Thanks again,
    Michael

  • Json PUT method business service invoke via OSB

    Hi,
    I have to invoke business service that takes input as json object. I have followed following steps to create the project.
    1. I have setup business service with "Messaging Service", and selected TEXT as request and response.
    2. Created proxy service that is using wsdl.
    3. In message flow, I have added service call out and setup bodyRequest as Request Variable in payload document.
    4. I have added transport header to setup header as required.
    5. $bodyRequest is setup by json lib utility(java callout), which gets xml as input and return json object as string.
    6. When business service get invoked, Following payload is passed:
    <soapenv:Body      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         {"name":"string","status":"string","utilities":{"utilId":"string","utilType":"string"}}
    </soapenv:Body>
    whereas it should be only json request i.e.
    {"name":"string","status":"string","utilities":{"utilId":"string","utilType":"string"}}
    When I see the trace I get "{"name":"string","status":"string","utilities":{"utilId":"string","utilType":"string"}}" in $bodyRequest, but when it is passed to business Service, it gets embedded in <soapenv:Body></soapenv:Body>
    Kindly can anyone help me in this regard.

    yes, but I get response as no json body was found. This is response if i give input with soapBody, but if i only give json object i.e. {"name":"string","status":"string","utilities":{"utilId":"string","utilType":"string"}} , outside OSB i.e. using some json tool, it works fine.

  • OSB Conversion of Soap Service to JSON

    Hi All,
         I have a SOAP service that returns a list of employees which needs to be exposed in JSON format. I have nearly implemented this using XMLBeans by doing the following.
    In the message flow of OSB, the JSON request is converted into XML and a Service Callout is made to the SOAP service which returns the Employees list in the response. The SOAP response is then assign to the variable 'responseXML' and then a Java callout is made to convert the 'responseXML' to JSON response. The Java callout method is as below. The XMLObject parameter passed from the OSB is a XMLfragment instead of the full XML document.
    public static String employeeListResponseXmlToJson(XmlObject xml) {
            System.out.println("employeeListResponseXmlToJson() called with: " + xml.toString());
                   ObjectWriter writer = EmployeeServiceMapperFactory
                    .getEmployeeListWriter();
            EmployeeListResponse employeeListResponse =  new EmployeeListResponse();
            ArrayList <au.gov.vic.ambulance.pojo.Employee> employeeList = new ArrayList<au.gov.vic.ambulance.pojo.Employee>();
            String json = null;
            try {
                EmployeesDocument doc = EmployeesDocument.Factory.parse(xml.newXMLStreamReader());           
                if (doc instanceof EmployeesDocument) {
                    EmployeesDocument employeesDoc = (EmployeesDocument) doc;
                    Employees source = employeesDoc.getEmployees();               
                    for (Employee emp: source.getEmployeeArray())
                        au.gov.vic.ambulance.pojo.Employee employee = new au.gov.vic.ambulance.pojo.Employee();
                        employee.setEmployeeNumber(emp.getEmployeeNumber());
                        employee.setFirstName(emp.getFirstName());
                        employee.setMiddleName(emp.getMiddleName());
                        employee.setLastName(emp.getLastName());
                        employee.setPreferredName(emp.getPreferredName());
                        employee.setPreviousLastName(emp.getPreviousLastName());
                        employee.setTitle(emp.getTitle());
                        employee.setHireDate(emp.getHireDate());                  
                        employeeList.add(employee);
                    employeeListResponse.setEmployeeArr(employeeList);
                    json = writer.writeValueAsString(employeeListResponse);
            } catch (XmlException e) {
                e.printStackTrace();
            } catch (JsonGenerationException e) {
                e.printStackTrace();
            } catch (JsonMappingException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
            return json;
    The XML in the 'responseXML' variable is a as below
    <Employees xmlns:es="http://abc.com/employee>
        <Employee>
        </Employee>
        <Employee>
        </Employee>
    </Employees>
    The XML after Java callout is made from OSB is a as below.
    <xml-fragment>
        <Employee>
        </Employee>
        <Employee>
        </Employee>
    </xml-fragment>
    Why is OSB not passing the entire XMLDocument? Please suggest and help.
    Thanks

    Use the JSON libraries like jackson, Gson etc. to convert the from java collection to json that would be much easier. I recently done the same in my webservices.
    Regards,
    Anshul

  • OSB with Rest JSON webservice

    Hi, I am new to OSB and working on making OSB as a pass thru for RestFul JSON webservices. I am able to get JSON response back in case of GET request however for POST request I am getting this error:
    <con:fault
    xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-380000</con:errorCode>
    <con:reason>Unsupported Media Type</con:reason>
    <con:location>
    <con:node>AegisRouteNode</con:node>
    <con:path>response-pipeline</con:path>
    </con:location>
    </con:fault>
    I have used transport header in response action to convert content type to application/json. I am not sure why it works perfectly for GET request but fails for POST.
    I appreciate any help that can be provided. Thanks.

    > I have used transport header in response action to convert content type to application/json
    Why in response? o_O
    My understanding of what is happening is that the remote server rejects your POST with HTTP 415. I.e. you need to set the Content-Type transport header in request pipeline.
    For GET though the server may just ignore the Content-Type header or lack thereof, and that's why it may work.
    Try to point your call via Fiddler to see the actual HTTP request and response, it should give you the idea what's going on.
    Vlad
    http://vladimirdyuzhev.com

  • [OSB] xml to json

    Hi all,
    we need to transform xml into json and as far as we know josn is not supported directly in OSB.
    We found in http://www.bramstein.com/projects/xsltjson/ a stylesheet to transform XML to JSON but when we try to import that XSLT into OSB 10.3.1 we got an error ...
    Do you know/recommend any other XSLT/Xquery tranformation for converting xml into json ?
    Thanks and regards
    ferp

    Hi all,
    found also http://www.bjelic.net/2012/08/01/coding/convert-xml-to-json-using-xslt/ and now the xlst is imported into OSB.
    When we tested directly via test console the xlst, it works ... but when we invokei through the pipeline we don't get any result:
    Assign [ Xslt Resource: xml_to_json_prj/xmlToJson
    Input Document: $body/*
    Variable Names And Bindings:
    to [ result ]
    ... we are trying to understand where is the problem ....
    Thanks and regards
    ferp

  • Proxy restful services via osb

    Hi,
    I would like to proxy my rest services via OSB for monitoring purpose. I did configure a simple GET call to use OSB proxy, I did it by creating a business service and point the URI to use the absolute URL of the rest Services (i.e. http://localhost:port/myRestMethod) and then created a proxy service pointing to my business service. Is this the correct way of doing it? Also I have the following questions:
    1. is there a way to make the URI for the rest service dynamic?
    2. How should I configure a post?
    I would appreciate any kind of help or if you can point me to some kind of documentation or example. I am very new to OSB and don't have much knowledge about it.
    Thanks
    Regards
    M.

    You can set the headers of the request quit similar to the ones you use for the get and delete parts. If you want to POST or PUT JSON/Xml/Text to your rest service you have to fill the $body variable with the contents of the request you want to send. When you use a proxy service I would suggest adding a route to block at the end of the PS. The route block contains a route to the business service you want to call.
    When you send the $body in the request pipeline to the business service the $body variable gets updated when the business services receives a response.
    What I usually do is add reporting blocks to your request and response pipelines that contain the $body and $header vars. That way it's easy to see what requests you are sending and what kind of responses you are retrieving.
    Good luck!

  • OSB: Retrieve non XML Payload from a service that returns status code 500

    Hello,
    I'm using OSB 11g.
    I have a Business Service that invokes a REST based service (AnyXML). The service I'm calling may return a 500 status code and some JSON-encoded information in the response body containing the remote service error information.
    From a Proxy Service, I invoke the Biz Service using a standard Service Call Out. The Call Out works fine if the service doesn't return any error (status code 200).
    The problem starts when the service returns a 500 status error: it seems that there is no way to to get hold of the error information (string) that are in the response body. The $fault variable contains some info, but not the actual payload.
    I have also tried to "resume" the flow (using a resume action) but no luck.
    Is there a way to retrieve a NON-XML payload of a service even if the service returns a 500 status code?
    Thanks
    Luciano

    Hi,
    I have same problem, any idea?
    I created several Proxy Services between SOA (BPEL) and JDE. Proxy Service works correct, but if interface response has an error (fault) from JDE side, we get high level error message from OSB and we lost error information from endpoints. I want to get following error information from response body, which containing the remote service error information.
    e.g. <SOAP-ENV:Fault>:
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Client</faultcode>
    <faultstring>[ISS.0088.9134] Exception occurred while processing the body of the message</faultstring>
    <faultactor>http://HOST/soap/default</faultactor>
    <detail xmlns:webM="http://www.webMethods.com/2001/10/soap/encoding">
    <webM:exception> </webM:exception>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Until now, I solved errorhandling for Proxy Service with single route node, but if I use Proxy Service for “Failover” and OSB connect to Endpoint 2, BPEL-instances with "fault" state get OSB error message and WSG-Response will be lost from $body of messages.--> error-propagation to client is NOT OK.
    Regards,
    Moh

  • [OSB1031] how to call a RESTful service from OSB with authentication

    Hi all,
    I called successfully a RESTful service from OSB.
    We have a business service, named OrderTracer, that wraps the call to the RESTful service.
    The RESTful service requires an authentication so we are trying to find out how the OSB business service should authenticate itself against the RESTful service.
    In addition the RESTful service accepts username/password coded as base64.
    So we defined a Service Account with static resource type and we added the reference to this service account in the business service.
    But when the OSB business service calls the RESTful service, we got an error:
    <fault>
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-380000</con:errorCode>
    <con:reason>Unauthorized</con:reason>
    <con:location>
    <con:node>RouteNode</con:node>
    <con:path>response-pipeline</con:path>
    </con:location>
    </con:fault>
    </fault>
    Does anyone have any hint ?
    Any clue would be of great help.
    Thanks in advance
    ferp

    Hi,
    There's a sample on JSON REST here...
    http://java.net/projects/oraclesoasuite11g/downloads/download/OSB/osb-206-JSONREST.zip
    For other samples, see this...
    http://java.net/projects/oraclesoasuite11g/pages/OSB
    Cheers,
    Vlad

  • Using OSB for Public API (REST)

    Hi there,
    Is it a good practice to use Oracle Service Bus to expose a PUBLIC REST API?
    The idea is to have a separeted OSB instance which will be in the WEB so that other partners and applications (Native Mobile, for instance) can access some of our services. The application layer will have many different applications, like SAP, JEE systems, Cobol and others. But the public API will be design in a more RESTful fashion.
    What about security?
    What about performance? (Parsing JMS, XML and others into JSON will probably create extra load into the OSB).
    What are be the advantages of using OSB instead of a more traditional Service Layer?
    P.S.: We are being careful with the design of our API, sometimes the underlying system doesn't help, so some transformation has to happen (more load!) in order to make the API elegant and meaningful.
    Cheers

    Personally, I'd prefer Collections as they are nice to work with. Their only annoying issue is certainly the constant casting as soon as you retrieve Objects from them.
    I do not consider the documentation of what those Collection include too big a problem. Just include a line for each Collection parameter stating "Set of Strings" or the like. I wouldn't even check the type through instanceof, I'd just cast. If a ClassCastException is thrown, I think that's the proper thing to do.
    As you might have noticed, there is a proposal of "Generics" for Java, which would adopt something like those template classes known in C++. There is even a beta implementation available, so you can go ahead and code your Set<String>. Time will tell if this proposal finds its way into the official Java standard, the drawback being a more complex syntax. If you want to know more about it, check out those links:
    http://forum.java.sun.com/forum.jsp?forum=316
    http://www.jcp.org/jsr/detail/14.jsp
    http://developer.java.sun.com/developer/earlyAccess/adding_generics

  • How to pass JSON object for a PUT operation of restful

    Hi,
    I am trying to proxy restful call through an OSB proxy and I would like to know how I can pass json object via OSB proxy to an external rest service for a PUT operation? I am using Oracle 11g.
    I have created a business service, that point to the external rest service and created a proxy service that route to the business service. I thought it automatically takes the JSON, which is the data need to be send to the rest service, but didn't work, I get 405 error in the osb access log. is that how it works, or there is something else I need to do? if so, can you please help and tell me how?
    appreciate any kind of help.
    thanks
    Marwa.

    Hi Anju,
    Most of the example I see is dealing with data being pass either as query-string or html form. We are passing JSON object from the UI and rest services are configured to take JSON. therefore, in the PUT and POST data are passed either as an attachment or part of the request object. Do you know or have an example how to do it? I don't need to any kind of transformation of data because I need JSON on both end and I am trying to use the OSB proxy in between my UI and rest services to take advantage of monitoring capability of the OSB.
    appreciate any help, my deadline is getting close and I kind stuck.
    Thanks
    M.

  • How to create RESTful proxy service in OSB?

    How can I write RESTful web services in OSB?
    We are using OSB 11g.
    I know how to create SOAP proxy service in OSB. I just want to switch to RESTful services from SOAP.

    http://blogs.oracle.com/jeffdavies/2009/06/restful_services_with_oracle_s_1.html
    http://blogs.oracle.com/jamesbayer/2008/07/using_rest_with_oracle_service.html
    http://biemond.blogspot.com/2009/05/osb-rest-service-with-xml-json-output.html
    http://blogs.oracle.com/knutvatsendvik/2009/11/how_to_specify_ampersand_in_a_rest_query-string_osb.html
    Regards,
    Anuj

  • [OSB1031] how to call a RESTful service from OSB

    Hi all,
    I need to call a RESTful service from OSB.
    The RESTful URL service is http://xxx.xxx.xxx.xxx/api/ordertracer and has been implemented in IIS.
    The service accepts a xml string message as input and returns an HttpStatusCode.
    So I started defining a business service (named OrderTracer):
    Service Type: Any XML Service
    Endpoint URI: http://xxx.xxx.xxx.xxx/api/ordertracer
    HTTP Request Method:POST
    Or should I define instead a business service (named OrderTracer2) as following ?
    Service Type = Messaging Service
    Request Message Type = None
    Response Message Type = Text
    Endpoint URI: http://xxx.xxx.xxx.xxx/api/ordertracer
    HTTP Request Method:POST
    When I try to test the business service (the first one named OrderTracer) from OSB test console I got an error:
    <con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <http:Connection>close</http:Connection>
    <http:Content-Length>315</http:Content-Length>
    <http:Content-Type>text/html; charset=us-ascii</http:Content-Type>
    <http:Date>Wed, 03 Oct 2012 14:26:39 GMT</http:Date>
    <http:Server>Microsoft-HTTPAPI/2.0</http:Server>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">3</tran:response-code>
    <tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">Not Found</tran:response-message>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">us-ascii</tran:encoding>
    <http:http-response-code xmlns:http="http://www.bea.com/wli/sb/transports/http">404</http:http-response-code>
    </con:metadata>
    Could I test that RESTful service from business service test console or should I test it from a service callout within a proxy service ?
    Thanks in advance for any hints!
    ferp

    Hi,
    There's a sample on JSON REST here...
    http://java.net/projects/oraclesoasuite11g/downloads/download/OSB/osb-206-JSONREST.zip
    For other samples, see this...
    http://java.net/projects/oraclesoasuite11g/pages/OSB
    Cheers,
    Vlad

  • OWSM Custom Assertion for OSB RESTful Proxy Service

    Hello,
    I have implemented a Custom OWSM Assertion to authenticate requests with a custom token placed in a HTTP header. I can assign this assertion to a SOAP proxy service as a security policy. However I am not able to assign the very same policy to a Restful JSON service (Proxy service defined as messaging service with text message type). I am getting this error:
    [OSB Kernel:398128]One of the Web service policy attached is not allowed on service default/RESTful because the service binding does not support it
    My policy:
    <wsp:Policy xmlns="http://schemas.xmlsoap.org/ws/2004/09/policy"
        xmlns:custom="http://custom"
        orawsp:status="enabled"
        xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" orawsp:category="security"
        orawsp:attachTo="binding.server" wsu:Id="http_customtoken_authentication_policy"
        xmlns:orawsp="http://schemas.oracle.com/ws/2006/01/policy" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
        wsp:Name="custom/http_customtoken_authentication_policy">
        <custom:customTokenHttpAuthentication
            orawsp:Silent="true" orawsp:Enforced="true"
            orawsp:name="Http custom token Authentication" orawsp:category="security/authentication" >
            <orawsp:bindings>
                <orawsp:Config orawsp:name="authenticationassertion"
                    orawsp:configType="declarative">
                    <orawsp:PropertySet orawsp:name="headerName">
                        <orawsp:Property orawsp:name="headerName"
                            orawsp:type="string" orawsp:contentType="constant">
                            <orawsp:Value>CustomToke</orawsp:Value>
                        </orawsp:Property>
                    </orawsp:PropertySet>
                </orawsp:Config>
            </orawsp:bindings>
        </custom:customTokenHttpAuthentication>
    </wsp:Policy>
    My OSB version is OSB 11g PS6 and in this version, OWSM policies are supported for Restful services. Interesting is, that the built-in policy oracle/http_basic_auth_over_ssl_service_policy can be assigned to my Restful service. Do you know a solution for the problem, how can I assign my custom assertion to the Restful service? Anything special is needed in the policy definition?
    Thanks.
    Marian

    Hi Vinoth,
    The users/groups are picked up from the LDAP configured in Security Realms->myRealm->Providers
    You basically have 2 options:
    - You can configure your LDAP in Providers
    - Use the DefaultAuthenticator that weblogic provides you by default.
    If you do not want to configure an LDAP, and want to use weblogic's default, then all you have to do is add users and groups in Security Realms->myRealm->Users and Groups
    Do mark this as useful or answered, if this has helped.

Maybe you are looking for

  • SWF Object and Internet Explorer

    I am experiencing some strange behavior with a SWF Im including in the following web page: http://www.bostonredevelopmentauthority.org/ The SWF displays properly on the first page visit in both Internet Explorer and Firefox.  If I navigate away to a

  • MacBook loses internet when it sleeps

    I'm trying to help a friend with a MacBook problem. I've tried some things suggested in other posts (restarting router, repair permissions, etc.) with no luck. Two iPhones and my MacBook Air connect to the internet just fine. Whenever this MacBook wa

  • Folder List Bug in Windows 8

    I have a couple of test systems in my environment that we are seeing if Windows 8 might work here or if we will do the more likely option and keep using 7 until it is end of life. Anyway, we're seeing a couple of nuances with GroupWise but the larges

  • When I try to install I receive the error 1309?

    The error can be found within the installation log files and is usually related to the need to write to a specific location.  If the installer is unable to write to the expected location this error can occur.  I  recommend trying the steps listed in,

  • Any Mac experts about please ?

    I have an imac machine, the hard drive has been completely wiped clean, I now need to install Mac os x  The model number from the sticker on the base is A1225, I have a retail copy of Mac OS 10.6.1 When I start the machine I hold the options key and