Skip to Main Content

Java Development Tools

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!

Error Creating Web Service Proxy from WSDL

Joe the JetMar 3 2016 — edited Mar 3 2016

Using 11.1.1.5 version

Trying to read WSDL from another company.

oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/C:/java/FTS/ws_ftms.cfc.xml": undefined attribute 'soapenc:arrayType'undefined simple or complex type 'soapenc:Array'

    at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1635)

There's a lot more to the stack trace, but that's probably enough.

The error seems to point at this part of the XML

<wsdl:definitions targetNamespace="http://prod" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://prod" xmlns:intf="http://prod

xmlns:tns1="http://rpc.xml.coldfusion" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<!--WSDL created by ColdFusion version 10,0,18,296330-->

<wsdl:types>

  <schema targetNamespace="http://prod" xmlns="http://www.w3.org/2001/XMLSchema">

   <import namespace="http://rpc.xml.coldfusion"/>

   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>

   <complexType name="ArrayOf_xsd_string">

    <complexContent>

     <restriction base="soapenc:Array">

      <attribute ref="soapenc:arrayType"

                 wsdl:arrayType="xsd:string"/>

    </restriction>

    </complexContent>

   </complexType>

   <complexType name="ArrayOfArrayOf_xsd_anyType">

    <complexContent>

      <restriction base="soapenc:Array">

      <attribute ref="soapenc:arrayType"

                 wsdl:arrayType="xsd:string"/>

    </restriction>

    </complexContent>

   </complexType>

Is this something that 11.1.1.5 just cannot handle?

This post has been answered by Joe the Jet on Mar 3 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2016
Added on Mar 3 2016
2 comments
913 views