IBM Support

"soapAction attribute is missing or empty" validation error on generated SOAP 1.2 WSDL file

Troubleshooting


Problem

Validation error "soapAction attribute is missing or empty" occurrs on WSDL file generated from a Java class using IBM Rational Application Developer for WebSphere Software v7.5.5 JAX-WS with soap12.

Symptom

The following validation error on {Some}SOAPImplService.wsdl shows in the Rational Application Developer v7.5.5 Problems view:

WSDL: The soapAction attribute is missing or empty. It is required when soapActionRequired is set to true.



The above error is caused by line {nn} in the WSDL, as shown :
...
<soap12:operation soapAction=""/>
...

The above line is part of the example block shown below:

<binding name="SomeSOAPImplPortBinding"
type="tns:SomeSOAPImplDelegate">
<soap12:binding style="document"
transport="http://www.w3.org/2003/05/soap/bindings/HTTP/"/>
<operation name="someaction">
<soap12:operation soapAction=""/> <!-- line {nn} error-->
<input>
<soap12:body use="literal"/>
</input>
<output>
<soap12:body use="literal"/>
</output>
</operation>
<operation name="someactionWithDefaults">
<soap12:operation soapAction=""/>
<input>
<soap12:body use="literal"/>
</input>
<output>
<soap12:body use="literal"/>
</output>
</operation>
</binding>
[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Web Services Development","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.5.4;7.5.5","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
Rational Application Developer for WebSphere Software

Software version:
7.5.4, 7.5.5

Operating system(s):
Linux, Windows

Document number:
139571

Modified date:
16 June 2018

UID

swg21440069

Manage My Notification Subscriptions