Oracle generates not valid WSDL
716180Sep 30 2010 — edited Oct 1 2010Hi 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