ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Create SOAP Fault with right namespace

Post new topic  Reply to topic
 Create SOAP Fault with right namespace « View previous topic :: View next topic » 
Author Message
Adreno
PostPosted: Thu Jun 26, 2008 1:18 am    Post subject: Create SOAP Fault with right namespace Reply with quote

Acolyte

Joined: 05 Jul 2007
Posts: 71

Hi guys,

I need some advice on how to create a SOAP Fault within the WMB 6.1 with the right namespace. I got an internal messageset with a namespace of www.mynamespace.com for example and within this namespace there are the request and the response objekt of my webservice.

Beneath that there is a second message definition file within my message set, which is made for the SOAP fault object in has the namespace http://schemas.xmlsoap.org/soap/envelope/. To use both namespaces I imported the second message definition file into my first one. Now the objects and elements are available for use in my first message definition.

So if now an backend occurs I parse this error string to my fault object and send it back the requesting webservice. As i can see the fault object is still in the wrong namespace, what causes PHP to think a fault is a valid return value. See response below: Any suggesteions on how to set the fault object into the right namespace.?

Response:
<NS1:Envelope xmlns:NS1="http://schemas.xmlsoap.org/soap/envelope/"><NS1:Body><NS2:Fault xmlns:NS2="http://www.mynamespace.de/Middleware"><NS1:faultcode>SOAP-ENV:SERVER</NS1:faultcode><NS1:faultstring>An exception during backendprocessing TO TERMINAL &apos;out1&apos; FINALIZE DEFAULT DELETE DEFAULT;</Text>
_________________
There are two kinds of people in this world: people who s***, and Chuck Norris...
Back to top
View user's profile Send private message
broker_new
PostPosted: Thu Jun 26, 2008 3:36 am    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

Iam exposing a webservice which gets timedout after 15 seconds.

If it get timdeout after 15 seconds broker creates a SOAP fault message stating that this particualr service got timedout.

Is there a way to customize the timeout message(SOAP fault message) for SOAP Fault 1.1 format.
Back to top
View user's profile Send private message
vsr
PostPosted: Thu Jun 26, 2008 4:54 am    Post subject: Re: Create SOAP Fault with right namespace Reply with quote

Centurion

Joined: 04 Apr 2006
Posts: 104

Adreno wrote:

As i can see the fault object is still in the wrong namespace, what causes PHP to think a fault is a valid return value. See response below: Any suggesteions on how to set the fault object into the right namespace.?

I didn't understand what you mean by right namespace. This namespace is set when you have created the message set itself, right ? Are you saying that the output message has different namespace than what is set ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Create SOAP Fault with right namespace
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.