Clientgen Ant Task Generates An "Invalid Style" Error For Local Wsdl

(Doc ID 1906344.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.

Goal

Using WLS  clientgen ant task to create client artifacts from a WSDL. When the ant build is executed, messages like "invalid style" messages are generated similar to the following when wsdl operation contains wsdl:fault

 



[clientgen] [ERROR] operation "logoff" has an invalid style
[clientgen] line 1834 of file:/home/weblogic/user_projects/applications/Test.wsdl
[clientgen] [ERROR] operation "logoff" has an invalid style
[clientgen] line 2362 of file:/home/weblogic/user_projects/applications/Test.wsdl
[clientgen] [ERROR] missing required property "style" of element "operation"

 

Solution

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