Wednesday, 6 September 2017

Creating New user for WorklistApp from console

Hi,

This is a fresh post after many days! Got some time to write. :)

In this we will try to see how we are creating new user to access Worklist app.

"http://hostname:portnumber/integration/worklistapp"

Use Case: 
When we require human intervenation in our business requirement, then we are supposed to use Human task activity in our composite to handle few actions like ( approve, reject, to amke a comment) in the process flow.

So we need to create some users and groups to take up the task.

Say now we are creating User named: Lead , he who now take up on required action on the human task request in worklistapp.

Now we wil see how to create the New User from Console.

Steps:

1. Login to console
2. Click on Security Realms on left hand side bar.

3. This pops up a wizard- click on "myrealm"

4. Users and Groups

5. Click New


6.Fill in the details of user and give password of length=>8

7. Yes We have created the user succesfully, and the same gets reflected under user list.



There we go! Done with the creation of new user!

Let's Explore SOA!

- Krithika G




Thursday, 10 August 2017

Overcome - Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

Hi All,

Yesterday when I was working with Human task component I came across this issue while deploying

Issue:

----Deployement incomplete ----
"Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)"

I tried different methods to overcome this issue - change proxy setting etc.

Try this:

This technique worked for me- 

We can deploy the project at application level as ".ear" file and deployment is getting successful.

Steps: right click on application-- deploy -- .ear file

The reason is .ear file will have all the classes required for successful deployment when compared to .war file.

Hope this helps.. !!


Drop your issues/other solutions if you have any in the comment section!!

Let's Explore SOA!!






Tuesday, 8 August 2017

Creating Abstract WSDL in JDev 12c

Hi All,

In my last post WSDL's I have clearly explained the difference between Abstract and concrete WSDL's.

In this post I will create an abstract WSDL in JDev 12c IDE.

Demonstration:

Use case - Creating abstract WSDL having i/p, o/p messages and a port type having 2 operations (Addition, Multiplication) under it.
entering 2 input say a,b then based on our operation say addition/multiplication the result must be obtained.

Follow the below steps to create the same:

1. Create a new SOA Project, create a new WSDL document.


2. Move your .xsd file from top to the bottom side as shown below. It is required to map the message parts.


3. Under Message section click "+" to create new message and under input message map your elements from xsd.


4. Similarly do the same for output message.



5. We can define similarly n number of messages and map from xsd accordingly. In this case we have defines our message section as below:

6. Now we can define Port Type.( here I have used calculate as Port type name)




7. Now add Opertaions - Addition  and Multiplication with appropriate input and output message.




 8. Now our abstract wsdl will look something like this.

And to mention not.. "Save all" and yes its complete. 

Now we have created Abstract WSDL as per our use case.

We will be using this wsdl in our upcoming pick activity demonstration project.


Thanks!!

Keep Learning....

Let's Explore SOA....

- Krithika 









Abstract and Concrete WSDL

Hi All,

Got some time to write this post on Abstract and Concrete WSDL and how they are different.

WSDL ( Web service description Language ) will mainly contain below sections:

Types: Defines the data type definitions for messages that will be exchanged by the web service. Generally defined from a schema (XSD)

Message: Defines the actual set of messages that will be exchanged.

Port Type: Defines abstract Operations available to do the the transactions.

Bindings: Defines the message format and protocol information for the Operations defined by Port Types

Services: Defines the endpoint where services are to be exposed.

So if a WSDL has Types, Message, Port Type then it can be classified as Abstract as it does not contain any information related to communication protocol/where the services are exposed.

On the other hand if a WSDL has all the parts of Abstract WSDL including Bindings and Services it is nothing but Concrete WSDL. It can be used to connect to external services.

Abstract WSDLs are of great help in solving service dependency issues while developing and in run time scenarios.

Hope this is clear!!

Let's Explore SOA..... :)


Friday, 4 August 2017

Using Debugger in JDev 12c

Hi All,

In this post I will take up the new feature introduced by Oracle in SOA 12c release. 
"Debugger" makes developer life simpler by providing us platform to test and debug our composite in Jdev IDE itself.

Before in 11g we followed steps like Develop the composite in JDev, deploy it to application server, Test it and debug the composite with the flow trace.

With the introduction of Debugger lot of time and complexity has got reduced drastically.

So lets now see how to use devugger feature in our hello_world Composite. 

Demonstaration:

Use Case: I have created a hello_world project which takes input from the user and provides the output as Hello concatenated with the input that user provides.

Now we can follow the below steps to test this composite using debugger in JDev 12c IDE and can debug if we find any errors:

Steps:

1. Navigate to the project - select Debug option 


2. In the next step we get a wizrd , where in we need to fill host and port number (5004 usually)


3. Moving forward, Create breakpoints pair and toggle breakpoints in your .bpeljust showed as below:





4. Our composite will look like this now:


5. In the next step we can Initiate WS Debugging by right clicking on the context


6. Http Analyzer wizard opens up asks for input payload ( Here input - India), once request is sent use "Step Over in .jpr" button to test the composite step by step.
Follow below steps:




 This is Step in over hello_world.jpr button










7. Finally in Http Analyzer we can see our test result: Hello gets concatenated with the input string India


8. Forget not to stop the debugger, Otherwise in deug mode we cannot be able to edit the compoiste. So how can we stop the debugger? Follow below steps:





Yes Now we know how to test our composite in Jdev 12c using Debugger.

Cheers!!

Let's Explore SOA..... :)

- Krithika