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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » ConnectionUrl from java to web client

Post new topic  Reply to topic
 ConnectionUrl from java to web client « View previous topic :: View next topic » 
Author Message
viktoryav
PostPosted: Tue Mar 02, 2004 12:20 am    Post subject: ConnectionUrl from java to web client Reply with quote

Newbie

Joined: 29 Feb 2004
Posts: 2

Hi,

I am trying to connect to Web Client from java with HttpURLConnection class.

String location = "http://server_name/fmcweb/servlet/Main";
String param="command=logon&timezoneOffset=''&port=80&name=admin&userID=admin&password=password&group=&system=&mode=DEFAULT&Logon='Log on'";

I see, that it's connecting to the client with no Exception (If I give the wrong password I have a Incorrect password error message), but it returns me the first (logon) jsp page with message "You are not yet logged on or your session has expired".

What I am doing wrong?

Thank you.
Back to top
View user's profile Send private message
dsim
PostPosted: Tue Mar 02, 2004 12:55 pm    Post subject: Reply with quote

Acolyte

Joined: 11 Aug 2003
Posts: 67
Location: Toronto

This could happen because the WebClient servlet is not able to establish an HttpSession with your Java code that is using the HttpURLConnection class. During a 'normal' browser-servlet communication the HttpSession session id is stored on the client as a cookie.

Dan
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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » ConnectionUrl from java to web client
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.