Hi,

I want to capture Probe and Probe Matches width gSOAP, so I compiled the 
WS-Discovery.wsdl from 
http://schemas.xmlsoap.org/ws/2005/04/discovery/ws-discovery.wsdl to get 
the ws-discovery.gsoap. I added some lines to the gSOAP annotated header 
file:

/// Probe

//gsoap wsd  service method-style:      ProbeOp document
//gsoap wsd  service method-encoding:   ProbeOp literal
//gsoap wsd  service method-request-action:     ProbeOp 
$dpws->protocols->wsd_probe_action
//gsoap wsd  service method-action:     ProbeOp ""

int __wsd__ProbeOp(struct wsd__ProbeType *wsd__Probe, void dummy);


/// Probe match

//gsoap wsd  service method-style:      ProbeMatchOp document
//gsoap wsd  service method-encoding:   ProbeMatchOp literal
//gsoap wsd  service method-request-action:     ProbeMatchOp 
$dpws->protocols->wsd_probematches_action
//gsoap wsd  service method-action:     ProbeMatchOp ""

int __wsd__ProbeMatchOp(struct wsd__ProbeMatchesType *wsd__ProbeMatches, 
void dummy);


So, the whole annotated header file is: http://rafb.net/p/ToxsLX69.html

I implemented the two functions, but I didnt get a respone from a 3rd 
party client, who sent a probe... (http://rafb.net/p/YDvlnt16.html)

int __wsd__ProbeMatchOp(struct soap* soap, struct wsd__ProbeMatchesType* 
wsd__ProbeMatches) {
        printf("ProbeMatchOp()");
        return SOAP_OK;
}

int __wsd__ProbeOp(struct soap* soap, struct wsd__ProbeType* wsd__Probe) {
        printf("ProbeOp()");
        return SOAP_OK;
}


The fact is, that soap_serve(...) blocks, but why? What is wrong?

Thx for help...



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gsoap/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/gsoap/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to