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 » [Solved] WebService Host Sample

Post new topic  Reply to topic
 [Solved] WebService Host Sample « View previous topic :: View next topic » 
Author Message
elvis_gn
PostPosted: Thu Mar 02, 2006 4:09 am    Post subject: [Solved] WebService Host Sample Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi guys,

I'm trying out the WebService Host sample in the toolkit...i am having a few probs.

1. I am trying to send a HTTP GET message to a HTTPInput Node, from previous posts I understand that GET should work with v6.0. The problem is that my message has a Properties and HeaderDetail but no body(called envelope in the sample).

2. How do i get the NetTool to work ? When i run the *.bat file it tells me that
Quote:
Windows cannot find 'javaw'.......

I tried adding it to the environment variables, no use. The only way it dosen't throw an error is, if i run the command from the Java installed folder containing javaw, but then the tool dosen't open
I am sure i'm doing something clumsy.

Regards


Last edited by elvis_gn on Fri Mar 03, 2006 2:36 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Tibor
PostPosted: Thu Mar 02, 2006 10:54 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

elvis,

Last time I sent http requests with wget. It is very simple, command-line tool but it can handle both method GET and POST.

http://unxutils.sourceforge.net/

However there are a lot of eclipse plugins for webservice testing.

Tibor
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Mar 02, 2006 10:56 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

the current version of nettool requires java 1.5 ... the previous version works with java 1.4
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
elvis_gn
PostPosted: Fri Mar 03, 2006 2:35 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi guys,

The NetTool issue was with the version of jdk as wschutz pointed out.
The latest version 3.3.1 does not have the HTTP send option, only the tunneling, guess they forgot it
So had to revert back to 1.0.4 which works fine with jdk 1.5.

The sample worked without any issues only that HTTP PUT and GET threw errors, saying not supported, only POST worked.

Regards.
Back to top
View user's profile Send private message Send e-mail
wschutz
PostPosted: Fri Mar 03, 2006 3:02 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
The latest version 3.3.1 does not have the HTTP send option, only the tunneling, guess they forgot it icon_smile.gif
Yes, I remember not finding the "send" option either on the latest version ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
n1ghtrain
PostPosted: Mon Aug 07, 2006 9:41 pm    Post subject: Reply with quote

Apprentice

Joined: 23 Mar 2006
Posts: 48
Location: Bangalore

Hi,

I was trying to run the same sample(Web Service Host)

.. DOwnloaded NetTool 4.6.0 and my JDK is 1.5.0.. NetTool starts normally, when i click on New HTTP client- Nothing goes..

Does anyone have a working version..?
Back to top
View user's profile Send private message Yahoo Messenger
mqmatt
PostPosted: Tue Aug 08, 2006 1:22 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Try v1.0.4, as suggested above.
http://sourceforge.net/project/showfiles.php?group_id=55568&package_id=50560
Back to top
View user's profile Send private message
n1ghtrain
PostPosted: Tue Aug 08, 2006 8:08 pm    Post subject: Reply with quote

Apprentice

Joined: 23 Mar 2006
Posts: 48
Location: Bangalore

netTool v1.0.4 is working fine.. its sending the sample request to borker successfully.. Broker is returning error
"URI /samplebrokerwshost. does not map to any message flow in broker"

HTTP/1.1 404 Not Found
Content-Type: text/html;charset=utf-8
Content-Length: 274
Date: Wed, 09 Aug 2006 04:14:04 GMT
Server: Apache-Coyote/1.1
Connection: close

<html><head><title>WebSphere Message Brokers error report</title></head>
<body><h1>HTTP Status 404 - Resource Not Found</h1>
URI /samplebrokerwshost. does not map to any message flow in broker WBRK6_DEFAULT_BROKER<p>
<h3>WebSphere Event Broker 6000</h3></body></html>



HTTPinput node has URL selector field as /samplebrokerwshost
NetTool is sendin it to http://localhost:7081/samplebrokerwshost.
(i have changed broker's HTTPlistener port to 7081.
i'm using v6 of broker and toolkit

!!?? is it necessary to change the URL selector field to full URL..
Back to top
View user's profile Send private message Yahoo Messenger
n1ghtrain
PostPosted: Tue Aug 08, 2006 8:23 pm    Post subject: Reply with quote

Apprentice

Joined: 23 Mar 2006
Posts: 48
Location: Bangalore

Oops..
i found...
My bad..

In nettool's URL field i had put an extra '.'
Its working fine now
Thanks,Regards[/b]
Back to top
View user's profile Send private message Yahoo Messenger
SandiSan
PostPosted: Wed Aug 09, 2006 11:11 pm    Post subject: Reply with quote

Acolyte

Joined: 01 Apr 2006
Posts: 57
Location: Pune/India

We can also send Soap Http Request Webservice Message using XML Spy Software.I have tried it and it work fine may be you can have a look at it

you can download the beta ver from the below link
http://www.softlookup.com/display.asp?id=23250
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » [Solved] WebService Host Sample
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.