|
Re: NuSOAP server description page: msg#00054php.nusoap.general
soap_server::webDescription spits out a bunch of HTML/JavaScript. I believe the loop below displays SOAPAction and Endpoint (as well as other information about each operation). The scheme (http) in SOAPAction does not need to match the scheme (https) of the request. SOAPAction is an abstract URI: it does not specify the location of a physical resource. As such, the default construction that uses http is fine. If you don't want that scheme, you can specify SOAPAction when you call soap_server::register. The endpoint of each operation is set to the "endpoint" for the wsdl instance when wsdl::addOperation is called. The endpoint for the wsdl instance is set in soap_server::configureWSDL. foreach($this->wsdl->getOperations() as $op => $data){ $b .= "<li><a href='#' onclick=\"popup('$op')\">$op</a></li>"; // create hidden div $b .= "<div id='$op' class='hidden'> <a href='#' onclick='popout()'><font color='#ffffff'>Close</font></a><br><br>"; foreach($data as $donnie => $marie){ // loop through opdata if($donnie == 'input' || $donnie == 'output'){ // show input/output data $b .= "<font color='white'>".ucfirst($donnie).':</font><br>'; foreach($marie as $captain => $tenille){ // loop through data if($captain == 'parts'){ // loop thru parts $b .= " $captain:<br>"; //if(is_array($tenille)){ foreach($tenille as $joanie => $chachi){ $b .= " $joanie: $chachi<br>"; } //} } else { $b .= " $captain: $tenille<br>"; } } } else { $b .= "<font color='white'>".ucfirst($donnie).":</font> $marie<br>"; } } $b .= '</div>'; } Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Larry Brown" <lbrown@xxxxxx> To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, April 14, 2004 4:10 PM Subject: [Nusoap-general] NuSOAP server description page I submitted a problem several weeks ago where my server is https only and the wsdl was directing the client to attempt to connect on http. At the time I hacked it and placed the static name of my web page in that variable including the https. That worked and the functionality of the server has been working fine. I noticed today that if you go to the server from the browser and you examine all of the functions, they describe the Endpoint and SoapAction as going to http and not https. How can I circumvent that? I've grepped all of the php class files without any hit on Endpoint so at least the titles must be coming from some other location. Suggestions? Larry ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nusoap-general mailing list Nusoap-general@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/nusoap-general ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | NuSOAP server description page: 00054, Larry Brown |
|---|---|
| Next by Date: | Re: Re: abstract type using noose causing error: 00054, Scott Nichol |
| Previous by Thread: | NuSOAP server description pagei: 00054, Larry Brown |
| Next by Thread: | No Elemnt Arrays and Complex DataType: 00054, ihernandez |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |