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 » Problem calling a Webservice

Post new topic  Reply to topic
 Problem calling a Webservice « View previous topic :: View next topic » 
Author Message
madhavt
PostPosted: Tue Jun 13, 2006 5:15 am    Post subject: Problem calling a Webservice Reply with quote

Newbie

Joined: 23 Aug 2003
Posts: 8

My Input message which i am putting in the Input:

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<m:WachoviaIdentityHeader
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:m="http://v1x1.identityheader.wbxml.ts.wachovia.net/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<m:SenderID>ahuang</m:SenderID>
<m:SenderPassword>CK</m:SenderPassword>
<m:OnBehalf>
<m:OnBehalfID>ECM</m:OnBehalfID>
</m:OnBehalf>
</m:WachoviaIdentityHeader>
<m:WachoviaRequestHeader
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:m="http://v1x1.requestheader.wbxml.ts.wachovia.net/">
<m:SendingTimeStamp>2001-12-17T09:30:47.0Z</m:SendingTimeStamp>
<m:DestinationSystem>CK</m:DestinationSystem>
<m:OriginationSystem>ECM</m:OriginationSystem>
<m:IntermediarySystem>
<m:System>ECM</m:System>
<m:TimeStamp>2001-12-17T09:30:47.0Z</m:TimeStamp>
</m:IntermediarySystem>
<m:MessageID>11222</m:MessageID>
<m:AuditData>
<m:ClientInteractionID>1122</m:ClientInteractionID>
<m:TransactionId>33333</m:TransactionId>
<m:OtherAuditData>1122</m:OtherAuditData>
</m:AuditData>
<m:DestinationAction>String</m:DestinationAction>
</m:WachoviaRequestHeader>
</soapenv:Header>
<soapenv:Body>
<m:GetCheckCardDisputeOffendersDataRequest
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:m="http://v1x0.rocim.message.ss.wachovia.net/">
<m:message><message><message_version>1.0</message_version><application_source>ECM</application_source><action>OffenderData</action><params><system_id>CK</system_id></params></message></m:message>
</m:GetCheckCardDisputeOffendersDataRequest>
</soapenv:Body>
</soapenv:Envelope>



MY flow MQInput->compute->httprequest->compute1->MQoutput

compute node code:

CREATE COMPUTE MODULE AECK_TO_ECM_Compute1
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
-- CALL CopyMessageHeaders();
CALL CopyEntireMessage();
SET OutputRoot.HTTPRequestHeader.SOAPAction = 'GetCheckCardDisputeOffendersData';
SET OutputRoot.HTTPRequestHeader."Content-Type" = 'text/xml; charset=UTF-8';
SET OutputRoot.HTTPRequestHeader.Host = 'latd600-h1rwm41';
SET OutputRoot.HTTPRequestHeader."Content-Length" = '2169';

RETURN TRUE;
END;

CREATE PROCEDURE CopyEntireMessage() BEGIN
SET OutputRoot = InputRoot;
END;
END MODULE;

Httprequest properties:

Basic
url: http://latd600-h1rwm41/ROCIM/ROCIMService_v1x0.asmx
timeout: 120

Advanced:

first option checked
InputRoot.XML
checked
outputRoot
unchecked

Default:

message domian: XMLNS

compute1 code:

CREATE COMPUTE MODULE AECK_TO_ECM_Compute
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
-- CALL CopyMessageHeaders();
CALL CopyEntireMessage();
CREATE NEXTSIBLING OF OutputRoot.Properties DOMAIN 'MQMD';
SET OutputRoot.MQMD.StrucId = MQMD_STRUC_ID;
SET OutputRoot.MQMD.Version = MQMD_CURRENT_VERSION;
SET OutputRoot.MQMD.Encoding = InputRoot.Properties.Encoding;
SET OutputRoot.MQMD.CodedCharSetId = InputRoot.Properties.CodedCharSetId;
--SET Environment.Variables.MSG = CAST(InputRoot.BLOB.BLOB AS CHAR);
RETURN TRUE;
END;

CREATE PROCEDURE CopyEntireMessage() BEGIN
SET OutputRoot = InputRoot;
END;
END MODULE;

My trace before the request sent:

==========2006-06-12 13:58:47.962272=============

(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 819
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2006-06-12 17:58:47.920'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = 'text/xml; charset=UTF-8'
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'SUB.TEST.IN'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 819
(0x03000000):Format = 'MQSTR '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d5120494849443030324120202020447ef80c200c1c01'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'IHID002A '
(0x03000000):UserIdentifier = 'mqm '
(0x03000000):AccountingToken = X'0331303100000000000000000000000000000000000000000000000000000006'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 28
(0x03000000):PutApplName = ' '
(0x03000000):PutDate = DATE '2006-06-12'
(0x03000000):PutTime = GMTTIME '17:58:47.920'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000010):XMLNS = (
(0x01000000)http://schemas.xmlsoap.org/soap/envelope/:Envelope = (
(0x07000012)xmlns:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/'
(0x02000000): = '
'
(0x01000000)http://schemas.xmlsoap.org/soap/envelope/:Header = (
(0x02000000): = '
'
(0x01000000)http://v1x1.identityheader.wbxml.ts.wachovia.net/:WachoviaIdentityHeader = (
(0x07000012)xmlns:soapenc = 'http://schemas.xmlsoap.org/soap/encoding/'
(0x07000012)xmlns:m = 'http://v1x1.identityheader.wbxml.ts.wachovia.net/'
(0x07000012)xmlns:xsi = 'http://www.w3.org/2001/XMLSchema-instance'
(0x07000012)xmlns:xsd = 'http://www.w3.org/2001/XMLSchema'
(0x02000000): = '
'
(0x01000000)http://v1x1.identityheader.wbxml.ts.wachovia.net/:SenderID = (
(0x02000000): = 'ahuang'
)
(0x02000000): = '
'
(0x01000000)http://v1x1.identityheader.wbxml.ts.wachovia.net/:SenderPassword = (
(0x02000000): = 'CK'
)
(0x02000000): = '
'
(0x01000000)http://v1x1.identityheader.wbxml.ts.wachovia.net/:OnBehalf = (
(0x02000000): = '
'
(0x01000000)http://v1x1.identityheader.wbxml.ts.wachovia.net/:OnBehalfID = (
(0x02000000): = 'ECM'
)
(0x02000000): = '
'
)
(0x02000000): = '
'
)
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:WachoviaRequestHeader = (
(0x07000012)xmlns:soapenc = 'http://schemas.xmlsoap.org/soap/encoding/'
(0x07000012)xmlns:xsi = 'http://www.w3.org/2001/XMLSchema-instance'
(0x07000012)xmlns:xsd = 'http://www.w3.org/2001/XMLSchema'
(0x07000012)xmlns:m = 'http://v1x1.requestheader.wbxml.ts.wachovia.net/'
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:SendingTimeStamp = (
(0x02000000): = '2001-12-17T09:30:47.0Z'
)
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:DestinationSystem = (
(0x02000000): = 'CK'
)
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:OriginationSystem = (
(0x02000000): = 'ECM'
)
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:IntermediarySystem = (
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:System = (
(0x02000000): = 'ECM'
)
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:TimeStamp = (
(0x02000000): = '2001-12-17T09:30:47.0Z'
)
(0x02000000): = '
'
)
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:MessageID = (
(0x02000000): = '11222'
)
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:AuditData = (
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:ClientInteractionID = (
(0x02000000): = '1122'
)
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:TransactionId = (
(0x02000000): = '33333'
)
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:OtherAuditData = (
(0x02000000): = '1122'
)
(0x02000000): = '
'
)
(0x02000000): = '
'
(0x01000000)http://v1x1.requestheader.wbxml.ts.wachovia.net/:DestinationAction = (
(0x02000000): = 'String'
)
(0x02000000): = '
'
)
(0x02000000): = '
'
)
(0x02000000): = '
'
(0x01000000)http://schemas.xmlsoap.org/soap/envelope/:Body = (
(0x02000000): = '
'
(0x01000000)http://v1x0.rocim.message.ss.wachovia.net/:GetCheckCardDisputeOffendersDataRequest = (
(0x07000012)xmlns:soapenc = 'http://schemas.xmlsoap.org/soap/encoding/'
(0x07000012)xmlns:xsi = 'http://www.w3.org/2001/XMLSchema-instance'
(0x07000012)xmlns:xsd = 'http://www.w3.org/2001/XMLSchema'
(0x07000012)xmlns:m = 'http://v1x0.rocim.message.ss.wachovia.net/'
(0x02000000): = '
'
(0x01000000)http://v1x0.rocim.message.ss.wachovia.net/:message = (
(0x01000000):message = (
(0x01000000):message_version = (
(0x02000000): = '1.0'
)
(0x01000000):application_source = (
(0x02000000): = 'ECM'
)
(0x01000000):action = (
(0x02000000): = 'OffenderData'
)
(0x01000000):params = (
(0x01000000):system_id = (
(0x02000000): = 'CK'
)
)
)
)
(0x02000000): = '
'
)
(0x02000000): = '
'
)
(0x02000000): = '
'
)
)
(0x01000000):HTTPRequestHeader = (
(0x03000000):SOAPAction = 'GetCheckCardDisputeOffendersData'
(0x03000000):Content-Type = 'text/xml; charset=UTF-8'
(0x03000000):Host = 'latd600-h1rwm41'
(0x03000000):Content-Length = '2169'
)
)

output:

SOAPAction: GetCheckCardDisputeOffendersData
Content-Type: text/xml; charset=UTF-8
Host: latd600-h1rwm41
Content-Length: 132

HTTP/1.1 500 Internal Server Error.
Server: Microsoft-IIS/5.1
Date: Mon, 12 Jun 2006 17:58:46 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Content-Length: 493

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Server was unable to process request. --&gt; The data at the root level is invalid. Line 1, position 1.</faultstring>
<detail />
</soap:Fault>
</soap:Body>
</soap:Envelope>


Could some one please help me figure out the error.

Thanks
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Jun 13, 2006 5:32 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi madhavt,
Quote:
<faultcode>soap:Server</faultcode>
<faultstring>Server was unable to process request. --&gt; The data at the root level is invalid. Line 1, position 1.</faultstring>

The error is due to this...work around it...check the root of the message that u are sending...and verify it against the structure that the HTTPservice expects...

Maybe put the message in an output queue and compare with the XSD of the soap that is expected.

Regards.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Jun 13, 2006 6:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You are building your message out of order.

That is why your trace shows that (0x01000000):HTTPRequestHeader comes after your XMLNS section.

I suspect that the HTTPRequest node uses the same rule for serializing the message as the MQOutput - it assumes the Last child of OutputRoot is the body. So your ESQL is sending the HTTPRequestHeader as the body of the message, which is obviously not valid XML.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
madhavt
PostPosted: Tue Jun 13, 2006 9:37 am    Post subject: Reply with quote

Newbie

Joined: 23 Aug 2003
Posts: 8

Thanks for your sugesstions.

I am actually dropping the input message in the queue and then setting the httprequest header. So it is thinking the last part as body and throwing this error. I am going to try creating the request message after the httpheader is created.

Hope this works!
Back to top
View user's profile Send private message
madhavt
PostPosted: Tue Jun 27, 2006 5:24 am    Post subject: Another problem after fixing the first one Reply with quote

Newbie

Joined: 23 Aug 2003
Posts: 8

compute node code:
CREATE COMPUTE MODULE AECK_TO_ECM_Compute1
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
CALL CopyMessageHeaders();
--CALL CopyEntireMessage();
SET OutputRoot.MQMD = NULL;

SET OutputRoot.HTTPRequestHeader.SOAPAction = 'GetCheckCardDisputeOffendersData';
SET OutputRoot.HTTPRequestHeader."Content-Type" = 'text/xml; charset=UTF-8';
SET OutputRoot.HTTPRequestHeader.Host = 'latd600-h1rwm41';
SET OutputRoot.HTTPRequestHeader."Content-Length" = '2100';


DECLARE XMLNS_SOAP CHARACTER;
DECLARE XMLNS_XSI CHARACTER;
DECLARE XMLNS_XSD CHARACTER;
DECLARE XMLNS_SCHEMALOCATION CHARACTER;

--Wachovia common and RL common schemas
DECLARE XMLNS_IDT_HDR CHARACTER;
DECLARE XMLNS_REQ_HDR CHARACTER;
--DECLARE XMLNS_WBSTATUS CHARACTER;
DECLARE XMLNS_ENC CHARACTER;

--This namespace
DECLARE V_TimeStamp CHARACTER;
DECLARE MsgId CHARACTER;

SET XMLNS_SOAP = 'http://schemas.xmlsoap.org/soap/envelope/';
SET XMLNS_XSI = 'http://www.w3.org/2001/XMLSchema-instance';
SET XMLNS_XSD = 'http://www.w3.org/2001/XMLSchema';
SET XMLNS_ENC = 'http://schemas.xmlsoap.org/soap/encoding/';

--SET XMLNS_WBSTATUS = 'http://v1x1.wbstatus.wbxml.ts.wachovia.net/';
SET XMLNS_IDT_HDR = 'http://v1x1.identityheader.wbxml.ts.wachovia.net/';
SET XMLNS_REQ_HDR = 'http://v1x1.requestheader.wbxml.ts.wachovia.net/';
SET XMLNS_SCHEMALOCATION = 'http://latd600-h1rwm41/ROCIM/ROCIMService_v1x0.asmx';

SET MsgId = 'WIM' || UUIDASCHAR;
CREATE FIELD OutputRoot.XML."SOAP-ENV:Envelope";

SET OutputRoot.XML."SOAP-ENV:Envelope".(XML.attr)"xmlns:SOAP-ENV" = XMLNS_SOAP;
--SET OutputRoot.XML."soap:Envelope".(XML.attr)"xmlns:wbstatus" = XMLNS_WBSTATUS;
SET OutputRoot.XML."SOAP-ENV:Envelope".(XML.attr)"xmlns:xsi" = XMLNS_XSI;
SET OutputRoot.XML."SOAP-ENV:Envelope".(XML.attr)"xmlns:xsd" = XMLNS_XSD;
SET OutputRoot.XML."SOAP-ENV:Envelope".(XML.attr)"xmlns:SOAP-ENC" = XMLNS_ENC;


--Set the Soap header

CREATE FIELD OutputRoot.XML."SOAP-ENV:Envelope"."SOAP-ENV:Header"."m:WachoviaIdentityHeader";
CREATE FIELD OutputRoot.XML."SOAP-ENV:Envelope"."SOAP-ENV:Header"."m:WachoviaRequestHeader";
DECLARE Ref_WIHeader REFERENCE TO OutputRoot.XML."SOAP-ENV:Envelope"."SOAP-ENV:Header"."m:WachoviaIdentityHeader";
DECLARE Ref_WRHeader REFERENCE TO OutputRoot.XML."SOAP-ENV:Envelope"."SOAP-ENV:Header"."m:WachoviaRequestHeader";

SET V_TimeStamp = SUBSTRING(CAST(CURRENT_GMTTIMESTAMP AS CHAR) FROM 15 FOR 19);
SET Ref_WIHeader.(XML.attr)"xmlns:m" = XMLNS_IDT_HDR;
SET Ref_WIHeader."m:SenderID" = '1234';
SET Ref_WIHeader."m:SenderPassword" = 'CK';
SET Ref_WIHeader."m:OnBehalf"."m:OnBehalfID" = 'ECM';

SET Ref_WRHeader.(XML.attr)"xmlns:m" = XMLNS_REQ_HDR;
SET Ref_WRHeader."m:SendingTimeStamp" = SUBSTRING(V_TimeStamp FROM 1 FOR 10) || 'T' || SUBSTRING(V_TimeStamp FROM 12 FOR ;
SET Ref_WRHeader."m:DestinationSystem" = 'CK';
SET Ref_WRHeader."m:OriginationSystem" = 'ECM';
SET Ref_WRHeader."m:IntermediarySystem"."m:System" ='WIM';
SET Ref_WRHeader."m:IntermediarySystem"."m:TimeStamp" =SUBSTRING(V_TimeStamp FROM 1 FOR 10) || 'T' || SUBSTRING(V_TimeStamp FROM 12 FOR ;
SET Ref_WRHeader."m:MessageID" = '11222';
SET Ref_WRHeader."m:AuditData"."m:ClientInteractionID" = '1122';
SET Ref_WRHeader."m:AuditData"."m:TransactionID" = '3333';
SET Ref_WRHeader."m:AuditData"."m:OtherAuditData" = '1122';
SET Ref_WRHeader."m:DestinationAction"='';

--set soap body
CREATE FIELD OutputRoot.XML."SOAP-ENV:Envelope"."SOAP-ENV:Body"."m:GetCheckCardDisputeOffendersDataRequest";
DECLARE Ref_Req REFERENCE TO OutputRoot.XML."SOAP-ENV:Envelope"."SOAP-ENV:Body"."m:GetCheckCardDisputeOffendersDataRequest";
SET Ref_Req.(XML.attr)"xmlns:m" = XMLNS_SCHEMALOCATION;
SET Ref_Req."m:message" = '<message_version>1.0</message_version><application_source>ECM</application_source><action>OffenderData</action><params><system_id>CK</system_id></params>';

RETURN TRUE;
END;

CREATE PROCEDURE CopyMessageHeaders() BEGIN
DECLARE I INTEGER;
DECLARE J INTEGER;
SET I = 1;
SET J = CARDINALITY(InputRoot.*[]);
WHILE I < J DO
SET OutputRoot.*[I] = InputRoot.*[I];
SET I = I + 1;
END WHILE;
END;

CREATE PROCEDURE CopyEntireMessage() BEGIN
SET OutputRoot = InputRoot;
END;
END MODULE;

trace before the HTTP request:

==========2006-06-26 16:50:07.657287=============

(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 819
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2006-06-26 20:50:07.630'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = 'text/xml; charset=UTF-8'
)
(0x01000000):HTTPRequestHeader = (
(0x03000000):SOAPAction = 'GetCheckCardDisputeOffendersData'
(0x03000000):Content-Type = 'text/xml; charset=UTF-8'
(0x03000000):Host = 'latd600-h1rwm41'
(0x03000000):Content-Length = '2100'
)
(0x01000010):XML = (
(0x01000000):SOAP-ENV:Envelope = (
(0x03000000):xmlns:SOAP-ENV = 'http://schemas.xmlsoap.org/soap/envelope/'
(0x03000000):xmlns:xsi = 'http://www.w3.org/2001/XMLSchema-instance'
(0x03000000):xmlns:xsd = 'http://www.w3.org/2001/XMLSchema'
(0x03000000):xmlns:SOAP-ENC = 'http://schemas.xmlsoap.org/soap/encoding/'
(0x01000000):SOAP-ENV:Header = (
(0x01000000):m:WachoviaIdentityHeader = (
(0x03000000):xmlns:m = 'http://v1x1.identityheader.wbxml.ts.wachovia.net/'
(0x01000000):m:SenderID = (
(0x02000000): = '1234'
)
(0x01000000):m:SenderPassword = (
(0x02000000): = 'CK'
)
(0x01000000):m:OnBehalf = (
(0x01000000):m:OnBehalfID = (
(0x02000000): = 'ECM'
)
)
)
(0x01000000):m:WachoviaRequestHeader = (
(0x03000000):xmlns:m = 'http://v1x1.requestheader.wbxml.ts.wachovia.net/'
(0x01000000):m:SendingTimeStamp = (
(0x02000000): = '2006-06-26T20:50:07'
)
(0x01000000):m:DestinationSystem = (
(0x02000000): = 'CK'
)
(0x01000000):m:OriginationSystem = (
(0x02000000): = 'ECM'
)
(0x01000000):m:IntermediarySystem = (
(0x01000000):m:System = (
(0x02000000): = 'WIM'
)
(0x01000000):m:TimeStamp = (
(0x02000000): = '2006-06-26T20:50:07'
)
)
(0x01000000):m:MessageID = (
(0x02000000): = '11222'
)
(0x01000000):m:AuditData = (
(0x01000000):m:ClientInteractionID = (
(0x02000000): = '1122'
)
(0x01000000):m:TransactionID = (
(0x02000000): = '3333'
)
(0x01000000):m:OtherAuditData = (
(0x02000000): = '1122'
)
)
(0x01000000):m:DestinationAction = (
(0x02000000): = ''
)
)
)
(0x01000000):SOAP-ENV:Body = (
(0x01000000):m:GetCheckCardDisputeOffendersDataRequest = (
(0x03000000):xmlns:m = 'http://latd600-h1rwm41/ROCIM/ROCIMService_v1x0.asmx'
(0x01000000):m:message = (
(0x02000000): = '<message_version>1.0</message_version><application_source>ECM</application_source><action>OffenderData</action><params><system_id>CK</system_id></params>'
)
)
)
)
)
)


Httprequest properties:

Basic
url: http://latd600-h1rwm41/ROCIM/ROCIMService_v1x0.asmx
timeout: 120

Advanced:

first option checked
InputRoot.XML
unchecked
OutputRoot.XML."SOAP-ENV:Envelope".xyz
unchecked

Default:

message domian: XMLNS

The error

SOAPAction: GetCheckCardDisputeOffendersData
Content-Type: text/xml; charset=UTF-8
Host: latd600-h1rwm41
Content-Length: 1554

HTTP/1.1 500 Internal Server Error.
Server: Microsoft-IIS/5.1
Date: Mon, 26 Jun 2006 20:50:07 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Content-Length: 488

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Server was unable to process request. --&gt; Object reference not set to an instance of an object.</faultstring>
<detail />
</soap:Fault>
</soap:Body>
</soap:Envelope>

i am supposed to get the request message in the output but still getting the response. Any ideas??

Any one please help me with this error

thanks
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 » Problem calling a Webservice
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.