Status/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Christina Hustedde / Christina Hustedde (chustedde)
Created: 08/23/2013
Components: Web Services
Versions: 9.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: 9.0 /
Priority/Frequency: Normal / Some users will encounter
Locale/System: English / Win 2008 Enterprise Svr
Vote Count: 0
Problem Description:
Steps to Reproduce:
- Publish a function as a web service with an optional array argument.
- Attempt to use the service via SOAP without sending any data for the optional array.
Actual Result:
- 500 error
Expected Result:
- SOAP response
Any Workarounds:
- Send the SOAP envelope with an empty wrapper where the optional array would be. Example:
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body>
<doAPISomething xmlns="http://custompages.somesite">
<arg1>hello</arg1>
<arg2>123</arg2>
<optionalarg></optionalarg> <!--- 500 error without this --->
</doAPISomething>
</Body>
</Envelope>
- Or, change the argument in the published function to type="any"
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3617491
Reason: BugVerified
External Customer Info:
External Company:
External Customer Name: chustedde
External Customer Email:
External Test Config: My Hardware and Environment details:
Server Details
Server Product ColdFusion
Version 9,0,0,251028
Edition Enterprise
Operating System Windows Server 2008
OS Version 6.0
Update Level /C:/ColdFusion9/lib/updates/hf900-00010.jar
Adobe Driver Version 4.0 (Build 0005)
JVM Details
Java Version 1.6.0_14
Java Vendor Sun Microsystems Inc.
Java Vendor URL http://java.sun.com/
Java Home C:\ColdFusion9\runtime\jre
Java File Encoding Cp1252
Java Default Locale en_US
File Separator \
Path Separator ;
Line Separator Chr(13)
User Home C:\
User Dir C:\ColdFusion9\runtime\bin
Java VM Specification Version 1.0
Java VM Specification Vendor Sun Microsystems Inc.
Java VM Specification Name Java Virtual Machine Specification
Java VM Version 14.0-b16
Java VM Vendor Sun Microsystems Inc.
Java VM Name Java HotSpot(TM) Server VM
Java Specification Version 1.6
Java Specification Vendor Sun Microsystems Inc.
Java Specification Name Java Platform API Specification
Java Class Version 50.0
Attachments:
Comments: