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 » httpRequest node..calling a webservice

Post new topic  Reply to topic
 httpRequest node..calling a webservice « View previous topic :: View next topic » 
Author Message
chris boehnke
PostPosted: Thu Sep 13, 2007 1:12 pm    Post subject: httpRequest node..calling a webservice Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Hi guys,
I am working on the MB V6.0. My broker(V6 fixpak 2) resides on the Unix box.

I am calling an external webservice by using httpRequest node in my message flow.
My message flow looks like this:
MQInput -> Compute node -> httpRequest node -> Compute node -> MQReply.

As I am calling an external service, I need to use SSL.

The external service accepts the message in XML format.

When the request message reaches the httpRequest node, I am getting a response through Error terminal of httpRequest node.

Can anybody let me know where I am doing a mistake?. Here I am posting the trace of request(before sending it to the httpRequest node) and response(response generated thru Error terminal of httpRequest node).

Request msg before sending it to the httpRequest node:

(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-09-13 20:47:50.070'

(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 3
(0x03000000):ReplyIdentifier = X'414d51204d514d494d53473032424b310705c1460b840b20'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'ESB.COST.REQUEST'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Format = 'MQSTR '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 2
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 3
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d51204d514d494d53473032424b310705c14661f12120'
(0x03000000):CorrelId = X'414d51204d514d494d53473032424b310705c1460b840b20'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'BKR1 '
(0x03000000):UserIdentifier = 'mqm '
(0x03000000):AccountingToken = X'16010515000000cd79d57c274a9255474f7a595fbb000000000000000000000b'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 11
(0x03000000):PutApplName = '_DELETE\Desktop\rfhutilc.exe'
(0x03000000):PutDate = DATE '2007-09-13'
(0x03000000):PutTime = GMTTIME '20:47:50.070'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000010):XML = (
(0x01000000):ISORequests = (
(0x02000000): = '
'

(0x01000000):RequestHeader = (
(0x02000000): = '
'
(0x01000000):AIR = (
(0x02000000): = '
'
(0x01000000):LoginID = (
(0x02000000): = 'xxxxxxxxxx'
)
(0x02000000): = '
'
(0x01000000):Password = (
(0x02000000): = 'xxxx1234'
)
(0x02000000): = '
'
(0x01000000):LicenseKey = (
(0x02000000): = '%@ASG&345HJK$123'
)
(0x02000000): = '
'
)
(0x02000000): = '
'
(0x01000000):HomeValue = (
(0x02000000): = '
'
(0x01000000):UserName = (
(0x02000000): = 'xxxxxxxxxx'
)
(0x02000000): = '
'
(0x01000000):Password = (
(0x02000000): = 'xxxx1234'
)
(0x02000000): = '
'
(0x01000000):LicenseKey = (
(0x02000000): = '%@ASG&345HJK$123'
)
(0x02000000): = '
'
)

(0x02000000): = '
'
)
(0x02000000): = '
'
(0x01000000):ISORequest = (
(0x02000000): = '
'
(0x01000000):Products = (
(0x02000000): = 'HomeValueRepCost'
)
(0x02000000): = '
'
(0x01000000):Addresses = (
(0x02000000): = '
'
(0x01000000):Address = (
(0x02000000): = '
'
(0x01000000):RequestID = (
(0x02000000): = '556589319711315133'
)
(0x02000000): = '
'
)
(0x02000000): = '
'
)
(0x02000000): = '
'
)
(0x02000000): = '
'
)
)
(0x01000000):HTTPRequestHeader = (
(0x03000000):POST = '/aws/PassportToGo.asmx'
(0x03000000):Host = 'aws.demo.air-worldwide.com'
)
)
======================================================
Exception:







Response generated thru the Error terminal of httpRequest node:


(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208

(0x03000000):Transactional = FALSE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-09-13 20:55:06.489892'
(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):Host = 'aws.demo.air-worldwide.com'
(0x03000000):Content-Length = '66'
(0x03000000):POST = '/aws/PassportToGo.asmx'
(0x03000000):Content-Type = 'text/xml; charset=utf-8'
(0x03000000):SOAPAction = '""'
)
(0x01000000):HTTPResponseHeader = (
(0x03000000):X-Original-HTTP-Status-Line = 'HTTP/1.1 500 Internal Server Error'
(0x03000000):X-Original-HTTP-Status-Code = 500
(0x03000000):Date = 'Thu, 13 Sep 2007 20:51:42 GMT'
(0x03000000):Server = 'Microsoft-IIS/6.0'
(0x03000000):X-Powered-By = 'ASP.NET'
(0x03000000):X-AspNet-Version = '2.0.50727'
(0x03000000):Cache-Control = 'private'
(0x03000000):Content-Type = 'text/xml; charset=utf-8'
(0x03000000):Content-Length = '405'
(0x03000000):Set-Cookie = 'HomeValueLB=1; Path=/; Domain=www.isohomevalue.com'
)
(0x01000000):BLOB = (
(0x03000000):UnknownParserName = ''
(0x03000000):BLOB = X'3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d227574662d38223f3e3c736f6170
3a456e76656c6f706520786d6c6e733a736f61703d22687474703a2f2f736368656d61732e786d6c736f61702e6f72672f736f61702f656e76656c6f70652
f2220786d6c6e733a7873693d22687474703a2f2f7777772e77332e6f72672f323030312f584d4c536368656d612d696e7374616e63652220786d6c6e733a
7873643d22687474703a2f2f7777772e77332e6f72672f323030312f584d4c536368656d61223e3c736f61703a426f64793e3c736f61703a4661756c743e3
c6661756c74636f64653e736f61703a436c69656e743c2f6661756c74636f64653e3c6661756c74737472696e673e53657276657220646964206e6f742072
65636f676e697a65207468652076616c7565206f6620485454502048656164657220534f4150416374696f6e3a202e3c2f6661756c74737472696e673e3c6
4657461696c202f3e3c2f736f61703a4661756c743e3c2f736f61703a426f64793e3c2f736f61703a456e76656c6f70653e'
)
)
======================================================
Exception:




Thanks in advance.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Sep 13, 2007 1:19 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You don't want to send an MQMD in your HTTP Request.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
chris boehnke
PostPosted: Thu Sep 13, 2007 6:47 pm    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

jefflowrey wrote:
You don't want to send an MQMD in your HTTP Request.


Thanks Jeff for your input. I tried not sending the MQMD also. Still I am getting the same error...

Please suggest me some more steps..I will try all the possibilities in trobleshooting this issue...

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Sep 13, 2007 7:41 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You don't want to send the HTTPRequest Header at the end of your message.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
chris boehnke
PostPosted: Fri Sep 14, 2007 6:31 am    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

jefflowrey wrote:
You don't want to send the HTTPRequest Header at the end of your message.


Right now the service what I am trying to call is down.

I am getting this in my Variables panel of my toolkit.

Message
Properties
HTTPResponseHeader
X-Original-HTTP-Status-Line = HTTP/1.1 503 Service Unavailable
X-Original-HTTP-Status-Code = 503
Connection = Close
BLOB
UnknownParserName =
BLOB = 3c48544d4c3e3c484541443e0a3c5449544c453e5365727669636520556e617661696c61626c653c2f5449544c453e0a3c2f484541443e3c424f44593e0a3c48323e5365727669636520556e617661696c61626c653c2f48323e0a3c503e5468652072657175657374656420736572766963652069732074656d706f726172696c7920756e617661696c61626c652e20497420697320656974686572206f7665726c6f61646564206f7220756e646572206d61696e74656e616e63652e20506c6561736520747279206c617465722e0a3c2f424f44593e3c2f48544d4c3e0a
LocalEnvironment
Destination
HTTP
RequestURL = https://aws.demo.air-worldwide.com/aws/PassportToGo.wsdl
Environment
ExceptionList


I will let you know once my service is available....

Thanks so much Jeff for your inputs.
Back to top
View user's profile Send private message
santy
PostPosted: Mon Sep 17, 2007 6:29 am    Post subject: Preventing MQMD header being written to the message Reply with quote

Centurion

Joined: 03 Nov 2006
Posts: 141

Please tell me that , How can we prevent an MQMD header being written to the message when we put or get the message from queue. Or is it possible to remove the MQMD header through esql in compute node?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Sep 17, 2007 6:38 am    Post subject: Re: Preventing MQMD header being written to the message Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

santy wrote:
Please tell me that , How can we prevent an MQMD header being written to the message when we put or get the message from queue. Or is it possible to remove the MQMD header through esql in compute node?


Please start a new thread, that explains clearly what you are actually trying to do.

Your question as written makes no sense at all.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
chris boehnke
PostPosted: Mon Sep 17, 2007 6:21 pm    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

jefflowrey wrote:
You don't want to send the HTTPRequest Header at the end of your message.


Now my webservice is up and I am able to get the response message from the webservice with some XML parsing errors.

When I debug the flow in my toolkit, I can see the response with some XML parsing errors in the variables panel.

Here is the response message message what I see in my Variables panel:

Message
Properties
MessageSet =
MessageType =
MessageFormat =
Encoding = 546
CodedCharSetId = 1208
Transactional = false
Persistence = false
CreationTime = 2007-09-18 01:32:21.832
ExpirationTime = -1
Priority = 0
ReplyIdentifier = 000000000000000000000000000000000000000000000000
ReplyProtocol = MQ
Topic =
ContentType = text/html; charset=utf-8
HTTPResponseHeader
X-Original-HTTP-Status-Line = HTTP/1.1 200 OK
X-Original-HTTP-Status-Code = 200
Date = Tue, 18 Sep 2007 01:28:35 GMT
Server = Microsoft-IIS/6.0
X-Powered-By = ASP.NET
X-AspNet-Version = 2.0.50727
Cache-Control = private, max-age=0
Content-Type = text/html; charset=utf-8
Content-Length = 3479
Set-Cookie = HomeValueLB=1; Path=/; Domain=www.isohomevalue.com
XMLNS
html
\n\n
head
link
rel = alternate
type = text/xml
href = /aws/PassportToGo.asmx?disco
\n\n
style
type = text/css
\n \n\t\tBODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }\n\t\t#content { margin-left: 30px; font-size: .70em; padding-bottom: 2em; }\n\t\tA:link { color: #336699; font-weight: bold; text-decoration: underline; }\n\t\tA:visited { color: #6699cc; font-weight: bold; text-decoration: underline; }\n\t\tA:active { color: #336699; font-weight: bold; text-decoration: underline; }\n\t\tA:hover { color: cc3300; font-weight: bold; text-decoration: underline; }\n\t\tP { color: #000000; margin-top: 0px; margin-bottom: 12px; font-family: Verdana; }\n\t\tpre { background-color: #e5e5cc; padding: 5px; font-family: Courier New; font-size: x-small; margin-top: -5px; border: 1px #f0f0e0 solid; }\n\t\ttd { color: #000000; font-family: Verdana; font-size: .7em; }\n\t\th2 { font-size: 1.5em; font-weight: bold; margin-top: 25px; margin-bottom: 10px; border-top: 1px solid #003366; margin-left: -15px; color: #003366; }\n\t\th3 { font-size: 1.1em; color: #000000; margin-left: -15px; margin-top: 10px; margin-bottom: 10px; }\n\t\tul { margin-top: 10px; margin-left: 20px; }\n\t\tol { margin-top: 10px; margin-left: 20px; }\n\t\tli { margin-top: 10px; color: #000000; }\n\t\tfont.value { color: darkblue; font: bold; }\n\t\tfont.key { color: darkgreen; font: bold; }\n\t\tfont.error { color: darkred; font: bold; }\n\t\t.heading1 { color: #ffffff; font-family: Tahoma; font-size: 26px; font-weight: normal; background-color: #003366; margin-top: 0px; margin-bottom: 0px; margin-left: -30px; padding-top: 10px; padding-bottom: 3px; padding-left: 15px; width: 105%; }\n\t\t.button { background-color: #dcdcdc; font-family: Verdana; font-size: 1em; border-top: #cccccc 1px solid; border-bottom: #666666 1px solid; border-left: #cccccc 1px solid; border-right: #666666 1px solid; }\n\t\t.frmheader { color: #000000; background: #dcdcdc; font-family: Verdana; font-size: .7em; font-weight: normal; border-bottom: 1px solid #dcdcdc; padding-top: 2px; padding-bottom: 2px; }\n\t\t.frmtext { font-family: Verdana; font-size: .7em; margin-top: 8px; margin-bottom: 0px; margin-left: 32px; }\n\t\t.frmInput { font-family: Verdana; font-size: 1em; }\n\t\t.intro { margin-left: -15px; }\n \n
\n\n
title
\n\tPassportToGo Web Service\n
\n\n
body
\n\n
div
id = content
\n\n
p
class = heading1
PassportToGo
br
\n\n \n\n
span
\n\n
p
class = intro
The following operations are supported. For a formal definition, please review the
a
href = PassportToGo.asmx?WSDL
Service Description
.
\n \n \n
ul
\n \n
li
\n
a
href = PassportToGo.asmx?op=GetISOData
GetISOData
\n \n \n
\n
p
\n \n
li
\n
a
href = PassportToGo.asmx?op=ProcessRequestDS
ProcessRequestDS
\n \n \n
\n
p
\n \n
li
\n
a
href = PassportToGo.asmx?op=ProcessRequestDS2
ProcessRequestDS2
\n \n \n
\n
p
\n \n
XML Parsing Errors have occurred
LocalEnvironment
Destination
HTTP
Environment
ExceptionList


I am wondering whether these XML parsing errors are caused in the requesting message to the webservice or in the WSDL in calling the webservice. Can anybody can share your experiences on this?.

Thanks much in advance.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Sep 18, 2007 2:04 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to talk to the people who wrote the service on the other side.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Sep 18, 2007 3:43 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

You have XML parsing errors because the response message is not XML:

Code:
Content-Type = text/html; charset=utf-8


It looks like you have not set up the request message to the service correctly. Does the service need a SOAPAction to be set for instance?
_________________
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
chris boehnke
PostPosted: Tue Sep 18, 2007 6:06 am    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

mgk wrote:
You have XML parsing errors because the response message is not XML:

Code:
Content-Type = text/html; charset=utf-8


It looks like you have not set up the request message to the service correctly. Does the service need a SOAPAction to be set for instance?


Hi guys,

When we contacted the webservice side, we came to know that they will accept the message in XML format. Not the SOAP message. Even I send the message in XML format, I am getting the same webservice response with XML parsing errors.

Here is the input requesting message in XML format:

Message
Properties
MessageSet =
MessageType =
MessageFormat =
Encoding = 546
CodedCharSetId = 1208
Transactional = true
Persistence = false
CreationTime = 2007-09-18 13:38:49.770
ExpirationTime = -1
Priority = 3
ReplyIdentifier = 000000000000000000000000000000000000000000000000
ReplyProtocol = MQ
Topic =
ContentType =
MQMD
SourceQueue = ESB.HOME.REQUEST
Transactional = true
Encoding = 546
CodedCharSetId = 1208
Format = MQSTR
Version = 2
Report = 0
MsgType = 1
Expiry = -1
Feedback = 0
Priority = 3
Persistence = 0
MsgId = 414d51204d514d494d53473032424b310705c1461be22c20
CorrelId = 000000000000000000000000000000000000000000000000
BackoutCount = 0
ReplyToQ = ESB.HOME.REPLY
ReplyToQMgr = QM1
UserIdentifier = mqm
AccountingToken = 16010515000000cd79d57c274a9255474f7a595fbb000000000000000000000b
ApplIdentityData =
PutApplType = 11
PutApplName = _DELETE\\Desktop\\rfhutilc.exe
PutDate = 2007-09-18
PutTime = 13:38:49.770
ApplOriginData =
GroupId = 000000000000000000000000000000000000000000000000
MsgSeqNumber = 1
Offset = 0
MsgFlags = 0
OriginalLength = -1
XML
ISORequests
\n
RequestHeader
\n
AIR
\n
LoginID
webservice_ws
\n
Password
websxxxx
\n
LicenseKey
abcdefghijklhkshkshf
\n
\n
HomeValue
\n
UserName
webservice_ws
\n
Password
websxxxx
\n
LicenseKey
abcdefghijklhkshkshf
\n
\n
\n
ISORequest
\n
Products
HomeValueRepCost
\n
Addresses
\n
Address
\n
RequestID
556589319711315133
\n
\n
\n
\n
LocalEnvironment
Destination
HTTP
RequestURL = https://aws.demo.air-worldwide.com/aws/PassportToGo.asmx
RequestLine
Method = GET
Environment
ExceptionList


Here I am providing the properties selected on the httpRequest node:
HTTP Settings:
Follow HTTP(s) redirection...selected
HTTP Version 1.0

SSL:
Protocol...SSL

Response Message Parsing:
Message Domain...BLOB

Remaining node properties are default properties.

After the httpRequest node, I am using RCD node with Message Domain property as XMLNS.


Here is the response message received from the webservice with the XML parsing errors:

Message
Properties
MessageSet =
MessageType =
MessageFormat =
Encoding = 546
CodedCharSetId = 1208
Transactional = false
Persistence = false
CreationTime = 2007-09-18 13:19:42.537
ExpirationTime = -1
Priority = 0
ReplyIdentifier = 000000000000000000000000000000000000000000000000
ReplyProtocol = MQ
Topic =
ContentType = text/html; charset=utf-8
HTTPResponseHeader
X-Original-HTTP-Status-Line = HTTP/1.1 200 OK
X-Original-HTTP-Status-Code = 200
Date = Tue, 18 Sep 2007 13:38:14 GMT
Server = Microsoft-IIS/6.0
X-Powered-By = ASP.NET
X-AspNet-Version = 2.0.50727
Cache-Control = private, max-age=0
Content-Type = text/html; charset=utf-8
Content-Length = 3479
Set-Cookie = HomeValueLB=1; Path=/; Domain=www.isohomevalue.com
XMLNS
html
\n\n
head
link
rel = alternate
type = text/xml
href = /aws/PassportToGo.asmx?disco
\n\n
style
type = text/css
\n \n\t\tBODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }\n\t\t#content { margin-left: 30px; font-size: .70em; padding-bottom: 2em; }\n\t\tA:link { color: #336699; font-weight: bold; text-decoration: underline; }\n\t\tA:visited { color: #6699cc; font-weight: bold; text-decoration: underline; }\n\t\tA:active { color: #336699; font-weight: bold; text-decoration: underline; }\n\t\tA:hover { color: cc3300; font-weight: bold; text-decoration: underline; }\n\t\tP { color: #000000; margin-top: 0px; margin-bottom: 12px; font-family: Verdana; }\n\t\tpre { background-color: #e5e5cc; padding: 5px; font-family: Courier New; font-size: x-small; margin-top: -5px; border: 1px #f0f0e0 solid; }\n\t\ttd { color: #000000; font-family: Verdana; font-size: .7em; }\n\t\th2 { font-size: 1.5em; font-weight: bold; margin-top: 25px; margin-bottom: 10px; border-top: 1px solid #003366; margin-left: -15px; color: #003366; }\n\t\th3 { font-size: 1.1em; color: #000000; margin-left: -15px; margin-top: 10px; margin-bottom: 10px; }\n\t\tul { margin-top: 10px; margin-left: 20px; }\n\t\tol { margin-top: 10px; margin-left: 20px; }\n\t\tli { margin-top: 10px; color: #000000; }\n\t\tfont.value { color: darkblue; font: bold; }\n\t\tfont.key { color: darkgreen; font: bold; }\n\t\tfont.error { color: darkred; font: bold; }\n\t\t.heading1 { color: #ffffff; font-family: Tahoma; font-size: 26px; font-weight: normal; background-color: #003366; margin-top: 0px; margin-bottom: 0px; margin-left: -30px; padding-top: 10px; padding-bottom: 3px; padding-left: 15px; width: 105%; }\n\t\t.button { background-color: #dcdcdc; font-family: Verdana; font-size: 1em; border-top: #cccccc 1px solid; border-bottom: #666666 1px solid; border-left: #cccccc 1px solid; border-right: #666666 1px solid; }\n\t\t.frmheader { color: #000000; background: #dcdcdc; font-family: Verdana; font-size: .7em; font-weight: normal; border-bottom: 1px solid #dcdcdc; padding-top: 2px; padding-bottom: 2px; }\n\t\t.frmtext { font-family: Verdana; font-size: .7em; margin-top: 8px; margin-bottom: 0px; margin-left: 32px; }\n\t\t.frmInput { font-family: Verdana; font-size: 1em; }\n\t\t.intro { margin-left: -15px; }\n \n
\n\n
title
\n\tPassportToGo Web Service\n
\n\n
body
\n\n
div
id = content
\n\n
p
class = heading1
PassportToGo
br
\n\n \n\n
span
\n\n
p
class = intro
The following operations are supported. For a formal definition, please review the
a
href = PassportToGo.asmx?WSDL
Service Description
.
\n \n \n
ul
\n \n
li
\n
a
href = PassportToGo.asmx?op=GetISOData
GetISOData
\n \n \n
\n
p
\n \n
li
\n
a
href = PassportToGo.asmx?op=ProcessRequestDS
ProcessRequestDS
\n \n \n
\n
p
\n \n
li
\n
a
href = PassportToGo.asmx?op=ProcessRequestDS2
ProcessRequestDS2
\n \n \n
\n
p
\n \n
XML Parsing Errors have occurred
LocalEnvironment
Destination
HTTP
RequestURL = https://aws.demo.air-worldwide.com/aws/PassportToGo.asmx
RequestLine
Method = GET
Environment
Variables
SOA
StyleSheetDirectory = /home/Stylesheets
RequestURL = https://aws.demo.air-worldwide.com/aws/PassportToGo.asmx
MQMD
XSLTs
XMLNS
ExceptionList


I dont see any problem with the requesting XML message. Please let me know if I am not passing the right request in correct format...

I do have the WSDL doc with me. I just imported the wsdl into my toolkit and generated a message definition file for that.

Here is the WSDL doc:

<?xml version="1.0" encoding="utf-8" ?>
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://air-worldwide.com/webservices/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://air-worldwide.com/webservices/" xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="http://air-worldwide.com/webservices/">
<s:element name="ProcessRequestDS">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="reqDat" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ProcessRequestDSResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="ProcessRequestDSResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ProcessRequestDS2">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="req" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="par" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ProcessRequestDS2Response">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="ProcessRequestDS2Result" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetISOData">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="xmlReqStg" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetISODataResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetISODataResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</types>
<message name="ProcessRequestDSSoapIn">
<part name="parameters" element="s0:ProcessRequestDS" />
</message>
<message name="ProcessRequestDSSoapOut">
<part name="parameters" element="s0:ProcessRequestDSResponse" />
</message>
<message name="ProcessRequestDS2SoapIn">
<part name="parameters" element="s0:ProcessRequestDS2" />
</message>
<message name="ProcessRequestDS2SoapOut">
<part name="parameters" element="s0:ProcessRequestDS2Response" />
</message>
<message name="GetISODataSoapIn">
<part name="parameters" element="s0:GetISOData" />
</message>
<message name="GetISODataSoapOut">
<part name="parameters" element="s0:GetISODataResponse" />
</message>
<portType name="PassportToGoSoap">
<operation name="ProcessRequestDS">
<input message="s0:ProcessRequestDSSoapIn" />
<output message="s0:ProcessRequestDSSoapOut" />
</operation>
<operation name="ProcessRequestDS2">
<input message="s0:ProcessRequestDS2SoapIn" />
<output message="s0:ProcessRequestDS2SoapOut" />
</operation>
<operation name="GetISOData">
<input message="s0:GetISODataSoapIn" />
<output message="s0:GetISODataSoapOut" />
</operation>
</portType>
<binding name="PassportToGoSoap" type="s0:PassportToGoSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<operation name="ProcessRequestDS">
<soap:operation soapAction="http://air-worldwide.com/webservices/ProcessRequestDS" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="ProcessRequestDS2">
<soap:operation soapAction="http://air-worldwide.com/webservices/ProcessRequestDS2" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="GetISOData">
<soap:operation soapAction="http://air-worldwide.com/webservices/GetISOData" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
<service name="PassportToGo">
<port name="PassportToGoSoap" binding="s0:PassportToGoSoap">
<soap:address location="https://passporttogo.FAIL_NOT_CONFIGURED.air-worldwide.com/passporttogo/passporttogo.asmx" />
</port>
</service>
</definitions>


There are 2 message definition files are generated.

Here I am providing the message definition files as well

1st message definition file:https.aws.demo.air-worldwide.comV.1.2.mxsd

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s0="http://air-worldwide.com/webservices/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://air-worldwide.com/webservices/">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/envelope/" schemaLocation="../../../org/xmlsoap/schemas/soap/envelope/soapenv11.mxsd"/>
<xsd:include schemaLocation="https.aws.demo.air-worldwide.comV.1.2_InlineSchema1.mxsd"/>

<!-- BEGIN Global group petaining to all wsdl:message definitions -->
<!-- END Global group -->


<!-- BEGIN Message Definitions for the wsdl:operations -->
<!-- END Message Definitions -->


</xsd:schema>


2nd Message definition file:https.aws.demo.air-worldwide.comV.1.2_InlineSchema1.mxsd

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s0="http://air-worldwide.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://air-worldwide.com/webservices/">
<xsd:element name="ProcessRequestDS">
<xsd:annotation>
<xsd:appinfo source="WMQI_APPINFO">
<MRMessage messageDefinition="/0/ProcessRequestDS;XSDElementDeclaration$MRObject" schemaObject="/0/ProcessRequestDS;XSDElementDeclaration">
<xmlMsgRep messageSetDefaultRep="XML1" outputPolicyForXsiTypeAttribute="Never"/>
</MRMessage>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="reqDat" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="ProcessRequestDSResponse">
<xsd:annotation>
<xsd:appinfo source="WMQI_APPINFO">
<MRMessage messageDefinition="/0/ProcessRequestDSResponse;XSDElementDeclaration=1$MRObject" schemaObject="/0/ProcessRequestDSResponse;XSDElementDeclaration=1">
<xmlMsgRep messageSetDefaultRep="XML1" outputPolicyForXsiTypeAttribute="Never"/>
</MRMessage>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="ProcessRequestDSResult" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="ProcessRequestDS2">
<xsd:annotation>
<xsd:appinfo source="WMQI_APPINFO">
<MRMessage messageDefinition="/0/ProcessRequestDS2;XSDElementDeclaration=2$MRObject" schemaObject="/0/ProcessRequestDS2;XSDElementDeclaration=2">
<xmlMsgRep messageSetDefaultRep="XML1" outputPolicyForXsiTypeAttribute="Never"/>
</MRMessage>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="req" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="par" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="ProcessRequestDS2Response">
<xsd:annotation>
<xsd:appinfo source="WMQI_APPINFO">
<MRMessage messageDefinition="/0/ProcessRequestDS2Response;XSDElementDeclaration=3$MRObject" schemaObject="/0/ProcessRequestDS2Response;XSDElementDeclaration=3">
<xmlMsgRep messageSetDefaultRep="XML1" outputPolicyForXsiTypeAttribute="Never"/>
</MRMessage>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="ProcessRequestDS2Result" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GetISOData">
<xsd:annotation>
<xsd:appinfo source="WMQI_APPINFO">
<MRMessage messageDefinition="/0/GetISOData;XSDElementDeclaration=4$MRObject" schemaObject="/0/GetISOData;XSDElementDeclaration=4">
<xmlMsgRep messageSetDefaultRep="XML1" outputPolicyForXsiTypeAttribute="Never"/>
</MRMessage>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="xmlReqStg" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GetISODataResponse">
<xsd:annotation>
<xsd:appinfo source="WMQI_APPINFO">
<MRMessage messageDefinition="/0/GetISODataResponse;XSDElementDeclaration=5$MRObject" schemaObject="/0/GetISODataResponse;XSDElementDeclaration=5">
<xmlMsgRep messageSetDefaultRep="XML1" outputPolicyForXsiTypeAttribute="Never"/>
</MRMessage>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="GetISODataResult" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>


Please let me know if you guys see any mistake either in WSDL or request msg.. Please suggest me the what are the possible areas of troubleshooting?.

Thanks in advance.
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 » httpRequest node..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.