OpenLLM-France/wikimedia huggingface dataset:
# WebObjects/Web Services/Testing Services with Terminal

You can test your services using the telnet feature in Terminal. You'll need to know your service address and basic calls.
Open Terminal and type telnet and your server address and port:
telnet 216.139.xxx.xxx 80
Then quickly paste the following text with your service specifics in place of these generic names:
Of course this is just an example but you can get the idea that with the soap wrapper and proper naming you can user terminal for a soap request. The result will appear in the terminal window as well (showing you if your service works and what it returns).
# WebObjects/Web Services/Web Service Consumer
### SSL WebServices Problems

1. WOWebServiceClient class can't access to a secure HTTP Web service provider (WO 5.2.2):
Problem: The com.webobjects.webservices.client.WOWebServiceClient class just throws exception like this one when it tries to read the WSDL from a secure HTTP Web service provider:
This problem doesn't seem related to self signed certificate, since I've performed tests with trusted certificate as well.

#### Patrick Robinson

That's strange . . .
I had the same problem when I was trying to run both service and client on my development machine (which has only a self-signed cert), and specifying an HTTPS WSDL address. But after adding my cert to /Library/Java/Home/lib/security/cacerts:
everything works fine.
I also had no trouble accessing either the WSDL or the service, via HTTPS, when the service was run on a system with a valid, trusted cert.

#### Francis Labrie

It's finally not a real bug, thanks to PatrickRobinson and to the JAD tool. This exception is typically thrown when the server certificate is not trusted, i.e. the certificate is self-signed and not stored in the Java trusted keystore, or the hostname is not the same on the server and in the certificate, etc.
The problem is that the initializeFromURL method of the com.webobjects.webservices.client.WOWebServiceClient class doesn't wrap and forward the catched exceptions, it only throws IllegalArgumentException with a simple " Unable to open url" or " Unable to create service from url" message, without any details.
To avoid such problem, just relax the Java security manager using code like one described here: How to Trust Any SSL Certificate.

#### to Apple Documentation

http://developer.apple.com/documentation/WebObjects/Web_Services/Web_Services/chapter_4_section_3.html
# WebObjects/Web Services/Integration with WebServicesCore on MacOS-X

This documentation was written by Andrew Lindesay (http://www.lindesay.co.nz) in 2006 as part of supported code in the LEWOStuff framework, but this material has been transcribed here. It was written around the time of WebObjects 5.2 and 5.3 on the 1.4 JVM. WebServicesCore is the framework used in MacOS-X for communications with SOAP services vended on the internet. This page describes some problems that exist at the time of writing with getting WebServicesCore to communicate properly with WebObjects' WebServices framework.

### Multirefs

WebServicesCore does not appear to be able to process the 'multiref' values which are returned from the AXIS engine. To get around this, turn off multiref support in the WebObjects application. To achieve this, locate the server.wsdd file and the element "parameter" with the name "sendMultiRefs". Modify this element to have the value "false".

### Nil Serialisation

This is a very simple deserialiser that can be used to deserialise to nil. Although this may seem less than useful, it proves very useful in the situation where you are using WebServicesCore which is a part of MacOS-X.
The WebServicesCore framework tends to serialise a nil argument as <xyz xsi:type="nil"/>. This is unfortunately missing type and so the SOAP engine is not able to instantiate the correct deserialiser for the type. The correct output would be <xyz xsi:type="xsd:timeInstant" xsi:nil="true"/>, but it appears that it may be difficult to get WebServicesCore to do this.
Regardless of the inbound type however, this serialiser will be able to convert the poorly encoded nil to null in the java environment.
You can use the registerWebServicesCoreNilDeserialiserFactoryForKnownTypes method on the class LEWOWebServicesCoreNilDeserializerFactory to setup easily for common known classes.
# WebObjects/Web Services/Sending Large Data
#### Kristoff Cossement

Soap with mime attachments was indeed the way to go.
Remark: this only works with java 1.4.2_09 (I did not get it working with java 1.5.x)
For those who are interested I included some sample code on how to exchange large binary data between a java client and a webobjects server without taking all data in memory. You also need the java mail and java activation framework from sun.

##### Webobjects Application .java

override dispatchRequest
# Turkish/About this book

In this page, you'll find things that you should know before reading this book.

### Where to start?

First, you can read the introduction, which contains general information about Turkish language. If you don't know anything about Turkish, you should certainly read pronunciation and alphabet pages. You will find pronunciation of the Turkish letters and vowel and consonant harmonies (all of which you should definitely know in order to adapt suffixes to the words) in that pages.

### Navigation

You can navigate in this book by using the navigation boxes on the top and the bottom of all pages, and also using the TOC box on bottom of every page. You will be gradually taught new vocabulary and grammar in each lesson on the Lessons section. You can use Grammar section as a reference.

### Pronunciation

Turkish language is like Spanish. Each letter has a specific pronunciation so if you learn them very well, you won't have any problems in pronouncing any Turkish word. Thus IPA symbols are used only in lessons explaining pronunciations of the letters, there is no need for them elsewhere, words are generally pronounced as they are written. I said "generally" because, in everyday life, due to fast speaking, some letters are not pronounced or pronounced differently. These pronunciation differences are shown between / and / next to the word. For example, the phrase "ne haber" means "what's up". But Turkish people don't pronounce this word as "ne haber", instead they say "naber" with a long "a" (and also they write naber when chatting on Facebook, MSN etc.). This pronunciation difference is shown as Ne haber? /naber/.

### Other notes

In Turkish, suffixes change according to the vowel harmony and consonant harmony rules. Changeable letters in suffixes are written in red to help the reader. this color is used to emphasize something other than changeable letters. You will see explanation for suffixes (what are they used for etc.) and translations of the Turkish words used in this book by hovering your mouse over them. For example, to see the Turkish translation of this word, hover your mouse pointer over it: ev
* For example –dir is a Turkish suffix, d and i are in red because these letters can change according to the word this suffix will be added to.
** kalem + –dir → kalemdir
** kitap + –dir → kitaptır
** sakız + –dir → sakızdır
The rule for doing this change in the suffixes are explained in this book, examples above are just to show how a suffix can change, don't think about it now.
Also,
* In the translations of the Turkish words, phrases or sentences, square brackets indicate words needed in English but not expressed (not needed to be expressed) in Turkish. Parentheses indicate words expressed in Turkish but they are not required in English.

### For those who want to contribute

If you want to contribute, see Contributions to this wikibook
# Turing/Solution 1

While you might try ctr += 1 initially, it will quickly become evident that this is too slow. Through logical reasoning and some experimentation, you should be able to discover that the fractorial of n is a multiple of n.
# Turing/Procedures, functions, and processes

Both computer programmers and mathematicians have quickly learned that with complicated problems, it can become near impossible to try and solve everything at the same time. Instead, we try to reduce the problem that we know how to solve. This can be done easily and efficiently with procedures and functions.
First, let's deal with procedures. When you call a procedure inside a program, it jumps to that procedures, executes the code, and goes back.
Sample procedure code coming soon
You can think of functions like variables that calculate things. They return a value when you call them, so they can be used just like variables. This code should help you understand:
Here is a program that will print a string backwards.
There are actually a couple new things. First, the more simple, is the word decreasing in the for-loop. This tells Turing to decrease by one. As you can see, functions allow us to keep our main program nice and neat. It will become imperative to use functions in larger programs, as they can get very complicated!
If you were wondering what 'token-oriented input' meant, it's just telling Turing NOT to consider space to mean that the next variable is being put in. This allows spaces in the word variable.
Processes are like procedures, except they can run concurrently with other parts of your code. This means that, if you're using a loop, your process won't stop you from doing whatever else you need. This is especially useful in cases like playing music, where you need other code to be able to run while the music is playing.
Processes are used similarly to procedures; however, one must replace the word procedure with process. Additionally, processes cannot be started by simply calling them. You must prefix the process name with the command fork.
← Data files · Arrays, flexible arrays →
# Turkish/Animals

This article is a large list of animal names in Turkish. The colon (:) is used to indicate long vowels in this list, as in Fa:re, which is pronounced /faːɾɛ/. Any other alterations are also shown in parantheses.

## Mammals (Memeliler)

| English Name | Turkish Name |
| Human | İnsan |
| Dog | Köpek |
| Cat | Kedi |
| Cow | İnek |
| Goat | Keçi |
| Sheep | Koyun |
| Pig | Domuz |
| Horse | At |
| Donkey | Eşek (Colloquially: Eşşek) |
| Mule | Katır |
| Hog | Yaban Domuzu |
| Bear | Ayı |
| Wolf | Kurt (Kurdu) |
| Lion | Aslan |
| Tiger | Kaplan |
| Skunk | Kokarca |
| Weasel | Gelincik |
| Fox | Tilki |
| Elephant | Fil |
| Giraffe | Zürafa (Züra:fa:) |
| Deer | Geyik |
| Monkey | Maymun |
| Hippopotamus | Su Aygırı |
| Seal | Fok |
| Walrus | Mors |
| Dolphin | Yunus |
| Whale | Balina |
| Bat | Yarasa |
| Mouse | Fare (Fa:re) |
| Rat | Sıçan |
| Hedgehog | Kirpi |
| Mole | Köstebek |
| Rabbit | Tavşan |
| Platypus | Ornitorenk (Ornitorengi) |
| Squirrel | Sincap (Sincabı) |
| Beaver | Kunduz |

## Birds (Kuşlar)

| English Name | Turkish Name |
| Chicken | Tavuk |
| Turkey | Hindi |
| Duck | Ördek |
| Goose | Kaz |
| Swan | Kuğu |
| Parrot | Papağan |
| Pigeon | Güvercin |
| Dove | Kumru |
| Gull | Martı |
| Crow | Karga |
| Owl | Baykuş |
| Canary | Kanarya |
| Sparrow | Serçe |
| Ostrich | Devekuşu |
| Hawk | Şahin (Şa:hin) |
| Vulture | Akbaba |
| Pheasant | Sülün |
| Quail | Bıldırcın |
| Partridge | Keklik |

## Fish (Balıklar)

| English Name | Turkish Name |
| Fish | Balık |
| Shark | Köpek balığı |
| Trout | Alabalık |
| Bluefish | Lüfer |

## Reptiles and Amphibians (Sürüngenler ve Amfibiler)

| English Name | Turkish Name |
| Turtle | Kaplumbağa |
| Lizard | Kertenkele |
| Snake | Yılan |
| Crocodile | Timsah |
| Frog | Kurbağa |
# Turkish/Are you busy today?

...or, in Turkish: Siz bugün meşgul müsünüz? What are you doing tonight? in Turkish Bu akşam ne yapıyorsunuz?
# Turing/Loops

Loops are things that keep on repeating and repeating until you tell it to stop. There are two types of loops that we'll be learning: for-loops and regular loops.
For-loops increase the value of an integer i (or anything else) by a given amount (default: 1), until it has reached its upper limit.
That's all there is to it! Whatever's in the middle will be executed each time the loop is run. This program will print all numbers from 1 to 10.
Now there are a few things you may have noticed. Firstly, we haven't declared i. Actually, you're not supposed to declare for-loop variables. In fact, if you do, then it won't work!
What if we want to print all multiples of 5 between 1 and 103?
Excellent! You're now a for-loop guru! Loops are pretty simple, and the syntax is almost the same. So why would you want to use normal loops instead of for-loops? For-loops are used when you know how many times to repeat it. However, sometimes the amount of times you repeat depends on how many lines there are in a text file. More often, you'll want a program to loop until the user tells you to exit. This is what we'll be doing.
That's pretty self explanatory. We're getting a string from the user, and if the string is exit, then we exit. Turing is a very easy program to use, and it avoids complicated syntax, which becomes handy in cases like this; 'exit when' means exactly that, you exit when the following case is true.
← If statements, cases · Data files →
# Turing/Questions

* Ask your own question here

## Question 1: Fractorials

A fractorial is very similar to a factorial. A fractorial of a n means that 1 to n over that number is a whole number.
For example, 5 fractorial is 60, because 1/60 + 2/60 + 3/60 + 4/60 + 5/60 is a whole number.
Write a program that will find the fractorial of any given number. It should ideally get input from a data file. Sample input will be given, and your program should not take over 2 minutes per result. Solution
# The Lyrics of Henry VIII/Ough warder mount (Unattributed, Incipit)

[ff. 46$^v$-47$^r$]
Ough warder mount

## Textual Commentary

“Ough warder mount” appears as an incipit in H, complete for voices one, three, and four but as “Ough warder” for the second. There is no room left for large initial block capitals, except for that which appears for the fourth voice (the first and third voices have small initial capitals, and the second has a standard height capital). The piece is listed in the manuscript’s table of contents as the thirty-seventh work.
The same piece appears in LR58 (f. 54$^r$), similarly without text, and in many continental examples. Below, according to Stevens (MCH8 34), is a full text for the work, from Das Liederbuch des Arnt von Aich (Bournoulli and Moser, eds., 36).
O werder mund won dir ist wund mein hertzen grund solt ich und kunt wunschen die stund 5 die mir glück gunt und dich entzund auch des verbund das ich gnad fund bei dir so wurd mein hertz gesund 10
Wann ich beger auf erd nit mer dann deiner ler darduch dein er vor allem gfer 15 versichert wer nun bitt ich ker dich zu mir her wen mir mein schwer kein sach mir höher freud geber. 20
Darum schrei ich gar hertziglich zu dir und sprich verlass nit mich ich hoff in dich 25 und nimmer brich das selb ansich des klaffers stich an mir nit rich all welt sunst lieber von mir wich.
Stevens (MCH8 105n42, after Lenaerts 61) also lists the following shorter text:
O waerde mont, ghy macht ghezont tot alderstont Als ic by u macht wezen zo sou ic al ghenezen
“Ough warder mount” is reprinted in Stevens (MCH8 34, 105n42), Bournoulli and Moser (eds. 36), and Lenaerts (61), among others.

## Textual Notes
### Texts Collated

H$^{1,2,3,4}$ (ff. 46$^v$–47$^r$).
    1 mount] omit H$^2$
# The Lyrics of Henry VIII/My thought oppressed my mynd in trouble (Unattributed)

[ff. 116$^v$-120$^r$]
My thought oppressed my mynd in trouble my body languisshyng my hart in payn my Ioyes dysteres my sorows dowble my lyffe as one that dye wold fayne my nyes for sorow salt ters doth rayne. 5 thus do I lyue in gret heuenes withowte hope or comfort of redresse.
My hope frome me is clene exiled exiled for euer which is my payne my payne with hope hath me begyled 10 begyled am I and can not refrayne refrayne I must yet in dysdayne in dysdayn I shall my lyfe endure endure alas withowt hope of recure.
Oftyme for death for soth I call 15 in releasse of my gret smert for death ys endart principall of all the sorowes within my hart a payne it is hens to depart yet my lyfe is to me so greuus 20 that deth is plesur and nothyng noyus
Thus may ye se my wofull chance my chance contrarious from all plesure from all plesure to gret penance of penance and payne I am right sure 25 riygt suere to haue no good auenture good auenture in me to haue place nay nay for why ther ys no space

## Textual Commentary

Akin to Fayrfax and Woodville’s “Svmwhat musyng” (H 73), this lyric is a lament, outlining in great detail the anguish of the speaker’s pain. As with the manner in which this song is presented (as noted above), the poetic style (especially the method in the second and fourth stanzas) is remniscent of the lyrics extant in the earlier Fayrfax MS (LFay).
    5 nyes Eyes.
    11 without hope of recure Without hope of remedy; cf. the unattributed “What remedy what remedy” (H 69.11).
    17 endart principall The principal “ender” (as suggested by textual variants in the second and third voices) or terminator.
    21 noyus Causing annoyance, vexatious, troublesome (OED “noyous” a).
    22 my wofull chance Cf. Fayrfax and Woodville’s “Svmwhat musyng” (H 73.12).
    26 auenture Fortune, chance.
The unattributed “My thought oppressed my mynd in trouble” is through-set, in its entirety, in three voices. As with “I loue vnloued suche is myn aduenture” (H 74), and as noted by Stevens (M&P 422), the manner in which this the song is presented is reminiscent of the lyrics extant in the earlier Fayrfax MS (LFay).
This piece is indexed in Robbins Index & Suppl. 2272.5, Boffey, and Ringler MS TM1074. It is reprinted in Flügel Anglia 253–54, Stevens M&P 422, and Stevens MCH8 86–89.

## Textual Notes
### Texts Collated

H$^{1,2,3}$ (ff. 116$^v$–120$^r$).
    3 dowble] dowbbe H$^1$, dowlle H$^2$, dowble H$^3$
    5 ters] tees H$^1$, ters H$^{2,3}$; doth] do H$^3$
    7 of] off H$^{1,2}$, of H$^3$; redresse.]
    9 exiled] exilide H$^1$, exiled H$^2$, exiled H$^3$
    10 begyled] begyled hath me be giled H$^1$, by giled ~ H$^2$, bygyled ~ be gyled H$^3$
    13 omit H$^3$
    16 off] off H$^1$, of H$^{2,3}$
    17 endart] endar H$^2$, thender H$^3$
    18 all the] all H$^3$
    19 hens to] to H$^2$; depart] depart hens to depart H$^2$
    20 is] it H$^1$, is H$^{2,3}$
    23 chance] wofull chance H$^2$, channce H$^3$
    26 no good] no goode H$^2$, good H$^3$
    27 good] no good H$^2$
# The Lyrics of Henry VIII/Now (Unattributed)

[f. 98$^r$]
Now

## Textual Commentary

This piece is only one word, presumably enough to give rise in the mind to the rest of the lyric, though there is little room left among the musical notation for text. “Now” is not listed in the manuscript’s table of contents, and follows a blank, though ruled, page. It does not begin with a block capital typical of the first letter of most lyrics, nor has the scribe left space for lyrics, save the word which is present. Stevens supplies further words for this from Robbins’ Secular Lyrics #138 (Stevens MCH8 72):
freshe flower, to me that is so bright, Of your lovely womanhood I pray you of grace, Of your fair beauty I pray you a sight That my great mourning may come to solace.
One may also wish to consider other possibilities for the full text of this piece, such as the departure song “Now fayre wele my Joye my comfort and solace” (Oxford Bodleian 120 ff. 95$^{r–v}$; see Robbins Index & Suppl. 766 and Ringler MS TM1098), a lyric which itself has some echoes in this manuscript, such as in Cornish’s “Adew adew my hartis lust” (H 13).
“Now” is indexed in Ringler MS TM1092. It is reprinted in Stevens M&P 417 and Stevens MCH8 72.
# The Lyrics of Henry VIII/O my hart and o my hart, Henry VIII

[ff. 22$^v$-23$^r$]
The Kyng H. viij.
| Early Modern English | Modern English |
| O my hart and o my hart | Oh my heart, and oh my heart, |
| my hart it is so sore | My heart it is so sore |
| sens I must nedys from my loue depart | Since I must from my love depart |
| and know no cause wherefore | And know no cause wherefore. |

## Commentary

This piece is a lyric of departure: the lover regretfully leaves his lady, not fully understanding the reasons for his leaving. The Henry VIII Manuscript presents “O my hart and o my hart” in three voices, each in full and with text-height block capitals at the outset. Extra rules are given on both the verso and recto sheets. The lyric appears to have been copied once, in an early sixteenth-century hand, on the final page (gg4$^v$) of Caxton’s edition of Jacobus de Voragine’s Legenda Aurea (PBLe; trans. and pr. 1493; Huntington Printed Book 69798; Pollard/STC 24875).
“O my hart and o my hart” is indexed in Robbins Index & Suppl. 2531.5, Boffey, Ringler MS TM1218, and Crum O715. The piece is reprinted in Chappell Account 374, Flügel Anglia 232, Trefusis 9, Stevens M&P 390, and Stevens MCH8 17.

## Textual Notes
### Texts Collated

H$^{1,2,3}$ (ff. 22$^v$–23$^r$), PBLe (gg4$^v$).
    2 it] that PBLe
    3 sens] sytt PBLe; I] that I PBLe; nedys] omit PBLe
# The Lyrics of Henry VIII/MAdame damours (Unattributed)

[ff. 73$^v$-74$^r$]
MAdame damours all tymes or ours from dole dolours or lorde you gy in all socours 5 vnto my pours to be as yours vnytl I dye vntyll I dye vntyll I dye. 10
And make you sure no creatur shall me solur. Nor yet reayne. but to endure 15 ye may be sure. Whyls lyf endur loyall and playne.

## Textual Commentary

“MAdame damours” is a lyric wherein the lover pledges constancy to his lady. The lines “from dole dolours / or lorde you gy” (ll. 3–4) suggests that this may be a song about or to Katherine of Aragon, who (in the courtly love tradition) would guide her lord, the king, as his lady.
    1 damours D’amour, of love.
    2 or Are.
    3 dolours Mental pain or suffering, sorrow, grief, distress (OED 2).
    4 or Our. lord you gy See commentary, above. gy Guide.
    5 socours Helps, aids (OED “succour” n 1).
    6 pours Powers.
    13 solur Solace.
The unattributed “MAdame damours” is through-set in four voices for the first stanza. The text for the third voice contains only the first line, and the second stanza is underlaid below the second voice on f. 73$^v$.
This piece is indexed in Robbins Index & Suppl. 2028.5, Boffey, and Ringler MS TM965. Reprinted in Flügel Anglia 247, Padelford xxxiii, Stevens M&P 412, and Stevens MCH8 53.

## Textual Notes
### Texts Collated

H$^{1,2,3,4}$ (ff. 73$^v$–74$^r$, ll. 1–10 H$^{2,4}$, l. 1 H$^3$).
    2–10 omit H$^3$
    3 from dole] dole H$^1$, from dole H$^2$, frome dole H$^4$
# The Lyrics of Henry VIII/Pray we to god that all may gyde (Unattributed)

[f. 103$^r$]
Pray we to god that all may gyde that for or kyng so to provid to send hym power to hys corage he may acheffe this gret viage. now let vs syngg this rownd all thre 5 sent george graunt hym the victory.

## Textual Commentary

“Pray we to god that all may gyde” is a prayer for victory in France (1513). “ENglond be glad pluk vp thy lusty hart” (H 64), which precedes this lyric, is of the same occasion; see the commentary to that lyric.
    2 or Our.
    3 corage Boldness, bravery, and valour; see Henry’s “The tyme of youthe is to be spent” (H 19.10, note).
    4 viage Voyage, a journey, task, or expedition undertaken with a military purpose (OED “voyage” n 2).
The unattributed “Pray we to god that all may gyde” is transcribed here as a round.
The piece is indexed in Robbins Index & Suppl. 2766.8 and Ringler MS TM1335. It is reprinted in Chappell Account 383, Flügel Anglia 250, Flügel Neuengl 161, Stevens M&P 418, and Stevens MCH8 75.

## Textual Notes
### Texts Collated

H$^1$ (f. 103$^r$).
    [7] omit pray H$^1$