wood burning stoves 2.0*
The moose likes Web Services and the fly likes mapping oracle defined complex type in jdeveloper Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "mapping oracle defined complex type in jdeveloper" Watch "mapping oracle defined complex type in jdeveloper" New topic
Author

mapping oracle defined complex type in jdeveloper

Matt Kohanek
Village Idiot
Ranch Hand

Joined: Apr 04, 2009
Posts: 483

Hi all

I am deving a BPEL SOAP service in jdeveloper. I am getting the following error right now:




Here is the procedure signature I am trying to invoke:



The issue seems to be with p_expanded IN VARCHAR_TBL_TYPE (this is just a table of varchar2's)

I know because if I remove that param and redeploy a bpel with everything but that input, it works.
When I invoke and check my BPEL flow, the xml in the invoke action looks like this:



So is what form should that XMl take to correctly invoke the pl sql procedure? I know this is a somewhat indirect question, but if I know what form that xml should take to successfully invoke the procedure I have above, I am sure I can rearrange the xsd files to make it happen. I am just not sure how to invoke a pl sql procedure from a soap service when it uses this datatype - I even have it working with the user defined complex types that are the out params, but this oracle defined data type is giving me trouble...


True wisdom is in knowing you know nothing - Socrates
Matt Kohanek
Village Idiot
Ranch Hand

Joined: Apr 04, 2009
Posts: 483

So my problem was in the xsd file:

where it has
db:type="Array"
I had left that as
db:type="VARCHAR2"

so of course there was a type mismatch - no way anyone could've guessed that from my post above heh
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mapping oracle defined complex type in jdeveloper