Web Services and VisualWorks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Web Services and VisualWorks

Oleg Richards
Hello Guys!

I have a problem with connecting to following web service:  http://
www.cbr.ru/DailyInfoWebServ/DailyInfo.asmx
Debugger shows me that problem in converting string to byte array in  
net http class.
As i can understand it expects OneByteString and get TwoByteString,  
because this web service contains stupid documentation
with russian characters. I've tried to modify method for reading  
stream, but another error occuries - can't find tag close bracket  '>'.

I am using the latest non-commercial VisualWorks. I hope that there  
are more experienced smalltalkers, who can try to connect to
this web service and solve problem.

Best regards, Oleg
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Web Services and VisualWorks

Kogan, Tamara
How did you try to connect?
The Http client in 75 works for me:
r := HttpClient get: 'http://www.cbr.ru/DailyInfoWebServ/DailyInfo.asmx'
r contents


Tamara Kogan
Smalltalk development,
Cincom Systems

> -----Original Message-----
> From: [hidden email] [mailto:seaside-
> [hidden email]] On Behalf Of Oleg Richards
> Sent: Tuesday, September 11, 2007 3:05 PM
> To: [hidden email]
> Subject: [Seaside] Web Services and VisualWorks
>
> Hello Guys!
>
> I have a problem with connecting to following web service:  http://
> www.cbr.ru/DailyInfoWebServ/DailyInfo.asmx
> Debugger shows me that problem in converting string to byte array in
> net http class.
> As i can understand it expects OneByteString and get TwoByteString,
> because this web service contains stupid documentation
> with russian characters. I've tried to modify method for reading
> stream, but another error occuries - can't find tag close bracket
'>'.

>
> I am using the latest non-commercial VisualWorks. I hope that there
> are more experienced smalltalkers, who can try to connect to
> this web service and solve problem.
>
> Best regards, Oleg
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside