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 » SOAP fault missing

Post new topic  Reply to topic
 SOAP fault missing « View previous topic :: View next topic » 
Author Message
wmb_wannabe
PostPosted: Tue Nov 02, 2010 10:47 am    Post subject: SOAP fault missing Reply with quote

Newbie

Joined: 02 Nov 2010
Posts: 5

I created a web service flow using the "Start from WSDL/XSD files", I was able to call the web service and was able to receive a response with valid data. When I pass invalid request, I expect a soap fault to be returned by the web service but it is throwing a node exception.

I tried the same request from soap UI and got a soap fault response back.

How do I extract the soap fault.
Back to top
View user's profile Send private message
wmb_wannabe
PostPosted: Tue Nov 02, 2010 10:52 am    Post subject: Reply with quote

Newbie

Joined: 02 Nov 2010
Posts: 5

Following is the TRACE

Following is the trace (ExceptionList)

Quote:
Tracing Exception List = ( ['MQROOT' : 0x11505d0d0]
(0x01000000:Name):RecoverableException = (
(0x03000000:NameValue):File = '/build/S610_P/src/DataFlowEngine/ImbDataFlowNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 957 (INTEGER)
(0x03000000:NameValue):Function = 'ImbDataFlowNode::createExceptionList' (CHARACTER)
(0x03000000:NameValue):Type = 'ImbRequestTemplateNode' (CHARACTER)
(0x03000000:NameValue):Name = 'MyApplicationServer#FCMComposite_1_7.gen/getServiceQA_MyApplicationServer#FCMComposite_
1_8' (CHARACTER)
(0x03000000:NameValue):Label = 'MyApplicationServer.GetServiceQA.Request' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 2230 (INTEGER)
(0x03000000:NameValue):Text = 'Node throwing exception' (CHARACTER)
(0x01000000:Name ):RecoverableException = (
(0x03000000:NameValue):File = '/build/S610_P/src/WebServices/WSLibrary/ImbSOAPRequestNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 2148 (INTEGER)
(0x03000000:NameValue):Function = 'ImbSOAPRequestNode::logWebServiceInvocationException' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 1 (INTEGER)
(0x03000000:NameValue):Number = 3162 (INTEGER)
(0x03000000:NameValue):Text = 'WebService Request Exception' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 12 (INTEGER)
(0x03000000:NameValue):Text = '436f6e74656e742d4c656e6774683a203236300d0a417574686f72697a6174696f6e3a204261736963206158527a643256694f6d6c306333646c596
73d3d0d0a436f6e74656e742d547970653a20746578742f786d6c3b20636861727365743d69736f2d383835392d310d0a486f73743a2065636f6d2e6465762e6962782e636f6d3a3434330d0a534f4
150416374696f6e3a20687474703a2f2f6c6f63616c686f73743a393038322f434953436c61696d53657276696365732f73657276696365732f436c61696d536572766963652f676574434953436c6
1696d3f6d6574686f643d676574434953436c61696d0d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a0d0a' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 12 (INTEGER)
(0x03000000:NameValue):Text = '3c4e53313a456e76656c6f706520786d6c6e733a4e53313d22687474703a2f2f736368656d61732e786d6c736f61702e6f72672f736f61702f656e7
6656c6f70652f223e3c4e53313a426f64793e3c4e53323a476574434953436c61696d20786d6c6e733a4e53323d22687474703a2f2f73657276696365732e6962782e636f6d2f636c61696d732f436
c61696d536572766963652f323031302f31302f31352f56342e372f436c61696d52657175657374223e3c4e53323a436c61696d4e6f3e3533333132303236393c2f4e53323a436c61696d4e6f3e3c2
f4e53323a476574434953436c61696d3e3c2f4e53313a426f64793e3c2f4e53313a456e76656c6f70653e' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 12 (INTEGER)
(0x03000000:NameValue):Text = '485454502f312e3120323030204f4b0d0a636f6e74656e742d6c616e67756167653a20656e2d55530d0a636f6e74656e742d6c656e6774683a20313
137390d0a636f6e74656e742d747970653a20746578742f786d6c3b20636861727365743d5554462d380d0a646174653a205475652c203032204e6f7620323031302031373a35353a323520474d540
d0a7033703a2043503d224e4f4e20435552204f545069204f5552204e4f5220554e49220d0a7365727665723a2049424d5f485454505f5365727665720d0a687369643a2031342d31314320443d313
3303538330d0a782d68702d63616d2d636f6c6f723a20563d313b536572766572416464723d4362412b776e76617641583441645a334448666678773d3d3b475549443d317c6462615049646131626
77378425056757342474a4d496f587041654f344a6c3658304e766348664857554b506d6e54554864484c55422d45586c59674374686d7c4c304e4a55304e7359576c7455325679646d6c6a5a584d7
663325679646d6c6a5a584d7651327868615731545a584a3261574e6c4c32646c64454e4a55304e7359576c740d0a5365742d436f6f6b69653a2050442d482d53455353494f4e2d49443d345f4c577
a78426871306c42566f6d725356483270764a39535136526d424d72715056497a424142326a442b674c755331433b20506174683d2f0d0a5365742d436f6f6b69653a2050442d49443d712d782b335
57a53464d634772754b6e416c6b435a6430584b50444b573250544b347654682b434d502d4979384e4577616e4b3742377974755251766e5147713878502b76366a30733866456e2d324a397051425
261342d5650396b4e456c4652776574536f6e68473539343956584944694145674e2b4a6b357771566769356a566a6e62433879484b7757553367362b634d31616e41465a4b37756a34534937527a4
e39336e67436838724a6d67776347696d4b58464e525378586f4e6273643942544e424b69702d6c4464344a72686f5942376e61697737505236564a644e716445683944793059774f724d59342d4c7
8304342377459626f6d374c513773514f613337716f447248707a492b386d5445566e4546476153707064513578466d576e5567366c50335875436247636675424b6e7576354a5638302b7a6c30784
7435930372b616447637948357637474d4e497a6d44477831766f6164314d674d6c2b34584d7643425036553862616b7275424f7470424956454e35774f7046494142392d5a583047343d3b20446f6
d61696e3d2e6465762e6962782e636f6d3b20506174683d2f3b205365637572650d0a0d0a' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 12 (INTEGER)
(0x03000000:NameValue):Text = '3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0a3c6e733
33a456e76656c6f706520786d6c6e733a6e73313d22687474703a2f2f73657276696365732e6962782e636f6d2f636c61696d732f436c61696d536572766963652f323031302f31302f31352f56342
e372f636c61696d73456c656d656e74732220786d6c6e733a6e73333d22687474703a2f2f736368656d61732e786d6c736f61702e6f72672f736f61702f656e76656c6f70652f2220786d6c6e733a6
872786d6c3d22687474703a2f2f6e732e68722d786d6c2e6f72672f323030342d30382d30322220786d6c6e733a6e73323d22687474703a2f2f73657276696365732e6962782e636f6d2f636c61696
d732f436c61696d536572766963652f323031302f31302f31352f56342e372f636c61696d732220786d6c6e733a636f6d6d3d22687474703a2f2f7777772e6962782e636f6d2f65636f6d6d6572636
52f323030362d7630312f636f6d6d6f6e223e0a202020203c6e73333a426f64793e0a20202020202020203c6e73333a4661756c743e0a2020202020202020202020203c6661756c74636f64653e434
c4d30303031313c2f6661756c74636f64653e0a2020202020202020202020203c6661756c74737472696e673e436c61696d204e6f7420466f756e6420696e204349533c2f6661756c74737472696e6
73e0a2020202020202020202020203c6661756c746163746f723e5365727665723c2f6661756c746163746f723e0a2020202020202020202020203c64657461696c3e0a20202020202020202020202
0202020203c6e73313a427573696e6573734572726f7220786d6c6e733a6e73313d22687474703a2f2f7777772e6962782e636f6d2f65636f6d6d657263652f323030362d7630312f6572726f72223
e0a20202020202020202020202020202020202020203c4c6f6e674465736372697074696f6e2f3e0a20202020202020202020202020202020202020203c4c697374456e7469747949443e0a2020202
020202020202020202020202020202020202020203c456e7469747949443e3533333132303236393c2f456e7469747949443e0a20202020202020202020202020202020202020203c2f4c697374456
e7469747949443e0a20202020202020202020202020202020202020203c54696d654f664572726f723e323031302d31312d30325431333a35353a32352e3230372d30343a30303c2f54696d654f664
572726f723e0a20202020202020202020202020202020202020203c4572726f72436f64653e434c4d30303031313c2f4572726f72436f64653e0a20202020202020202020202020202020202020203
c53686f72744465736372697074696f6e3e436c61696d204e6f7420466f756e6420696e204349533c2f53686f72744465736372697074696f6e3e0a202020202020202020202020202020203c2f6e7
3313a427573696e6573734572726f723e0a2020202020202020202020203c2f64657461696c3e0a20202020202020203c2f6e73333a4661756c743e0a202020203c2f6e73333a426f64793e0a3c2f6
e73333a456e76656c6f70653e0a' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'POST /host1/Services/services/Service/getService?method=getSingleService HTTP/1.1
' (CHARACTER)
)
(0x01000000:Name ):RecoverableException = (
(0x03000000:NameValue):File = '/build/S610_P/src/WebServices/WSLibrary/ImbSOAPRequestNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 1243 (INTEGER)
(0x03000000:NameValue):Function = 'ImbSOAPRequestNode::requestData' (CHARACTER)
(0x03000000:NameValue):Type = 'ImbRequestTemplateNode' (CHARACTER)
(0x03000000:NameValue):Name = 'MyApplicationServer#FCMComposite_1_7.gen/getServiceQA_MyApplicationServer#FCMComposite_1_8' (CH
ARACTER)
(0x03000000:NameValue):Label = 'MyApplicationServer.GetServiceQA.Request' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 3710 (INTEGER)
(0x03000000:NameValue):Text = 'A SOAP Request node received a SOAP Fault response message, but the HTTP Status code was Success (2xx).' (CHARACTER
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'HTTP/1.1 200 OK' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'https://host.com/serviceqa1/Services/services/Service/getService?method=getSingleService' (CHARACTER)
)
)
)
)
)
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Nov 02, 2010 11:45 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Your server is returning a fault, the data returned is:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:Envelope xmlns:ns1="http://services.ibx.com/claims/ClaimService/2010/10/15/V4.7/claimsElements" xmlns:ns3="http://s
chemas.xmlsoap.org/soap/envelope/" xmlns:hrxml="http://ns.hr-xml.org/2004-08-02" xmlns:ns2="http://services.ibx.com/clai
ms/ClaimService/2010/10/15/V4.7/claims" xmlns:comm="http://www.ibx.com/ecommerce/2006-v01/common">
    <ns3:Body>
        <ns3:Fault>
            <faultcode>CLM00011</faultcode>
            <faultstring>Claim Not Found in CIS</faultstring>
            <faultactor>Server</faultactor>
            <detail>
                <ns1:BusinessError xmlns:ns1="http://www.ibx.com/ecommerce/2006-v01/error">
                    <LongDescription/>
                    <ListEntityID>
                        <EntityID>533120269</EntityID>
                    </ListEntityID>
                    <TimeOfError>2010-11-02T13:55:25.207-04:00</TimeOfError>
                    <ErrorCode>CLM00011</ErrorCode>
                    <ShortDescription>Claim Not Found in CIS</ShortDescription>
                </ns1:BusinessError>
            </detail>
        </ns3:Fault>
    </ns3:Body>
</ns3:Envelope>


However, this was sent with a status code of 200, and the SOAPRequest node expects faults to be returned with 500 status codes. Can you make the server return you a 500 code?

Kind Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
wmb_wannabe
PostPosted: Tue Nov 02, 2010 11:52 am    Post subject: Reply with quote

Newbie

Joined: 02 Nov 2010
Posts: 5

mgk wrote:
Your server is returning a fault, the data returned is:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:Envelope xmlns:ns1="http://services.ibx.com/claims/ClaimService/2010/10/15/V4.7/claimsElements" xmlns:ns3="http://s
chemas.xmlsoap.org/soap/envelope/" xmlns:hrxml="http://ns.hr-xml.org/2004-08-02" xmlns:ns2="http://services.ibx.com/clai
ms/ClaimService/2010/10/15/V4.7/claims" xmlns:comm="http://www.ibx.com/ecommerce/2006-v01/common">
    <ns3:Body>
        <ns3:Fault>
            <faultcode>CLM00011</faultcode>
            <faultstring>Claim Not Found in CIS</faultstring>
            <faultactor>Server</faultactor>
            <detail>
                <ns1:BusinessError xmlns:ns1="http://www.ibx.com/ecommerce/2006-v01/error">
                    <LongDescription/>
                    <ListEntityID>
                        <EntityID>533120269</EntityID>
                    </ListEntityID>
                    <TimeOfError>2010-11-02T13:55:25.207-04:00</TimeOfError>
                    <ErrorCode>CLM00011</ErrorCode>
                    <ShortDescription>Claim Not Found in CIS</ShortDescription>
                </ns1:BusinessError>
            </detail>
        </ns3:Fault>
    </ns3:Body>
</ns3:Envelope>


However, this was sent with a status code of 200, and the SOAPRequest node expects faults to be returned with 500 status codes. Can you make the server return you a 500 code?

Kind Regards,



How did you got the above soap envelope xml, I was looking for the same?
Back to top
View user's profile Send private message
napier
PostPosted: Tue Nov 02, 2010 1:20 pm    Post subject: Reply with quote

Apprentice

Joined: 09 Oct 2007
Posts: 48
Location: USA

Convert hexadecimal to string
Back to top
View user's profile Send private message
wmb_wannabe
PostPosted: Tue Nov 02, 2010 4:16 pm    Post subject: Reply with quote

Newbie

Joined: 02 Nov 2010
Posts: 5

napier wrote:
Convert hexadecimal to string


how do i know which hexa values from trace contains soap fault details?

how do i get in ESQL and convert to string?
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 » SOAP fault missing
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.