Forum Stats

  • 3,854,173 Users
  • 2,264,332 Discussions
  • 7,905,588 Comments

Discussions

JDeveloper - plsql webservice -refactor rename error

PeterValencic
PeterValencic Member Posts: 522 Red Ribbon

Hello,

I have a problem with exposing plsql procedure as webservice...

Consider the following packaged procedure header:


[code]

procedure p_vnesi_datoteko

( p_vsebina          in    varchar2

, p_naziv_datoteke   in    varchar2

, p_opis             in    varchar2

, p_oad_id           out  number

);

[/code]


When generated as a PL/SQL webservice in jDeveloper I get this:


  <wsdl:message name="MyWebService1_pVnesiDatoteko">

        <wsdl:part name="String_1" type="xsd:string"/>

        <wsdl:part name="String_2" type="xsd:string"/>

        <wsdl:part name="String_3" type="xsd:string"/>

        <wsdl:part name="BigDecimal_4" type="xsd:decimal"/>

    </wsdl:message>

I tryed with WSDL schema editor with refactor rename and renamed all atributes names but when deploying I get this error:

11:25:34 AM] weblogic.application.ModuleException: [HTTP:101216]Servlet: "MyWebService1Port" failed to preload on startup in Web application: "rrr.war".

weblogic.wsee.ws.WsException: Failed to find part BigDecimal_4 in wsdl message :([email protected] <name={http://mz/MyWebService1.wsdl}MyWebService1_pVnesiDatoteko> <partList[]{([email protected] <name=vsebina> <type={http://www.w3.org/2001/XMLSchema}string> <element=null>),([email protected] <name=naziv_datoteke> <type={http://www.w3.org/2001/XMLSchema}string> <element=null>),([email protected] <name=opis> <type={http://www.w3.org/2001/XMLSchema}string> <element=null>),([email protected] <name=oad_id> <type={http://www.w3.org/2001/XMLSchema}decimal> <element=null>)}>)

  at weblogic.wsee.ws.WSBuilderHelper.getTypeHolders(WSBuilderHelper.java:800)

  at weblogic.wsee.ws.WSBuilderHelper.consumeHolders(WSBuilderHelper.java:282)

  at weblogic.wsee.ws.WSBuilderHelper.populatePort(WSBuilderHelper.java:236)

  at weblogic.wsee.ws.WSBuilderHelper.buildWsPort(WSBuilderHelper.java:195)

  at weblogic.wsee.ws.WSBuilderHelper.buildService(WSBuilderHelper.java:88)

This discussion has been closed.