The WSDL is at http://cobra:8080/webservice/thorss?wdsl
The end point is at http://cobra:8080/webservice/thorss
When I tried testing using the access libraries I got the following
error:
java.lang.NumberFormatException: For input string: "" and then it lists
a buch of lines in files that I have no control over. But that doesn't
matter because I checked out the SOAP message that is going over the
wire
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:AddPost
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:ActionWebService">
<authorName xsi:type="xsd:string">John Martinson</authorName>
<categoryId href="#id0"/>
<title xsi:type="xsd:string">new Cobra Functionality</title>
<description xsi:type="xsd:string">There are new methods that
have been added to the THorss server</description>
<pubDate
xsi:type="xsd:dateTime">2006-03-29T22:05:14.358Z</pubDate>
<link xsi:type="xsd:string" xsi:nil="true"/>
</ns1:AddPost>
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="xsd:int"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">4</multiRef>
</soapenv:Body></soapenv:Envelope>
I used Axis and I have successfully used, getAllCategories,
AuthorExists and Add Category.
when I try to use AddPost I use the following code:
GregorianCalendar postTime = new GregorianCalendar();
postTime.setTimeInMillis(System.currentTimeMillis());
stub.addPost("John Martinson", 4, "new funtionality", "new methods have
been added", postTime, "http://cobra.byui.edu");
>From what I can tell there is a slight problem in the Axis libraries,
so it would be helpfull if someone could use a different lib. to test
this. In the mean time I will continue to add the rest of the
functionality.