Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle generates not valid WSDL

716180Sep 30 2010 — edited Oct 1 2010
Hi guys!
I am publishing all the stuff in my schema (Oracle 11g) as Web Services.
The wsdls that Oracle generates for me are ok, except in this case:

CREATE OR REPLACE TYPE name_tp AS OBJECT(
first_name varchar2(20),
......)

CREATE OR REPLACE TYPE person_tp AS OBJECT(
person_name name_tp,
.......)

create or replace function test( p_person person_tp)
......

When I have this situation, the wsdl is not valid, because Oracle generates sth like this
<xsd:element name="person_name" type="name_tp"/>
instead of
<xsd:element name="person_name" type="tns:name_tp"/>

Any ideas, how can i fix this problem?

Deep regards,
Slavi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2010
Added on Sep 30 2010
2 comments
283 views