Skip to content

XAware Community

Get the Flash Player to see this player.
Flash Image Rotator Module by Joomlashack.
XAware 5.6
Need Help
Webinars and Events
Advanced Tutorials
Webinars and Events

You are here: Home arrow Forums
XAware Community Forums
Welcome, Guest
Please Login or Register.    Lost Password?
US102 Web Services Updates (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: US102 Web Services Updates
#5612
tferguson (User)
XAware expert
Posts: 494
User Offline Click here to see the profile of this user
US102 Web Services Updates 11 Years, 3 Months ago Karma: 6  
QUOTE:
When creating a BizDoc from a WSDL, we should generate the appropriate error handler/SOAP Fault code. The fault structure is optionally described in the operation definition. We should use this definition to determine the fault message structure within the error handler. When the fault structure is declared by the operatoin, place an xa:response in the standard Error Handler with the appropriate SOAP Fault structure. Need to coordinate this with the servlet(s) so a returned SOAP Fault is passed back to calling application. Currently, a SOAP 1.1 Fault can be passed thru, but only when the BizDoc result flag is set to 'success'.


The implementation for this is as follows:
When generating BizDoc from a WSDL, there is an option to "Create Default Error Handler", when this is selected, if there is at least one fault defined for the chosen operation, that fault will be generated in the error handler element under an xa:response element. If there are multiple faults defined then they will all be generated as siblings under the xa:response method and the user will need to add logic in to determine which one should be returned. If no fault is defined it will continue to generate the same error structure as before.

The current way of causing a fault to "pass thru" will still require setting the BiZDoc result flag to "success" - this should be a rare case now that we have fixed the generation of the soap fault structure as in general you don't want to tie your bizdocs to SOAP, rather let the connector handle the SOAP wrapping/un-wrapping.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
US102 Web Services Updates
tferguson 2009/10/12 14:16
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Community Login

Get the Flash Player to see this player.
Flash Image Rotator Module by Joomlashack.
Commercial
Free Training
QuickStart Packages
Image 4 Title
Image 5 Title

Visit XAware.com