Re: ogojogi->job->set

Christoph Guse <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
Hi murphee,

here what my network sniffer recorded:
POST /RPC2 HTTP/1.1

Content-Length: 221

Content-Type: text/xml

Authorization: Basic Y2hyaXN0b3BoZ3VzZTprYW5pa2E=

Cache-Control: no-cache

Pragma: no-cache

User-Agent: Java/1.4.2_06

Host: 192.168.0.2

Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2

Connection: keep-alive



<?xml version="1.0" 
encoding="UTF-8"?><methodCall><methodName>jobs.getJobs</methodName><params><param><value><array><data><value>skyrix://linux.flex/linux/17870</value></data></array></value></param></params></methodCall>HTTP/1.1 
200 OK

Date: Tue, 09 Nov 2004 08:35:37 GMT

Server: Apache/2.0.48 (Linux/SuSE)

content-type: text/xml

content-length: 1353

Keep-Alive: timeout=15, max=100

Connection: Keep-Alive



<?xml 
version='1.0'?><methodResponse><params><param><value><array><data><value><struct><member><name>id</name><value><string>skyrix://linux.flex/linux/17870</string></value></member><member><name>isTeamJob</name><value><boolean>0</boolean></value></member><member><name>name</name><value><string>Testjob</string></value></member><member><name>startDate</name><value><dateTime.iso8601 
timeZone="GMT">20041025T00:00:00</dateTime.iso8601></value></member><member><name>endDate</name><value><dateTime.iso8601 
timeZone="GMT">20041031T00:00:00</dateTime.iso8601></value></member><member><name>status</name><value><string>20_processing</string></value></member><member><name>priority</name><value><int>3</int></value></member><member><name>creator</name><value><struct><member><name>id</name><value><string>skyrix://linux.flex/linux/10620</string></value></member><member><name>login</name><value><string>christophguse</string></value></member></struct></value></member><member><name>executor</name><value><struct><member><name>id</name><value><string>skyrix://linux.flex/linux/10620</string></value></member><member><name>login</name><value><string>christophguse</string></value></member></struct></value></member><member><name>objectVersion</name><value><int>11</int></value></member></struct></value></data></array></value></param></params></methodResponse>POST 
/RPC2 HTTP/1.1

Content-Length: 1237

Content-Type: text/xml

Authorization: Basic Y2hyaXN0b3BoZ3VzZTprYW5pa2E=

Cache-Control: no-cache

Pragma: no-cache

User-Agent: Java/1.4.2_06

Host: 192.168.0.2

Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2

Connection: keep-alive



<?xml version="1.0" 
encoding="UTF-8"?><methodCall><methodName>jobs.update</methodName><params><param><value><struct><member><name>status</name><value>20_processing</value></member><member><name>creator</name><value><struct><member><name>login</name><value>christophguse</value></member><member><name>id</name><value>skyrix://linux.flex/linux/10620</value></member></struct></value></member><member><name>id</name><value>skyrix://linux.flex/linux/17870</value></member><member><name>startDate</name><value><dateTime.iso8601>20041025T00:00:00</dateTime.iso8601></value></member><member><name>endDate</name><value><dateTime.iso8601>20041031T00:00:00</dateTime.iso8601></value></member><member><name>name</name><value>Kanika 
mal wieder so richtig 
knutschen</value></member><member><name>executor</name><value><struct><member><name>login</name><value>christophguse</value></member><member><name>id</name><value>skyrix://linux.flex/linux/10620</value></member></struct></value></member><member><name>isTeamJob</name><value><boolean>0</boolean></value></member><member><name>priority</name><value><int>3</int></value></member><member><name>objectVersion</name><value><int>11</int></value></member></struct></value></param></params></methodCall>HTTP/1.1 
200 OK

Date: Tue, 09 Nov 2004 08:35:40 GMT

Server: Apache/2.0.48 (Linux/SuSE)

content-type: text/xml

content-length: 276

Keep-Alive: timeout=15, max=99

Connection: Keep-Alive



<?xml 
version='1.0'?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>0</int></value></member><member><name>faultString</name><value><string>NoSuchAction: 
action not 
implemented</string></value></member></struct></value></fault></methodResponse>

I'm not a pro in these things but for me it seems the Ogo server has a 
problem. Will that mean for me I have to upgrade Ogo? What about the 
XML-RPC guys? They should know, don't they?

Greets
Christoph

murphee (Werner Schuster) wrote:

> Christoph Guse wrote:
>
>> Hi list,
>>
>> I have difficulties with the ogojogi package. When I use get methods 
>> like job.getName() everything works fine. But when I try to use 
>> job.setName(String name) I get the failure 
>> org.opengroupware.jogi.ogo.OgoException: NoSuchAction: action not 
>> implemented .
>
>
> OgoExceptions are problems that get reported from the OGO Server, this 
> means that this "action not implemented" is sent by OGO.
> Could you use a network sniffer to see what gets transfered over the 
> network? So you can see whether this message is transfered
> over the net from OGO.
> Otherwise, could you post the full Stacktrace of JOGI ?  You might 
> also look at the log output that OGO generates.
>

-- 
****************************************
 Christoph Guse
 Zimmer 33510
 Hubertusstraße 149
 41239 Mönchengladbach
 Tel.  0 21 66 / 14 52 59
 Mobil 01 72 / 160 74 84
****************************************

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.