Re: How to parse a soap message

2004-05-25 Thread Benedetto Dell'Ariccia
I hav the same problem!
Benny
Kris Schneider wrote:
Have you tried (JSTL 1.0):
%@ taglib prefix=x  uri=http://java.sun.com/jstl/xml; %
%@ taglib prefix=io uri=http://jakarta.apache.org/taglibs/io-1.0; %
x:parse var=soapXml
 io:soap ...
   ...
 /io:soap
/x:parse
Quoting Danny Kruitbosch [EMAIL PROTECTED]:
 

Hi,
I've been trying to parse a soap message with io:soap and then format 
the output with xtags:parse etc. I can't get it to work and keep 
getting errors.
So next thing I did was going to the list archives and I saw some 
remarks on this issue. Seems that this works better if I were to use 
JSTL xml tags.

Can anyone give me an example on how to parse the soap output using 
io:soap and x:parse from JSTL?

Thanks!
Danny
--
---
Danny Kruitbosch
RDC Datacentrum BV
Postbus 74707
1070 BS Amsterdam
telefoon: +31(0)20 549 7913
fax: +31(0)20 661 1526
e-mail: [EMAIL PROTECTED]
---
   

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


parsing SOAP with taglibs

2004-05-20 Thread Benedetto Dell'Ariccia
Hi,
I have the a variable containg the response of a SOAP call,
how can I parse it?
I tried with XTAGS but it doesn't seem to work.
Bye
Benny
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: xmlrpc and parse

2004-04-23 Thread Benedetto Dell'Ariccia
Tnx Martin, it works but I still have a problem (this is the first time 
I use JSTL)
I need to:
1. Call an XML-RPC with IO
2. Parse the XML with JSTL
3. Take values from the XML and then re-use them in a new XML-RPC CALL

I can do 1 and 2 but I don't know how to do 3

This is the code I use now.

Tnx
Benny


%@ page language=java %
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
%@ taglib prefix=x uri=http://java.sun.com/jstl/xml; %
%@ taglib uri=http://jakarta.apache.org/taglibs/io-1.0; prefix=io %
x:parse varDom=dom
io:xmlrpc url=x/rpc2/
io:body?xml version=1.0 encoding=iso-8859-1?
   methodCall
   methodNameaaa/methodName
   params
   param
   value
   struct
   member
   nameacctname/name
   value
   stringbbb/string
   /value
   /member
   member
   namepasswd/name
   value
   stringcc/string
   /value
   /member
   member
   nameclientID/name
   value
   stringd/string
   /value
   /member
   member
   nameclientPass/name
   value
   stringeee/string
   /value
   /member
   /struct
   /value
   /param
   /params
   /methodCall
/io:body
/io:xmlrpc
/x:parse
//set the value
x:set var=pippo select=$dom/params/param/value/struct/member/name 
scope=page/

//try to use the value with a new XML-RPC CALL
x:parse varDom=dom2
   io:xmlrpc url=xxx/rpc2/
io:body?xml version=1.0 encoding=iso-8859-1?
   methodCall
   methodNameqq/methodName
   params
param
 value
  struct
   member
nameuid/name
value
 stringc:out value=${pippo}//string
/value
   /member
   member
nameclientID/name
value
 stringww/string
/value
   /member
   member
nameclientPass/name
value
 stringaa/string
/value
   /member
  /struct
 /value
/param
   /params
   /methodCall
/io:body
   /io:xmlrpc
/x:parse






Martin Cooper wrote:

Benedetto Dell'Ariccia [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 

Is it goog even for XML-RPC?
Are you sure?
   

XTags parses and manipulates XML. The JSTL XML tags parse and manipulate
XML. There's no difference there, except in the details of the individual
tags, and that the latter is standard, and will work in Tomcat.
If you use the IO tags for the XML-RPC part of what you're doing, there
should be no question of whether or not JSTL is good for XML-RPC, any more
than there's a question of whether or nor XTags is good for XML-RPC.
--
Martin Cooper
 

Benny

Martin Cooper wrote:

   

Benedetto Dell'Ariccia [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 

Hi,
I need to call an XML-RPC  url and parse the output.
I use tomcat 5.018 (genrally 5.xx)
I tried with the IO and XTAGS library but there is a problem of
incompatibility between XTAGS and TOMCAT,
could you suggest me another solution?
   

If the IO taglib works for the XML-RPC invocation, then you should be
 

able
 

to use JSTL instead of XTags to parse the output.

--
Martin Cooper


 

Tnx
Benny
   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: xmlrpc and parse

2004-04-22 Thread Benedetto Dell'Ariccia
Is it goog even for XML-RPC?
Are you sure?
Benny

Martin Cooper wrote:

Benedetto Dell'Ariccia [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 

Hi,
I need to call an XML-RPC  url and parse the output.
I use tomcat 5.018 (genrally 5.xx)
I tried with the IO and XTAGS library but there is a problem of
incompatibility between XTAGS and TOMCAT,
could you suggest me another solution?
   

If the IO taglib works for the XML-RPC invocation, then you should be able
to use JSTL instead of XTags to parse the output.
--
Martin Cooper
 

Tnx
Benny
   





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


xmlrpc and parse

2004-04-21 Thread Benedetto Dell'Ariccia
Hi,
I need to call an XML-RPC  url and parse the output.
I use tomcat 5.018 (genrally 5.xx)
I tried with the IO and XTAGS library but there is a problem of 
incompatibility between XTAGS and TOMCAT,
could you suggest me another solution?

Tnx
Benny
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Xtags with tomcat 5.016 specific error

2004-04-19 Thread Benedetto Dell'Ariccia
Hi,
this is exactly the error that I receive whit the xtags library used on 
tomcat 5.016

The same code worked correctly with tomcat 4.xx, and work correctly 
still now but just for 5-10 times,
after this period I receive the error and I have to recompile the jsp again.

Is it possible that this jsp is not perfectly comliant with tomcat 5.xx?

Tnx
Benny
  
ERROR-
Servlet.service() for servlet jsp threw exception
org.dom4j.DocumentException: Error on line -1 of document  : Premature 
end of file. Nested exception: Premature end of file.
   at org.dom4j.io.SAXReader.read(SAXReader.java:339)
   at org.dom4j.io.SAXReader.read(SAXReader.java:256)
   at 
org.apache.taglibs.xtags.xpath.ParseTag.doAfterBody(ParseTag.java:138)
  
ERROR-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Xtags with tomcat 5.018 has any problem?

2004-04-07 Thread Benedetto Dell'Ariccia
Hi,
I'm having problem using the XTAGS library on a 5.018 Tomcat Server.
Does exists any FAQ about this?
Am I the first with this problem?

Tnks
Benny


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Xtags with tomcat 5.018 has any problem?

2004-04-07 Thread Benedetto Dell'Ariccia
Hi,
I'm having problem using the XTAGS library on a 5.018 Tomcat Server.
Does exists any FAQ about this?
Am I the first with this problem?

Tnks
Benny
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Xtags with tomcat 5.018 has any problem?

2004-04-07 Thread Benedetto Dell'Ariccia
Thanks Kris,
the error I receive is unexpected end of file evene if the xml file 
that I call seems to be correct.
Anyway my question was generic :)

Bye
Benny
Kris Schneider wrote:

Benny,

You're going to have to provide some more detail about the problem before anyone
can help.
Quoting Benedetto Dell'Ariccia [EMAIL PROTECTED]:

 

Hi,
I'm having problem using the XTAGS library on a 5.018 Tomcat Server.
Does exists any FAQ about this?
Am I the first with this problem?

Tnks
Benny
   

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Calling HTTPS URL with IO

2003-10-10 Thread Benedetto Dell'Ariccia
Hi Hassan,
tnx for the help but, I show you this code, in this code there are 3 calls
with the IO taglib to 3 different HTTPS servers, the first one is the one
that does not work,
I had to put xxx and , the others works correctly without any other
codeyou can try.is this correct?

The error message for the first call is:
 org.apache.jasper.JasperException: HTTPS hostname wrong:  should be


Tnx a lot!
Benny


-CODE
%@ page import=java.net.* ,java.io.* %
%@ taglib uri=http://jakarta.apache.org/taglibs/xtags-1.0; prefix=xtags
%
%@ taglib uri=http://jakarta.apache.org/taglibs/io-1.0; prefix=io %
htmlbody


 io:http url=https://add-on-as1.tb.tiscali.it:443/xxx/y;
action=GET/


 io:http url=https://www.payonline.it/ext; action=POST input=true
output=true/
 io:http url=https://www.playsecureserver1.com:443; /


/body/html
END CODE










- Original Message - 
From: Hassan Schroeder [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 6:22 PM
Subject: Re: Calling HTTPS URL with IO


 Benedetto Dell'Ariccia wrote:

  I'm still trying to call a HTTPS URL with the IO TAGLIB,

 Sorry, missed this earlier.

 The IO taglib works, but you need to prep your environment first;
 here's a sample that should get you started...

 %@ page
  import = javax.servlet.http.*,
  java.io.*,
  javax.net.ssl.*,
  java.security.cert.X509Certificate,
  java.security.cert.*,
  java.security.KeyStore,
  java.security.Provider,
  java.util.*
  errorPage = oops.jsp
 %
 %@ taglib uri=http://jakarta.apache.org/taglibs/io-1.0; prefix=io %
 %
  try
  {
  KeyStore ks = KeyStore.getInstance(JKS,SUN);
  ks.load(new FileInputStream(/path/to/cacerts), null);
  TrustManagerFactory myFactory;
  myFactory = TrustManagerFactory.getInstance(SunX509);
  myFactory.init(ks);

  SSLContext ctx;
  ctx = SSLContext.getInstance(SSL);
  ctx.init(null, myFactory.getTrustManagers(), null);

 HttpsURLConnection.setDefaultSSLSocketFactory(ctx.getSocketFactory());

  }
  catch (Exception noSSLConnectionAvailable)
  {

System.out.println(noSSLConnectionAvailable.getMessage());
  /* noSSLConnectionAvailable needs to divert to an error
page,
   * since we can't process the transaction this way.
   */
  }
 %


 io:http url=https://secure.example.com/program;
 action=POST input=true output=true


 ... and Bob's y'r uncle  :-)

 HTH!
 -- 
 Hassan Schroeder - [EMAIL PROTECTED]
 Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

dream.  code.




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Calling HTTPS URL with IO

2003-10-10 Thread Benedetto Dell'Ariccia
I'm really sorry but I had problems with debugging but
if I change
io:http url=https://add-on-as1.tb.tiscali.it:443/xxx/y; action=GET/
with.
io:http url=https://add-on-as1.tb.tiscali2.it:443/xxx/y;
action=GET/

I added 2 after Tiscali
then the error change
 org.apache.jasper.JasperException: add-on-as1.tb.tiscali2.it


Benny


- Original Message - 
From: Martin van Dijken [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Sent: Friday, October 10, 2003 9:46 AM
Subject: RE: Calling HTTPS URL with IO


Ah Benny!

Now you tell us the exact Exception ;) I've noticed before that a lot of
older scripts still assume that the - character is not allowed in domain
names. We had an email checker that barfed on it. This is probably the case
here as well. Can anybody from dev confirm this? And possibly fix it?:)

Martin

 -Original Message-
 From: Benedetto Dell'Ariccia [mailto:[EMAIL PROTECTED]
 Sent: vrijdag 10 oktober 2003 9:41
 To: Tag Libraries Users List
 Subject: Re: Calling HTTPS URL with IO


 Hi Hassan,
 tnx for the help but, I show you this code, in this code
 there are 3 calls
 with the IO taglib to 3 different HTTPS servers, the first
 one is the one
 that does not work,
 I had to put xxx and , the others works correctly without
 any other
 codeyou can try.is this correct?

 The error message for the first call is:
  org.apache.jasper.JasperException: HTTPS hostname wrong:  should be


 Tnx a lot!
 Benny


 -CODE
 %@ page import=java.net.* ,java.io.* %
 %@ taglib uri=http://jakarta.apache.org/taglibs/xtags-1.0;
 prefix=xtags
 %
 %@ taglib uri=http://jakarta.apache.org/taglibs/io-1.0;
 prefix=io %
 htmlbody


  io:http url=https://add-on-as1.tb.tiscali.it:443/xxx/y;
 action=GET/


  io:http url=https://www.payonline.it/ext; action=POST
 input=true
 output=true/
  io:http url=https://www.playsecureserver1.com:443; /


 /body/html
 END CODE










 - Original Message - 
 From: Hassan Schroeder [EMAIL PROTECTED]
 To: Tag Libraries Users List [EMAIL PROTECTED]
 Sent: Thursday, October 09, 2003 6:22 PM
 Subject: Re: Calling HTTPS URL with IO


  Benedetto Dell'Ariccia wrote:
 
   I'm still trying to call a HTTPS URL with the IO TAGLIB,
 
  Sorry, missed this earlier.
 
  The IO taglib works, but you need to prep your environment first;
  here's a sample that should get you started...
 
  %@ page
   import = javax.servlet.http.*,
   java.io.*,
   javax.net.ssl.*,
   java.security.cert.X509Certificate,
   java.security.cert.*,
   java.security.KeyStore,
   java.security.Provider,
   java.util.*
   errorPage = oops.jsp
  %
  %@ taglib uri=http://jakarta.apache.org/taglibs/io-1.0;
 prefix=io %
  %
   try
   {
   KeyStore ks = KeyStore.getInstance(JKS,SUN);
   ks.load(new
 FileInputStream(/path/to/cacerts), null);
   TrustManagerFactory myFactory;
   myFactory =
 TrustManagerFactory.getInstance(SunX509);
   myFactory.init(ks);
 
   SSLContext ctx;
   ctx = SSLContext.getInstance(SSL);
   ctx.init(null, myFactory.getTrustManagers(), null);
 
 
 HttpsURLConnection.setDefaultSSLSocketFactory(ctx.getSocketFactory());
 
   }
   catch (Exception noSSLConnectionAvailable)
   {
 
 System.out.println(noSSLConnectionAvailable.getMessage());
   /* noSSLConnectionAvailable needs to
 divert to an error
 page,
* since we can't process the transaction this way.
*/
   }
  %
 
 
  io:http url=https://secure.example.com/program;
  action=POST input=true output=true
 
 
  ... and Bob's y'r uncle  :-)
 
  HTH!
  -- 
  Hassan Schroeder - [EMAIL PROTECTED]
  Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
 
 dream.  code.
 
 
 
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Calling HTTPS URL with IO

2003-10-09 Thread Benedetto Dell'Ariccia
I'm still trying to call a HTTPS URL with the IO TAGLIB, no logs errors, the browser 
still waiting untill.

Can someone help me?

Benny

Re: Calling HTTPS URL with IO

2003-10-09 Thread Benedetto Dell'Ariccia
I'm trying somethnig like this, i have to call https servlet that should
response with an xml that i have to parse!
I'm sorry but this is just my third post in this ML! :)
Tnx!


%@ taglib uri=http://jakarta.apache.org/taglibs/xtags-1.0; prefix=xtags
%
%@ taglib uri=http://jakarta.apache.org/taglibs/io-1.0; prefix=io %
htmlbody

 xtags:parse id=docByURL3

 io:http url=https://myurl; action=POST

 io:param name=brand value=epg/
 io:param . /
 io:param . /
 io:param . /
 io:param . /
 io:param . /

 /io:http

 /xtags:parse
 xtags:variable id=normalizedxml3 select=EPAY/


/body/html
- Original Message - 
From: Martin van Dijken [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 11:44 AM
Subject: RE: Calling HTTPS URL with IO


Hey Benedetto,

If you don't get an answer then nobody on the list has a clear concise
answer for you. I'll try to help you though, could you post the code that is
causing trouble?

What you can try is put a portlistener on the https port to see if the
request actually gets there.

Martin

 -Original Message-
 From: Benedetto Dell'Ariccia [mailto:[EMAIL PROTECTED]
 Sent: donderdag 9 oktober 2003 11:38
 To: [EMAIL PROTECTED]
 Subject: Calling HTTPS URL with IO


 I'm still trying to call a HTTPS URL with the IO TAGLIB, no
 logs errors, the browser still waiting untill.

 Can someone help me?

 Benny


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Calling HTTPS URL with IO

2003-10-09 Thread Benedetto Dell'Ariccia
I'm tring this way but it doesn't seems to work, anyway I've just used this
script with HTTP (NO HTTPS) URL and it works correctly!

io:http url=https://www.fineco.it/fineco/PortaleLogin; action=POST
input=true output=true/

Tnx a lot.

- Original Message - 
From: Martin van Dijken [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 11:56 AM
Subject: RE: Calling HTTPS URL with IO


Well, when reading the tags documentation I notice the output= attribute
for the http tag. If that is not set to true, the output is ignored.

Cheers,

Martin

 -Original Message-
 From: Benedetto Dell'Ariccia [mailto:[EMAIL PROTECTED]
 Sent: donderdag 9 oktober 2003 11:49
 To: Tag Libraries Users List
 Subject: Re: Calling HTTPS URL with IO


 I'm trying somethnig like this, i have to call https servlet
 that should
 response with an xml that i have to parse!
 I'm sorry but this is just my third post in this ML! :)
 Tnx!


 %@ taglib uri=http://jakarta.apache.org/taglibs/xtags-1.0;
 prefix=xtags
 %
 %@ taglib uri=http://jakarta.apache.org/taglibs/io-1.0;
 prefix=io %
 htmlbody

  xtags:parse id=docByURL3

  io:http url=https://myurl; action=POST

  io:param name=brand value=epg/
  io:param . /
  io:param . /
  io:param . /
  io:param . /
  io:param . /

  /io:http

  /xtags:parse
  xtags:variable id=normalizedxml3 select=EPAY/


 /body/html
 - Original Message - 
 From: Martin van Dijken [EMAIL PROTECTED]
 To: Tag Libraries Users List [EMAIL PROTECTED]
 Sent: Thursday, October 09, 2003 11:44 AM
 Subject: RE: Calling HTTPS URL with IO


 Hey Benedetto,

 If you don't get an answer then nobody on the list has a clear concise
 answer for you. I'll try to help you though, could you post
 the code that is
 causing trouble?

 What you can try is put a portlistener on the https port to see if the
 request actually gets there.

 Martin

  -Original Message-
  From: Benedetto Dell'Ariccia [mailto:[EMAIL PROTECTED]
  Sent: donderdag 9 oktober 2003 11:38
  To: [EMAIL PROTECTED]
  Subject: Calling HTTPS URL with IO
 
 
  I'm still trying to call a HTTPS URL with the IO TAGLIB, no
  logs errors, the browser still waiting untill.
 
  Can someone help me?
 
  Benny
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Calling HTTPS URL with IO

2003-10-09 Thread Benedetto Dell'Ariccia
I scored
...tnx the same but I solved the problem!

Benny


- Original Message - 
From: Martin van Dijken [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 12:22 PM
Subject: RE: Calling HTTPS URL with IO


Does it output anything at all if you don't put it between xtags?

 -Original Message-
 From: Benedetto Dell'Ariccia [mailto:[EMAIL PROTECTED]
 Sent: donderdag 9 oktober 2003 12:12
 To: Tag Libraries Users List
 Subject: Re: Calling HTTPS URL with IO
 
 
 I'm tring this way but it doesn't seems to work, anyway I've 
 just used this
 script with HTTP (NO HTTPS) URL and it works correctly!
 
 io:http url=https://www.fineco.it/fineco/PortaleLogin; action=POST
 input=true output=true/
 
 Tnx a lot.
 
 - Original Message - 
 From: Martin van Dijken [EMAIL PROTECTED]
 To: Tag Libraries Users List [EMAIL PROTECTED]
 Sent: Thursday, October 09, 2003 11:56 AM
 Subject: RE: Calling HTTPS URL with IO
 
 
 Well, when reading the tags documentation I notice the 
 output= attribute
 for the http tag. If that is not set to true, the output is ignored.
 
 Cheers,
 
 Martin
 
  -Original Message-
  From: Benedetto Dell'Ariccia [mailto:[EMAIL PROTECTED]
  Sent: donderdag 9 oktober 2003 11:49
  To: Tag Libraries Users List
  Subject: Re: Calling HTTPS URL with IO
 
 
  I'm trying somethnig like this, i have to call https servlet
  that should
  response with an xml that i have to parse!
  I'm sorry but this is just my third post in this ML! :)
  Tnx!
 
 
  %@ taglib uri=http://jakarta.apache.org/taglibs/xtags-1.0;
  prefix=xtags
  %
  %@ taglib uri=http://jakarta.apache.org/taglibs/io-1.0;
  prefix=io %
  htmlbody
 
   xtags:parse id=docByURL3
 
   io:http url=https://myurl; action=POST
 
   io:param name=brand value=epg/
   io:param . /
   io:param . /
   io:param . /
   io:param . /
   io:param . /
 
   /io:http
 
   /xtags:parse
   xtags:variable id=normalizedxml3 select=EPAY/
 
 
  /body/html
  - Original Message - 
  From: Martin van Dijken [EMAIL PROTECTED]
  To: Tag Libraries Users List [EMAIL PROTECTED]
  Sent: Thursday, October 09, 2003 11:44 AM
  Subject: RE: Calling HTTPS URL with IO
 
 
  Hey Benedetto,
 
  If you don't get an answer then nobody on the list has a 
 clear concise
  answer for you. I'll try to help you though, could you post
  the code that is
  causing trouble?
 
  What you can try is put a portlistener on the https port to 
 see if the
  request actually gets there.
 
  Martin
 
   -Original Message-
   From: Benedetto Dell'Ariccia [mailto:[EMAIL PROTECTED]
   Sent: donderdag 9 oktober 2003 11:38
   To: [EMAIL PROTECTED]
   Subject: Calling HTTPS URL with IO
  
  
   I'm still trying to call a HTTPS URL with the IO TAGLIB, no
   logs errors, the browser still waiting untill.
  
   Can someone help me?
  
   Benny
  
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: 
 [EMAIL PROTECTED]
 
 
 
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: 
 [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Calling HTTPS URL with IO

2003-10-09 Thread Benedetto Dell'Ariccia
Hi Martin,
I don't know write the code you said if you have a short example I'll be
grateful,
anyway teh problem could be the kind of file that I'm calling, I'm calling a
Servlet,

I tried with other 3 dots URL  and the taglib works correctly!

Benny

- Original Message - 
From: Martin van Dijken [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 1:11 PM
Subject: RE: Calling HTTPS URL with IO


Benny,

 Hi Martin, I think the problem is with URL with 3 dots like
 https://www.xxx.yyy.zz
 but I have not others URLs like this to try, do you know
 others URLs like
 this?

Pfew no, try amazon and some other sites that have a login service which
might go through https.

 How can I know if there is a  bug in the taglib?

Well, If you can create a servlet yourself, in it create a
java.net.HttpUrlConnection. Then call connect, getContent and disconnect. If
this succeeds with your 3-dotted URL, something might be wrong in the
taglib. Otherwise, there is another error, possibly the JDK.

Martin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



https with io taglib

2003-10-08 Thread Benedetto Dell'Ariccia
Is it possible to call a https url with the IO taglib?

Benny