Soap request to a Web Service,
Soap request to a Web Service,
- Subject: Soap request to a Web Service,
- From: Janis Rough <email@hidden>
- Date: Sat, 13 Dec 2008 13:22:15 -0800
- Thread-topic: Soap request to a Web Service,
I wrote the following applescript and will write it in Xcode once I get it
working in applescript.
tell application "http://www.webservicex.net/BibleWebservice.asmx?wsdl"
set returnVaLUE to call soap {method name:"GetBibleWordsbyKeyWord",
parameters:{BibleWords:"Jesus", length:200},
SOAPAction:"http://www.webserviceX.NET/GetBibleWordsbyKeyWord"}
end tell
I'm trying to follow the instructions in the documentation soapXMLRPC.pdf.
I got this error:
http://www.webservicex.net/BibleWebservice.asmx?wsdl got an error:
System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---> System.Data.SqlClient.SqlException: Procedure or function
'GetBibleWordsbyKeyWord' expects parameter '@BibleWords', which was not
supplied.
at WebServicex.BibleWebservice.GetBibleWordsbyKeyWord(String BibleWords)
--- End of inner exception stack trace ---
I tried to give it the parameter BibleWords to look up but it doesn't read
it correctly. Also I don't know what length they are referring to but I'm
assuming it is how long of a result you want.
I have another question how to get it to print the result?
Thanks, I don't know where to go from here.
------------------web service instructions---------------
This is the documentation from the web service:
POST /BibleWebservice.asmx HTTP/1.1
Host: www.webservicex.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.webserviceX.NET/GetBibleWordsbyKeyWord"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetBibleWordsbyKeyWord xmlns="http://www.webserviceX.NET">
<BibleWords>string</BibleWords>
</GetBibleWordsbyKeyWord>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetBibleWordsbyKeyWordResponse xmlns="http://www.webserviceX.NET">
<GetBibleWordsbyKeyWordResult>string</GetBibleWordsbyKeyWordResult>
</GetBibleWordsbyKeyWordResponse>
</soap:Body>
</soap:Envelope>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden