header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
November 22, 2008, 03:33:27 am
Username: Password:
Login with username, password and session length

Forgot your password?
 
Missing Matching Fault with Soap1.2
Welcome, Guest. Please login or register.
November 22, 2008, 03:33:27 am
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Missing Matching Fault with Soap1.2
« previous next »
Pages: [1] Print
Author Topic: Missing Matching Fault with Soap1.2  (Read 351 times)
Heiko Wrede
Newbie
*
Posts: 3


« on: June 19, 2008, 08:08:52 am »

Hi Ole,

I have some trouble with SOAP Faults using soap1.2:

If I receive a SoapFault with a user defined detail section a "WARN:Missing matching Fault in wsdl for bindingOperation" message appears in the soapUI log window. The WSDL defines the fault so I think everything ist all right.

Same case using soap1.1 no warning is logged. A Schema Comliance assertion goes to green in both cases.


On my research for a solution I found a soapUI code snippet at http://www.soapui.org/xref/com/eviware/soapui/impl/wsdl/support/wsdl/WsdlValidator.html
(is it the latest code version?)

There (at the bottom) you are checking for the detail element by the XPath "//env:Fault/detail/ns:". That only matches for soap1.1. With soap1.2 it should be "//env:Fault/env:Detail/ns:".

The Detail element in SOAP 1.2 is namespace http://schemas.xmlsoap.org/wsdl/soap12/ , that's why the XPath is wrong and warns! It should not unter SOAP 1.2 if everything is correctly and most explicitly specified in wsdl as it really irritates me.

Furthermore the schema validation under SOAP 1.2 seems to succed even if specified Element under Detail is not matching the wsdl even if explicitly defined. Under SOAP 1.1 SOAPUI seems to warn appropriatly on schema validation.


Is it a "missing feature" in soapUI or don't I took the point of soap fault definition?


regards
Heiko
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,425


« Reply #1 on: June 19, 2008, 06:56:27 pm »

Hi Heikko,

thanks for tracking this down, you are entirely correct in that soap 1.2 faults are not validated/handled correctly here.. I'll fix this for the next release..

regards!

/Ole
eviware.com
Logged
Heiko Wrede
Newbie
*
Posts: 3


« Reply #2 on: June 20, 2008, 09:15:10 am »

Great! The mistake isn't placed in out Service!  Cheesy

"more great" to get a fix for soapUI!  Grin

The next Version will become a fabulous present! Thanx

regards
Heiko
« Last Edit: June 20, 2008, 09:16:48 am by Heiko Wrede » Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header