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 









No comments:

Post a Comment