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 » Object Not Found in HTTP Request node?

Post new topic  Reply to topic
 Object Not Found in HTTP Request node? « View previous topic :: View next topic » 
Author Message
K_A
PostPosted: Wed Jun 01, 2005 10:54 am    Post subject: Object Not Found in HTTP Request node? Reply with quote

Apprentice

Joined: 10 Nov 2004
Posts: 32

Hi

I get Object Not found at an HTTP Request Node.
My input msg is a BLOB with the following:

POST /abc.txx.xServices.yServices/MyService.asmx HTTP/1.1
Host: distance.xyz.se
Content-Type: text/xml; charset=utf-8
Content-Length: 111
SOAPAction: "http://www.xyz.se/abc/webservices/xCalculation"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
.
.
.


I get HTTP/1.1 404 Object Not Found.
Which parameter above is the most likely one to be wrong?
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Jun 01, 2005 12:16 pm    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi,

I suggest you use a an HTTP Proxy or similar to trace what is actually being sent on the wire, as you cannot create your own HTTP request line in this way. You can add headers to be sent, you can specify a body, you can even change the HTTP version and method etc if you really have too. However, you cannot specify the whole lot in one blob. Please read the docs for the HTTP request node. If you have really sent all this as one blob, then I expect when you trace the wire traffic you will see what is actually send is two POST request lines, of which only the first (the nodes) will be understood by the remote server.
_________________
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
K_A
PostPosted: Thu Jun 02, 2005 12:35 am    Post subject: Reply with quote

Apprentice

Joined: 10 Nov 2004
Posts: 32

Thanks

So I need to populate OutputRoot.HTTPRequestHeader. Did'nt know that.

Look at this one, is it correct?
SET OutputRoot.HTTPRequestHeader.POST = '/Triona.TNE.RoutingServices./xService.asmx';
SET OutputRoot.HTTPRequestHeader.Host = '217.31.172.230';
SET OutputRoot.HTTPRequestHeader."Content-Type" = 'text/xml; charset=utf-8';
SET OutputRoot.HTTPRequestHeader."Content-Length" = 111;
SET OutputRoot.HTTPRequestHeader.SOAPAction = '"http://www.triona.se/tne/webservices/' ||
Environment.SOAP.Operation || '"';

I do not have an HTTPRequest header in the Input message so I have to build it from scratch.

Also, can the HTTPRequestHeader go last among the headers (immeditially before the BLOB) or does it have to have a specific position in the message tree?

I searched the documentation for examples in how to set up OutputRoot.HTTPRequestHeader but I could not find any.

thanks in advance
K-A
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 » Object Not Found in HTTP Request node?
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.