[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] a question about Condor SOAP API 'queryStartAds'
- Date: Thu, 29 Jul 2010 23:13:09 -0700
- From: Hui Li <li7hui@xxxxxxxxx>
- Subject: Re: [Condor-users] a question about Condor SOAP API 'queryStartAds'
I resolved this problem. The reason is that schedd and collector are
two daemons with different port.
You can specify their ports in the condor_config file, then specify
the url in the client end code.
On Thu, Jul 29, 2010 at 12:03 PM, Hui Li <li7hui@xxxxxxxxx> wrote:
> Hi Ben,
> I am trying to invoke the SOAP API with C# according to the
> instructions in your blog
> The examples about submitting job with SOAP run well without problem,
> however when I invoke the "collector.queryStartAds(string constrain)"
> function, it throw out the following the error message.
> The Condor version I used is condor-7.4.2-winnt50-x86
> System.web.services.protocoals.soapheaderexception: method '
> queryStartAds' not implemented: method name or namespace not
> at System.web.services.protocols.soaphttpclientprotocol.readresponse(soapClientMessage
> message, webResponse response, stream responseStream, boolean
> at System.web.services.protocols.soaphttpclientprotocol.invoke(string
> methodName, object parameteres)
> at Condor.condorCollector.queryStartAds(String constraint) in
> C:\condor\condor.cs:line 220
> at CondorTest.Condor.Test.Main(String args) in
> C:\condor\CondorTest\Program.cs:line 29
> Could you give me some hints about this problem,
> On Sat, Jul 17, 2010 at 1:22 AM, Burnett, Ben <ben.burnett@xxxxxxxx> wrote:
>> I'll let someone else field the DRMAA questions, I've not had a chance to use it, so I can't comment on it.
>> As far as another API, there is the SOAP interface (or the command line tools). Are you planing on using managed or unmanaged C++ on Windows? If you are using managed C++, then you can use the wsdl.exe tool like so to generate C++ stubs:
>> wsdl /l:Microsoft.MCpp.MCppCodeProvider,MCppCodeDomProvider,Version=7.0.5000.0,Culture=Neutral,PublicKeyToken=b03f5f7f11d50a3a /nologo /sharetypes /namespace:Condor \
>> file:/c:/condor/lib/webservice/condorCollector.wsdl \
>> file:/c:/condor/lib/webservice/condorSchedd.wsdl \
>> For more detail, see here:
>> Otherwise, gSOAP or the Microsoft SOAP Toolkit might fit your needs. The former is still being actively developed, while the latter isn't, but may be structured in a more familiar way, if you are coming from a Windows development background.
>> On 2010-07-16, at 11:12 PM, Hui Li wrote:
>>> Hi All,
>>> I want to make some extension that need submitting job programmably to
>>> Condor cluster run on top of Windows machines. The Condor version I
>>> used is condor-7.4.2-winnt50-x86. There is example about using the
>>> DRMAA lib, however, I found that some source files is not completed
>>> version. For example, there are many "TODO" in the libDrmaa.c file.
>>> Could anybody tell me how to obtain the completed version of DRMAA
>>> source code? Besides, is there some Condor native API that I can used
>>> to submit Condor job with C++ on Windows platform. Any suggestion
>>> will be appreciated!
>>> Condor-users mailing list
>>> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
>>> subject: Unsubscribe
>>> You can also unsubscribe by visiting
>>> The archives can be found at:
>> Condor-users mailing list
>> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
>> subject: Unsubscribe
>> You can also unsubscribe by visiting
>> The archives can be found at:
> Li Hui