Jumpstart for Oracle Service Bus Development

The article which i wrote together with Ronald van Luttikhuizen is posted on the OTN site.
My first one for OTN and i’m proud of it.
otn
If you still have any questions about it or other related subjects, i will be happy to help you.

link :

Jumpstart for Oracle Service Bus Development
Download resources (OSB + Java)

Original blog

Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

36 Responses to “Jumpstart for Oracle Service Bus Development”

commenter

Hi Eric,
on page 2:

http://www.oracle.com/technology/pub/articles/jumpstart_for_osb_development_page_2.html
….
2. Unzip the resources archive to your workspace directory.

Where can I download the resources (or sample project: KlantWebService, KlantWebServiceEAR, MailClient, OrderWebService, and OrderWebServiceEAR)?

Thanks.
lt

commenter

It looks like they missed the solutions and resources files.
We informed them about this.

If you want them a bit earlier then that, leave your email so i can mail the files.

commenter

Would you please send files to my gmail:

lastrinh-at-gmail-dot-com

Thanks.
lt

commenter

The resources archive is in your mailbox!

commenter

Good article on OTN!
But your tutorials are based on Oracle Workshop. I heard, that Workshop is deprecated and form 11g on, all Development should be done in JDeveloper.
What can you say on this?

Regards,
– Niko

commenter

Well there are plans to migrate all the development to JDeveloper indeed. But for the current version that’s still not there. The article was based on the 10g version. But you’re right, they want put the workshop functionality in jdeveloper.

When OSB 11g is there we will know more about that

commenter

Hi,
I am trying out the tutorial but when I try to deploy the first EAR file Workshop complains saying a J2EE application must have at least 1 module (it doesn’;t like the application.xml file). Are the resources complete on OTN ? If not, please can you email me the correct ones. thanks

commenter

i fixed the above problem by dragging and dropping the relevant project inside the EAR project – Workshop then creates an entry for the WAR file.

cheers

commenter

Hi! They should be complete.
Can i have your email so i can mail the whole pack (resources) ?

commenter

When createing the business service in tutorial 1, I end up with KlantWebServceBS forming “a cyclic reference” – this seems to be caused by the klant and klantWebService xsd’s import statements. How do I resolve this issue?

commenter

It’s just a warning, so you don’t really need to change anything.
Otherwise the we need indeed move some of the xsd definitions to other locations…but the current situation will work

commenter

Hello Eric,
Is the OSB Development available on Jdev 11.1.1.3 version without using the workshop ? kindly confirm.

commenter

Hi!

No, you still need to do the development in the Eclipse IDE

commenter

Hello Eric,
Can we install the OSB plug-in in the OEPE edition separately ? I donot want to install the OSB in my laptop. Custom option in installer does n’t give the option to deselect the OSB runtime and install only OEPE.
Thanks

commenter

Hmmm i can’t find any plugin for you to download. So i guess it’s not possible. I thought for the workshop ide (th older version) you could download a plugin for eclipse, but for the current one i can’t find any.
When i see it coming by somewhere i will update the comment over here.

commenter

Thanks Eric, let us wait then :-)

commenter

Have you used Oracle XE to install the OSB alone ? I want to use the JDEV 11g (latest one) that has weblogic 10.3.3 version. When I run the installer of OSB, it is prompting for the database also to be present. Can I run on XE ?

commenter

Hi.

can someone send me the same files (KlantWebService, KlantWebServiceEAR, MailClient, OrderWebService, and OrderWebServiceEAR)?

Here is my email: vincent.knab@capgemini.com

Thanks a lot
Regards,
Vincent

commenter

I am really thankful to this topic because it really gives up to date information “~;

commenter

Hi Eric ,

I am new to OSB and was going through your OSB Jump Start Tutorial. But I found that the project zip file does not contain the web services piece of code e.g.
KlantWebService, KlantWebServiceEAR, MailClient, OrderWebService, OrderWebServiceEAR etc
I will really be thankful if you can please mail web service code as well.

Here is my email: princembd@gmail.com
Hope to recieve a response from your side.

Thanks a lot
Regards,
Prince Arora.

Eric Elzinga | May 14th, 2011 at 6:43 am
commenter

Hi Prince,

I made the resources available at : http://www.xenta.nl/resources/OracleServiceBusJumpstartResources.zip

With regards,
Eric

commenter

Hi Eric,it’s very use ful,Where can I download the resources (or sample project: KlantWebService, KlantWebServiceEAR, MailClient, OrderWebService, and OrderWebServiceEAR)?
plz send the Here is my email: subbu744@gmail.com
Hope to recieve a response from your side.

Thanks
Mani

commenter

Hi Mani,

See the download link at the bottom of the article : http://www.xenta.nl/resources/OracleServiceBusJumpstartResources.zip

commenter

Thanks Poorna!

commenter

Hi, I tried to test this tutorial using OSB 11g with eclipse IDE. But after importing the project, getting an library error for the file: wls-commonslogging-bridge (specification version = 1.0 and exact version required). I understood, this jar is part of Weblogic workshop. So please let me know how to resolve this or this tutorial won’t work on OSB 11g with eclipse IDE (Version : 3.7.1)

Please share if any library to be deployed on weblogic server to my id premkumar502@gmail.com
Thanks
Prem

commenter

I just tried to import the projects dir (configurationproject + normal osb projects) in my eclipse and it works just fine.
This is my Eclipse version :

Eclipse Platform
Version: 3.7.1
Build id: M20110909-1335

commenter

AFter deployment of KlantWebService , I am not able to see anything in WebService under the console .

And moreover when i am trying to access the http://localhost:7001/KlantWebService/KlantWebService?WSDL , it is giving me 404.

Can you please help me in fixing this.

commenter

Can you deploy it succesfully ?
When you login in the console and go to deployments, do you see the KlantWebService over there ?

commenter

Thanks for your prompt reply Eric.

yes i am able to deploy it successfully without any exception.

Yes, KlantWebServiceEAR is there and when I am expanding it , I am able to see 2 modules with name 5tg3wk and KlantWebService , but nothing is inside Web Services.

KlantWebServiceEAR Collapse Node Enterprise Application KlantWebServiceEAR Active OK Enterprise Application 100
Modules Collapse Node Modules
Web Application 5tg3wk Web Application
Web Application KlantWebService Web Application
EJBs Collapse Node EJBs
None to display
Web Services Collapse Node Web Services
None to display

commenter

Hello Eric,

I am getting below mentioned error while trying to implement the addCustomer.

OSB Assign action failed updating variable “transformedRequest”:
com.bea.wli.common.xquery.XQueryException:
Error parsing XML: {err}XP0006: “element {http://www.waai.nl/cdm/customer}Customer
{ {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }”:
bad value for type element {http://www.waai.nl/cdm/customer}AddCustomerRequest
{ {http://www.w3.org/2001/XMLSchema}anyType }

And here is my xquery transformation –

(:: pragma bea:local-element-parameter parameter=”$customer1″ type=”ns2:AddCustomerRequest/ns2:Customer” location=”../proxy/wsdl/CustomerCDM.xsd” ::)
(:: pragma bea:local-element-return type=”ns0:addKlant/ns1:klant” location=”../business/wsdl/Klant.xsd” ::)

declare namespace ns2 = “http://www.waai.nl/cdm/customer”;
declare namespace ns1 = “http://www.waai.nl/klant”;
declare namespace ns0 = “http://www.waai.nl/klant/service”;
declare namespace xf = “http://tempuri.org/My-First-OSB-Project/xquery/MapCustomerRequesttoKlant/”;

declare function xf:MapCustomerRequesttoKlant($customer1 as element())
as element() {

{ data($customer1/ns2:firstName) }
{ data($customer1/ns2:lastName) }

};

declare variable $customer1 as element() external;

xf:MapCustomerRequesttoKlant($customer1)

I have already wasted lot of time in it to resolve the issue , but right now i have lost all the hopes.

Can you please help , you are the last person who can help me now.

Thanks a Lot

commenter

I am facing one more problem when I am creating a MFL , i have successfully created it and tested it , but when i am using it in the xquery transformation it is not showing me the fields (customerId,firstName,lastName,age) under *.mfl name. Hence I am not able to complete the mapping.

I am stuck here. Please help

commenter

When i am deploying prequisite KlantWebServiceEAR to weblogic console, it is not generating test poing, and hence i am not getting wsdl, to use in osb project.

when i import KlantWebServiceEAR into Eclipse IDE, i am getting error for Library – wls-commonslogging-bridge.
has someone faced same issue?

commenter

Hi,
I’m also not getting the webservice after deploying KlanWebService.ear there is a KlantWebService web application installed under the ear, but no web service and no wsdl.

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Website:
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>