Skip to Content
0
Former Member
Apr 13, 2007 at 09:27 AM

Error in importing WSDL

99 Views

Hi,

I am trying to Impot a WSDL file generated from Oracle Jdeveloper but get the following expection.The WSDL is RPC type and I had selected "Using RPC Type".

WSDL is attached below.

Thanks and regards,

Bikram

**

com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method convertExternalDocument. at com.sap.aii.ibrep.sbeans.misc.RepSpecMiscServicesRemoteObjectImpl0.convertExternalDocument(RepSpecMiscServicesRemoteObjectImpl0.java:1003) at com.sap.aii.ibrep.sbeans.misc.RepSpecMiscServicesRemoteObjectImpl0p4_Skel.dispatch(RepSpecMiscServicesRemoteObjectImpl0p4_Skel.java:377) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:309) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:194) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:215) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: com.sap.aii.utilxi.misc.api.UnexpectedException: Internal Error: An unexpected error occurred (com.sap.aii.utilxi.wsdl.api.InvalidExtensionException: Tag schema is in the WSDL namespace and therefore cannot be used as an enhancement) at com.sap.aii.utilxi.wsdl.api.WsdlParser.addExtension(WsdlParser.java:129) at com.sap.aii.utilxi.wsdl.api.WsdlParser.transferTypes(WsdlParser.java:185) at com.sap.aii.utilxi.wsdl.api.WsdlParser.transferWsdlRootSubelement(WsdlParser.java:137) at com.sap.aii.utilxi.wsdl.api.WsdlParser.transferRootSubelement(WsdlParser.java:119) at com.sap.aii.utilxi.wsdl.api.WsdlParser.transferRootSubelements(WsdlParser.java:98) at com.sap.aii.utilxi.wsdl.api.WsdlParser.parseWsdl(WsdlParser.java:53) at com.sap.aii.utilxi.wsdl.api.WsdlHandler.parseWsdl(WsdlHandler.java:39) at com.sap.aii.ibrep.server.extdef.WsdlInternalServerExternalCategoryService.convert(WsdlInternalServerExternalCategoryService.java:43) at com.sap.aii.ibrep.server.extdef.ServerExternalConversionService.convert(ServerExternalCategoryServiceProvider.java:41) at com.sap.aii.ibrep.sbeans.misc.RepSpecMiscServicesBean.convertExternalDocument(RepSpecMiscServicesBean.java:185) at com.sap.aii.ibrep.sbeans.misc.RepSpecMiscServicesRemoteObjectImpl0.convertExternalDocument(RepSpecMiscServicesRemoteObjectImpl0.java:929) ... 10 more ; nested exception is: com.sap.aii.utilxi.misc.api.UnexpectedException: Internal Error: An unexpected error occurred (com.sap.aii.utilxi.wsdl.api.InvalidExtensionException: Tag schema is in the WSDL namespace and therefore cannot be used as an enhancement)

**

WSDL

<?xml version = '1.0' encoding = 'UTF-8'?>

<! Generated by the Oracle JDeveloper 10g Web Services WSDL Generator >

<! Date Created: Fri Apr 13 11:00:19 CAT 2007 >

<definitions

name="XIInterface"

targetNamespace="http://XIWebService/XIInterface.wsdl"

xmlns="http://schemas.xmlsoap.org/wsdl/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

xmlns:tns="http://XIWebService/XIInterface.wsdl"

xmlns:ns1="http://XIWebService/XIInterface.xsd">

<types>

<ns0:schema

targetNamespace="http://XIWebService/XIInterface.xsd"

xmlns="http://www.w3.org/2001/XMLSchema"

xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://schemas.xmlsoap.org/wsdl/">

http://xmlns.oracle.com/jdeveloper/webservices">

<all>

<element name="array" type="ns1:ArrayOfString"/>

</all>

</complexType>

http://schemas.xmlsoap.org/wsdl/">

<complexContent>

<restriction base="SOAP-ENC:Array">

<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]"/>

</restriction>

</complexContent>

</complexType>

</ns0:schema>

</types>

<message name="bundleAcknowledge10Request">

<part name="vStatus" type="xsd:string"/>

<part name="vBundleNo" type="ns1:XIWebService_Bundle1"/>

</message>

<message name="bundleAcknowledge10Response"/>

<portType name="XIInterfacePortType">

<operation name="bundleAcknowledge1">

<input name="bundleAcknowledge10Request" message="tns:bundleAcknowledge10Request"/>

<output name="bundleAcknowledge10Response" message="tns:bundleAcknowledge10Response"/>

</operation>

</portType>

<binding name="XIInterfaceBinding" type="tns:XIInterfacePortType">

http://schemas.xmlsoap.org/soap/http"/>

<operation name="bundleAcknowledge1">

<soap:operation soapAction="" style="rpc"/>

<input name="bundleAcknowledge10Request">

http://schemas.xmlsoap.org/soap/encoding/"/>

</input>

<output name="bundleAcknowledge10Response">

http://schemas.xmlsoap.org/soap/encoding/"/>

</output>

</operation>

</binding>

<service name="XIInterface">

<port name="XIInterfacePort" binding="tns:XIInterfaceBinding">

<soap:address location="http://alurcb-000347:8988/BayCHSMESXIInterface/XIInterface"/>

</port>

</service>

</definitions>