My Oracle Support Banner

WSDL generated webservice control creates incorrect return type using XMLBeans (Doc ID 1054393.1)

Last updated on JUNE 25, 2021

Applies to:

Oracle WebLogic Server - Version 9.2 to 10.0
Oracle Workshop for Weblogic - Version 9.2 to 10.1 [Release 9.2 to Weblogic Platform]
Information in this document applies to any platform.

Symptoms

In Workshop 9.2, when a Webservice control is created from a WSDL that returns an array of XML documents, there are two options available:
  1. Use Apache XmlBean mapping
  2. Use JAX-RPC bean mapping

The control generates a wrong return type when using XMLBeans.

For eg:
<xsd:element name="ModifyOrderResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ResponseInfo" type="Q1:ResponseInfoType"></xsd:element>
<xsd:element name="TapestryOrderNumber" type="Q1:TapestryOrderNumberType" nillable="true">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>

when generating service control from workshop using XMLBeans, the return type of
  --public TapestryOrderNumberType modifyOrder( Arguments )
is received instead of
  --public ModifyOrderResponse modifyOrder( Arguments )

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.