WSDL generated webservice control creates incorrect return type using XMLBeans

(Doc ID 1054393.1)

Last updated on DECEMBER 03, 2012

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.


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:element name="ResponseInfo" type="Q1:ResponseInfoType"></xsd:element>
<xsd:element name="TapestryOrderNumber" type="Q1:TapestryOrderNumberType" nillable="true">

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


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms