IBM Support

Is there a way to change the default binding style from “rpc/literal? of Web Services in Sterling MCF 8.0 with JBoss?

Troubleshooting


Problem

Is there a way to change the default binding style from “rpc/literal? of Web Services in Sterling MCF 8.0 with JBoss?

Symptom

The problem is Sterling MCF 8.0 by default creates web services (WSDL file) in “rpc/literal” style for JBoss. There is no handle to create web services to be in “document/literal” style.
Weblogic creates the web services in “document/literal” style. However, the same procedure with JBoss is creates in “rpc/literal” style.
Error Message
There is no error message. The procedure goes on fine, but there is no handle to append the WSDL generation during build.

Resolving The Problem

The binding style is a part of the WSDL file generated by the web services build command. At present, one cannot pass the binding style attribute in the build command. Sterling enhanced the MCF v8.0 product to address this issue. Hf-17 of MCF v8.0 provides the fix.
Following are the details of the same.
The buildEAR script now takes a new parameter -Djboss-java2wsdl-style parameter. The valid values for this parameter are - “rpc” and “document”. The user can override the default setting through this parameter.
To build the web services in document style, give -Djboss-java2wsdl-style=rpc/document to the buildEAR command.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX6864

Product Synonym

[<p><b>]Function Area[</b><p>];web services;[<p><b>]Severity[</b><p>];Normal

Document Information

Modified date:
16 June 2018

UID

swg21556334