Author |
Message
|
vikas.bhu |
Posted: Thu Sep 16, 2010 2:21 am Post subject: generic 500 error |
|
|
Disciple
Joined: 17 May 2009 Posts: 159
|
Hi
In our requirement have done SSL setting to call a web service(through https).
actually earlier this coding was done by java compute node and every thing was runnig fine.
now we have used http request node to call the web service.
and now we are getting follwing error.
0x01000000):HTTPResponseHeader = ( ['WSRSPHDR' : 0x105950040]
(0x03000000):X-Original-HTTP-Status-Line = 'HTTP/1.1 500 No service found' (CHARACTER)
(0x03000000):X-Original-HTTP-Status-Code = 500 (INTEGER)
(0x03000000):Date = 'Wed, 15 Sep 2010 13:12:42 GMT' (CHARACTER)
(0x03000000):Server = 'ACE XML Gateway' (CHARACTER)
(0x03000000):Content-Type = 'text/xml; charset=utf-8' (CHARACTER)
(0x03000000):Content-Length = '296' (CHARACTER)
(0x03000000):Connection = 'close' (CHARACTER)
)
(0x01000000):BLOB = ( ['none' : 0x105954144]
Let me know if additional detail is required.
(HTTPS url given in HTTP request node is fine as we are hiting in internet explorer there is a message assking for certificate
port is open as earlier it was working). |
|
Back to top |
|
 |
mgk |
Posted: Thu Sep 16, 2010 3:15 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
Well the server says "'HTTP/1.1 500 No service found'" which suggests you may not have sent a SOAPAction (and/or a valid SOAP message body) that the server can understand. If you cannot make it work after checking this, post the BLOB message that was returned (the server claimed it sent you 296 bytes and these may contain useful info for diagnosis).
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 |
|
 |
vikas.bhu |
Posted: Thu Sep 16, 2010 4:42 am Post subject: |
|
|
Disciple
Joined: 17 May 2009 Posts: 159
|
what is wrong in the message
SET OutputRoot.Properties = InputRoot.Properties;
SET OutputRoot.Properties.MessageDomain = 'XMLNS';
SET OutputRoot.Properties.MessageType = '';
SET OutputRoot.Properties.MessageSet = '';
SET OutputRoot.Properties.MessageFormat = '';
SET OutputLocalEnvironment.queryType = 'abc';
SET OutputRoot.XMLNS.(XML.XmlDecl) = '';
SET OutputRoot.XMLNS.(XML.XmlDecl).(XML.Version) = '1.0';
SET OutputRoot.XMLNS.(XML.XmlDecl).(XML.Encoding) = 'UTF-8';
SET OutputRoot.XMLNS.soap:Envelope.(XML.NamespaceDecl)xmlns:soap = 'http://schemas.xmlsoap.org/soap/envelope/';
SET OutputRoot.XMLNS.soap:Envelope.(XML.NamespaceDecl)xmlns:xsi = 'http://www.w3.org/2001/XMLSchema-instance';
SET OutputRoot.XMLNS.soap:Envelope.(XML.NamespaceDecl)xmlns:xsd = 'http://www.w3.org/2001/XMLSchema';
-- Added soapAction
SET OutputRoot.XMLNS.soap:Envelope.soap:operation.soap:soapAction =
'http://xml.namespaces.abcd.com/im/xip/services/abc/wsdl/queryabc';
SET OutputRoot.XMLNS.soap:Envelope.soap:Body.qpis:Queryabc.(XML.NamespaceDecl)xmlns:qpis =
'http://xml.namespaces.xerox.com/im/xip/services/queryabc/wsdl';
SET OutputRoot.XMLNS.soap:Envelope.soap:Body.qpis:Queryabc.XIPMessage.XIPHeader.ApplicationID = 'as222';
SET OutputRoot.XMLNS.soap:Envelope.soap:Body.qpis:Queryabc.XIPMessage.XIPBody.Input.SerialNum = Environment.SerialNo[i];
SET Environment.currentSerialNo = Environment.SerialNo[i]; |
|
Back to top |
|
 |
vikas.bhu |
Posted: Thu Sep 16, 2010 4:54 am Post subject: |
|
|
Disciple
Joined: 17 May 2009 Posts: 159
|
following is the complete error I got form forum
Root:
( ['WSRoot' : 0x105949560]
(0x01000000):Properties = ( ['WSPROPERTYPARSER' : 0x106617392]
(0x03000000):MessageSet = '' (CHARACTER)
(0x03000000):MessageType = '' (CHARACTER)
(0x03000000):MessageFormat = '' (CHARACTER)
(0x03000000):Encoding = 546 (INTEGER)
(0x03000000):CodedCharSetId = 1208 (INTEGER)
(0x03000000):Transactional = FALSE (BOOLEAN)
(0x03000000):Persistence = FALSE (BOOLEAN)
(0x03000000):CreationTime = GMTTIMESTAMP '2010-09-15 13:13:08.873' (GMTTIMESTAMP)
(0x03000000):ExpirationTime = -1 (INTEGER)
(0x03000000):Priority = 0 (INTEGER)
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000):ReplyProtocol = 'MQ' (CHARACTER)
(0x03000000):Topic = NULL
(0x03000000):ContentType = 'text/xml; charset=utf-8' (CHARACTER)
)
(0x01000000):HTTPResponseHeader = ( ['WSRSPHDR' : 0x105950040]
(0x03000000):X-Original-HTTP-Status-Line = 'HTTP/1.1 500 No service found' (CHARACTER)
(0x03000000):X-Original-HTTP-Status-Code = 500 (INTEGER)
(0x03000000):Date = 'Wed, 15 Sep 2010 13:12:42 GMT' (CHARACTER)
(0x03000000):Server = 'ACE XML Gateway' (CHARACTER)
(0x03000000):Content-Type = 'text/xml; charset=utf-8' (CHARACTER)
(0x03000000):Content-Length = '296' (CHARACTER)
(0x03000000):Connection = 'close' (CHARACTER)
)
(0x01000000):BLOB = ( ['none' : 0x105954144]
(0x03000000):UnknownParserName = '' (CHARACTER)
(0x03000000):BLOB = X'3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d38223f3e0a3c736f61703a456e76656c6f706520786d6c6e733a736f61703d22687474703a2f2f736368656d61732e786d6c736f61702e6f72672f736f61702f656e76656c6f70652f223e3c736f61703a426f64793e3c736f61703a4661756c743e3c736f61703a6661756c74636f64653e736f61703a436c69656e743c2f736f61703a6661756c74636f64653e3c736f61703a6661756c74737472696e673e4e6f20736572766963652077617320666f756e64206d61746368696e672074686520726571756573743c2f736f61703a6661756c74737472696e673e3c2f736f61703a4661756c743e3c2f736f61703a426f64793e3c2f736f61703a456e76656c6f70653e0a' (BLOB)
)
)
Environment:
( ['MQROOT' : 0x122483504]
(0x01000000):AuditParameters = (
(0x01000000):MF = (
(0x03000000):MFbackendStartTime = TIMESTAMP '2010-09-15 18:42:50.882507' (TIMESTAMP)
)
)
(0x03000000):SerialNo = '8VE050082' (CHARACTER)
(0x03000000):currentSerialNo = '8VE050082' (CHARACTER)
)
Exception:
Body:
( ['none' : 0x105954144]
(0x03000000):UnknownParserName = '' (CHARACTER)
(0x03000000):BLOB = X'3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d38223f3e0a3c736f61703a456e76656c6f706520786d6c6e733a736f61703d22687474703a2f2f736368656d61732e786d6c736f61702e6f72672f736f61702f656e76656c6f70652f223e3c736f61703a426f64793e3c736f61703a4661756c743e3c736f61703a6661756c74636f64653e736f61703a436c69656e743c2f736f61703a6661756c74636f64653e3c736f61703a6661756c74737472696e673e4e6f20736572766963652077617320666f756e64206d61746368696e672074686520726571756573743c2f736f61703a6661756c74737472696e673e3c2f736f61703a4661756c743e3c2f736f61703a426f64793e3c2f736f61703a456e76656c6f70653e0a' (BLOB)
) |
|
Back to top |
|
 |
vikas.bhu |
Posted: Thu Sep 16, 2010 5:14 am Post subject: |
|
|
Disciple
Joined: 17 May 2009 Posts: 159
|
and request message is same.. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Sep 16, 2010 5:17 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The soap response you have received is
Quote: |
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><soap:faultcode>soap:Client</soap:faultcode><soap:faultstring>No service was found matching the request</soap:faultstring></soap:Fault></soap:Body></soap:Envelope>
|
So again this suggests that you have not set the SOAP Action property correctly.
Doublecheck your namespaces to make sure that they are fully correct. Doublecheck that you are sending the right SOAP action in the first place. Talk to the webservice provider about what they think might be wrong with your message. |
|
Back to top |
|
 |
mgk |
Posted: Thu Sep 16, 2010 8:58 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
You set SOAPAction as :
Code: |
"-- Added soapAction
SET OutputRoot.XMLNS.soap:Envelope.soap:operation.soap:soapAction =
'http://xml.namespaces.abcd.com/im/xip/services/abc/wsdl/queryabc'; " |
But SOAPAction is an HTTP Header, not part of the SOAP Message. Please look up how you set this into an HTTP Header using the HTTPRequestHeader parser...
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 |
|
 |
|